diff --git a/.grype.yaml b/.grype.yaml index d0b36ed..b953c58 100644 --- a/.grype.yaml +++ b/.grype.yaml @@ -60,6 +60,14 @@ ignore: # Remove this entry as soon as a patched braces is published and picked up by the lockfiles. - vulnerability: GHSA-vfj7-8cjw-p6xm + # source-map-js 1.2.1 (GHSA-68fv-2mgg-jv7q, High, published 2026-09-18): event-loop DoS through + # indexed source-map section offsets in untrusted source maps. Reached only through postcss and + # sass inside the Angular CLI build (ui/), which parses our own sources at build time; nothing of + # it is deployed. The fix, 1.2.2, exists (published 2026-09-30) but the repo's .npmrc + # (min-release-age=7) quarantines it until 2026-10-07. Accepted until then — bump and remove this + # entry per #348. + - vulnerability: GHSA-68fv-2mgg-jv7q + # Registry configuration (if needed for private registries) # registry: # auth: diff --git a/schemas/ForestrySource/v1.1.0/README.md b/schemas/ForestrySource/v1.1.0/README.md index baa5ffd..8a13ab0 100644 --- a/schemas/ForestrySource/v1.1.0/README.md +++ b/schemas/ForestrySource/v1.1.0/README.md @@ -13,6 +13,16 @@ Normative reference: _EUDR Information System — Operator API Reference_, DG EN The API describes the percentage as an estimate or deviation, so rendering uses neutral wording and does not add an automatic `±` sign. +## Geometry (harvest units) + +Normative reference for this section: the EUDR Information System's _GeoJSON description_ and _validation rules_ (Operator API Reference v1.2). Applied in place in v1.1.0 (material-identity/schemas#327, #336): + +- `Feature.geometry` accepts `Point`, `Polygon`, `MultiPolygon` and `GeometryCollection`; `MultiPolygon` is also accepted as a `GeometryCollection` member. GIS exports of tenures and cutting permits routinely produce `MultiPolygon`. +- Every linear ring has at least 4 positions (RFC 7946 §3.1.6). Ring closure (first position equal to the last) is required by RFC 7946 and by TRACES but cannot be expressed in JSON Schema; it is not enforced here. +- A `Point` is accepted by TRACES only for plots of at most 4 ha. A `Feature` whose geometry is a `Point` therefore requires `properties.Area` in hectares, between 0.0001 and 4. Larger plots are described as `Polygon` or `MultiPolygon`. The rule applies to the feature's own geometry, not to points inside a `GeometryCollection`. +- `properties.ProducerCountry` stays optional in v1.1.0 for backwards compatibility with published certificates. The EUDR Information System requires it per feature on upload, and the EU-minimum families (ForestrySourceEU, ForestryOutputEU) require it in the schema; the platform UI enforces it for v1.1.0. +- The geometry definitions (`Coordinates`, `PolygonCoordinates`, `Point`, `Polygon`, `MultiPolygon`, `GeometryCollection`, `Feature`, `Location`) are one shared block. `test/shared/forestry-geometry-block.json` holds the canonical text and `test/forestry-source-v1.1.spec.js` asserts that this schema matches it; the EU families join that assertion when they are published. + Regenerate the reference PDFs with: ```sh diff --git a/schemas/ForestrySource/v1.1.0/schema.json b/schemas/ForestrySource/v1.1.0/schema.json index 09ddfa0..166c5b5 100644 --- a/schemas/ForestrySource/v1.1.0/schema.json +++ b/schemas/ForestrySource/v1.1.0/schema.json @@ -302,12 +302,13 @@ }, "PolygonCoordinates": { "type": "array", + "description": "Array of linear rings (RFC 7946 §3.1.6): the first ring is the exterior boundary, any further rings are holes. Each ring has at least 4 positions and must be closed (first position equal to the last); closure is not enforced by this schema.", "items": { "type": "array", "items": { "$ref": "#/definitions/Coordinates" }, - "minItems": 3 + "minItems": 4 }, "minItems": 1 }, @@ -338,6 +339,26 @@ }, "required": ["type", "coordinates"] }, + "MultiPolygon": { + "type": "object", + "description": "A MultiPolygon geometry (RFC 7946 §3.1.7): one plot made of several polygons, as GIS exports of tenures and cutting permits commonly produce.", + "properties": { + "type": { + "type": "string", + "enum": ["MultiPolygon"] + }, + "coordinates": { + "type": "array", + "description": "One PolygonCoordinates entry per member polygon.", + "items": { + "$ref": "#/definitions/PolygonCoordinates" + }, + "minItems": 1 + } + }, + "required": ["type", "coordinates"], + "additionalProperties": false + }, "GeometryCollection": { "type": "object", "description": "A collection of geometry objects", @@ -355,6 +376,9 @@ }, { "$ref": "#/definitions/Polygon" + }, + { + "$ref": "#/definitions/MultiPolygon" } ] }, @@ -386,6 +410,7 @@ }, "Area": { "type": "number", + "description": "Plot area in hectares. Required when the geometry is a Point: the EUDR Information System accepts a Point only for plots of at most 4 ha (minimum 0.0001 ha); larger plots must be described by a Polygon or MultiPolygon.", "minimum": 0 }, "Name": { @@ -401,13 +426,48 @@ { "$ref": "#/definitions/Polygon" }, + { + "$ref": "#/definitions/MultiPolygon" + }, { "$ref": "#/definitions/GeometryCollection" } ] } }, - "required": ["type", "geometry"] + "required": ["type", "geometry"], + "if": { + "type": "object", + "properties": { + "geometry": { + "type": "object", + "properties": { + "type": { + "const": "Point" + } + }, + "required": ["type"] + } + }, + "required": ["geometry"] + }, + "then": { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "Area": { + "type": "number", + "minimum": 0.0001, + "maximum": 4 + } + }, + "required": ["Area"] + } + }, + "required": ["properties"] + } }, "Location": { "type": "object", diff --git a/src/test/java/com/materialidentity/schemaservice/ForestrySourceV110SchemaTest.java b/src/test/java/com/materialidentity/schemaservice/ForestrySourceV110SchemaTest.java index 56a34b2..e135eab 100644 --- a/src/test/java/com/materialidentity/schemaservice/ForestrySourceV110SchemaTest.java +++ b/src/test/java/com/materialidentity/schemaservice/ForestrySourceV110SchemaTest.java @@ -78,6 +78,48 @@ void requiresAtLeastOneMeasurement() throws Exception { assertInvalid(withMeasurements("{}")); } + private static final String RING = + "[[10.0,50.0],[10.02,50.0],[10.02,50.02],[10.0,50.02],[10.0,50.0]]"; + + @Test + void acceptsMultiPolygonAsFeatureGeometryAndAsCollectionMember() throws Exception { + assertValid(withFeature("{\"type\":\"MultiPolygon\",\"coordinates\":[[" + RING + "],[" + RING + "]]}", + "{\"Name\":\"Plot\"}")); + assertValid(withFeature( + "{\"type\":\"GeometryCollection\",\"geometries\":[{\"type\":\"Point\",\"coordinates\":[10.0,50.0]}," + + "{\"type\":\"MultiPolygon\",\"coordinates\":[[" + RING + "]]}]}", + "{\"Name\":\"Plot\"}")); + assertInvalid(withFeature("{\"type\":\"MultiPolygon\",\"coordinates\":[]}", "{\"Name\":\"Plot\"}")); + } + + @Test + void requiresAtLeastFourPositionsPerRing() throws Exception { + String threePositions = "[[10.0,50.0],[10.02,50.0],[10.0,50.0]]"; + assertInvalid(withFeature("{\"type\":\"Polygon\",\"coordinates\":[" + threePositions + "]}", + "{\"Name\":\"Plot\"}")); + assertInvalid(withFeature("{\"type\":\"MultiPolygon\",\"coordinates\":[[" + threePositions + "]]}", + "{\"Name\":\"Plot\"}")); + } + + @Test + void requiresAreaOfAtMostFourHectaresForPointPlots() throws Exception { + String point = "{\"type\":\"Point\",\"coordinates\":[10.0,50.0]}"; + assertValid(withFeature(point, "{\"Name\":\"Plot\",\"Area\":3.5}")); + assertValid(withFeature(point, "{\"Name\":\"Plot\",\"Area\":4}")); + assertInvalid(withFeature(point, "{\"Name\":\"Plot\"}")); + assertInvalid(withFeature(point, "{\"Name\":\"Plot\",\"Area\":0}")); + assertInvalid(withFeature(point, "{\"Name\":\"Plot\",\"Area\":4.5}")); + assertValid(withFeature("{\"type\":\"Polygon\",\"coordinates\":[" + RING + "]}", "{\"Name\":\"Plot\"}")); + } + + private static JsonNode withFeature(String geometryJson, String propertiesJson) throws Exception { + JsonNode certificate = baseCertificate.deepCopy(); + ObjectNode feature = (ObjectNode) certificate.at("/DigitalMaterialPassport/HarvestUnits/0/features/0"); + feature.set("geometry", OBJECT_MAPPER.readTree(geometryJson)); + feature.set("properties", OBJECT_MAPPER.readTree(propertiesJson)); + return certificate; + } + private static JsonNode withMeasurements(String measurementsJson) throws Exception { JsonNode certificate = baseCertificate.deepCopy(); ObjectNode species = (ObjectNode) certificate.at("/DigitalMaterialPassport/Products/0/ListOfSpecies/0"); diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.json b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.json index e04582c..ceea645 100644 --- a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.json +++ b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.json @@ -23,7 +23,8 @@ { "type": "Feature", "properties": { - "Name": "Harvest Unit 1" + "Name": "Harvest Unit 1", + "Area": 3.5 }, "geometry": { "type": "Point", diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.pdf b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.pdf index 2e2cb59..b308b18 100644 Binary files a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.pdf and b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_01.pdf differ diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_02.json b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_02.json index 7adee4b..2414999 100644 --- a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_02.json +++ b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_02.json @@ -33,8 +33,16 @@ "Name": "Harvest Unit 1" }, "geometry": { - "type": "Point", - "coordinates": [-125.3320128, 50.123282] + "type": "Polygon", + "coordinates": [ + [ + [-125.3357928, 50.120852], + [-125.3282328, 50.120852], + [-125.3282328, 50.125712], + [-125.3357928, 50.125712], + [-125.3357928, 50.120852] + ] + ] } }, { diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_03.json b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_03.json index 2a30e37..4145334 100644 --- a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_03.json +++ b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_03.json @@ -33,8 +33,16 @@ "Name": "Harvest Unit 1" }, "geometry": { - "type": "Point", - "coordinates": [-125.3320128, 50.123282] + "type": "Polygon", + "coordinates": [ + [ + [-125.3357928, 50.120852], + [-125.3282328, 50.120852], + [-125.3282328, 50.125712], + [-125.3357928, 50.125712], + [-125.3357928, 50.120852] + ] + ] } }, { diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_06.json b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_06.json index f53741a..a7f51f6 100644 --- a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_06.json +++ b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_06.json @@ -93,6 +93,29 @@ { "type": "Point", "coordinates": [117.550, 0.750] + }, + { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [117.620, 0.700], + [117.660, 0.700], + [117.660, 0.740], + [117.620, 0.740], + [117.620, 0.700] + ] + ], + [ + [ + [117.620, 0.760], + [117.650, 0.760], + [117.650, 0.800], + [117.620, 0.800], + [117.620, 0.760] + ] + ] + ] } ] } diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_08.json b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_08.json index 2fdddb8..6955b37 100644 --- a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_08.json +++ b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_08.json @@ -29,8 +29,27 @@ "Name": "Mixed Species Production Unit" }, "geometry": { - "type": "Point", - "coordinates": [-123.0351, 44.9778] + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [-123.0461, 44.97], + [-123.0241, 44.97], + [-123.0241, 44.9856], + [-123.0461, 44.9856], + [-123.0461, 44.97] + ] + ], + [ + [ + [-123.0129, 44.9723], + [-122.9973, 44.9723], + [-122.9973, 44.9833], + [-123.0129, 44.9833], + [-123.0129, 44.9723] + ] + ] + ] } } ] diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.json b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.json index e23a999..f7dd3ec 100644 --- a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.json +++ b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.json @@ -23,7 +23,8 @@ { "type": "Feature", "properties": { - "Name": "Harvest Unit 1" + "Name": "Harvest Unit 1", + "Area": 2.75 }, "geometry": { "type": "Point", diff --git a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.pdf b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.pdf index 8fbf1b8..8a7a663 100644 Binary files a/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.pdf and b/test/fixtures/ForestrySource/v1.1.0/valid_forestry_source_DMP_09.pdf differ diff --git a/test/forestry-source-v1.1.spec.js b/test/forestry-source-v1.1.spec.js index 2250538..287bd11 100644 --- a/test/forestry-source-v1.1.spec.js +++ b/test/forestry-source-v1.1.spec.js @@ -155,6 +155,124 @@ describe('ForestrySource v1.1.0 supplementary quantities', () => { ); }); +describe('ForestrySource v1.1.0 harvest-unit geometry', () => { + const geometryBlock = require('./shared/forestry-geometry-block.json'); + const square = (lon, lat, half) => [ + [lon - half, lat - half], + [lon + half, lat - half], + [lon + half, lat + half], + [lon - half, lat + half], + [lon - half, lat - half], + ]; + + function certificateWithFeature(geometry, properties = { Name: 'Plot' }) { + const certificate = structuredClone(baseCertificate); + certificate.DigitalMaterialPassport.HarvestUnits = [ + { + type: 'FeatureCollection', + features: [{ type: 'Feature', properties, geometry }], + }, + ]; + return certificate; + } + + test('matches the shared geometry block definition for definition', () => { + Object.entries(geometryBlock).forEach(([name, definition]) => { + expect(schema.definitions[name]).toEqual(definition); + }); + }); + + test('accepts a MultiPolygon feature', () => { + expectValidation( + certificateWithFeature({ + type: 'MultiPolygon', + coordinates: [[square(10, 50, 0.01)], [square(10.05, 50, 0.01)]], + }), + true + ); + }); + + test('accepts a MultiPolygon inside a GeometryCollection', () => { + expectValidation( + certificateWithFeature({ + type: 'GeometryCollection', + geometries: [ + { type: 'Point', coordinates: [10, 50] }, + { type: 'MultiPolygon', coordinates: [[square(10, 50, 0.01)]] }, + ], + }), + true + ); + }); + + test('rejects a MultiPolygon with empty coordinates', () => { + expectValidation( + certificateWithFeature({ type: 'MultiPolygon', coordinates: [] }), + false + ); + }); + + test.each(['Polygon', 'MultiPolygon'])( + 'rejects a %s ring with only 3 positions', + (type) => { + const ring = square(10, 50, 0.01).slice(0, 3); + const coordinates = type === 'Polygon' ? [ring] : [[ring]]; + expectValidation(certificateWithFeature({ type, coordinates }), false); + } + ); + + test.each([0.0001, 3.5, 4])( + 'accepts a Point plot with Area %s ha', + (Area) => { + expectValidation( + certificateWithFeature( + { type: 'Point', coordinates: [10, 50] }, + { Name: 'Small plot', Area } + ), + true + ); + } + ); + + test('rejects a Point plot without Area', () => { + expectValidation( + certificateWithFeature({ type: 'Point', coordinates: [10, 50] }), + false + ); + }); + + test.each([0, 4.0001, 29.3])( + 'rejects a Point plot with Area %s ha', + (Area) => { + expectValidation( + certificateWithFeature( + { type: 'Point', coordinates: [10, 50] }, + { Name: 'Too large for a point', Area } + ), + false + ); + } + ); + + test('does not require Area for a Polygon', () => { + expectValidation( + certificateWithFeature({ + type: 'Polygon', + coordinates: [square(10, 50, 0.01)], + }), + true + ); + }); + + test('keeps ProducerCountry optional', () => { + const certificate = certificateWithFeature( + { type: 'Polygon', coordinates: [square(10, 50, 0.01)] }, + { Name: 'No producer country' } + ); + expectValidation(certificate, true); + }); +}); + describe('ForestrySource v1.1.0 scientific-name components', () => { test('accepts a 200-character serialized boundary without a 100/100 split', () => { const atLimit = structuredClone(baseCertificate); diff --git a/test/shared/forestry-geometry-block.json b/test/shared/forestry-geometry-block.json new file mode 100644 index 0000000..118012f --- /dev/null +++ b/test/shared/forestry-geometry-block.json @@ -0,0 +1,209 @@ +{ + "Coordinates": { + "type": "array", + "items": [ + { + "type": "number", + "minimum": -180, + "maximum": 180, + "description": "Longitude" + }, + { + "type": "number", + "minimum": -90, + "maximum": 90, + "description": "Latitude" + } + ], + "minItems": 2, + "maxItems": 2, + "additionalItems": false + }, + "PolygonCoordinates": { + "type": "array", + "description": "Array of linear rings (RFC 7946 §3.1.6): the first ring is the exterior boundary, any further rings are holes. Each ring has at least 4 positions and must be closed (first position equal to the last); closure is not enforced by this schema.", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/Coordinates" + }, + "minItems": 4 + }, + "minItems": 1 + }, + "Point": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["Point"] + }, + "coordinates": { + "$ref": "#/definitions/Coordinates" + } + }, + "required": ["type", "coordinates"], + "additionalProperties": false + }, + "Polygon": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["Polygon"] + }, + "coordinates": { + "$ref": "#/definitions/PolygonCoordinates" + } + }, + "required": ["type", "coordinates"] + }, + "MultiPolygon": { + "type": "object", + "description": "A MultiPolygon geometry (RFC 7946 §3.1.7): one plot made of several polygons, as GIS exports of tenures and cutting permits commonly produce.", + "properties": { + "type": { + "type": "string", + "enum": ["MultiPolygon"] + }, + "coordinates": { + "type": "array", + "description": "One PolygonCoordinates entry per member polygon.", + "items": { + "$ref": "#/definitions/PolygonCoordinates" + }, + "minItems": 1 + } + }, + "required": ["type", "coordinates"], + "additionalProperties": false + }, + "GeometryCollection": { + "type": "object", + "description": "A collection of geometry objects", + "properties": { + "type": { + "type": "string", + "enum": ["GeometryCollection"] + }, + "geometries": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Point" + }, + { + "$ref": "#/definitions/Polygon" + }, + { + "$ref": "#/definitions/MultiPolygon" + } + ] + }, + "minItems": 1 + } + }, + "required": ["type", "geometries"] + }, + "Feature": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["Feature"] + }, + "properties": { + "type": "object", + "properties": { + "ProducerName": { + "type": "string" + }, + "ProducerCountry": { + "type": "string", + "minLength": 2, + "maxLength": 2 + }, + "ProductionPlace": { + "type": "string" + }, + "Area": { + "type": "number", + "description": "Plot area in hectares. Required when the geometry is a Point: the EUDR Information System accepts a Point only for plots of at most 4 ha (minimum 0.0001 ha); larger plots must be described by a Polygon or MultiPolygon.", + "minimum": 0 + }, + "Name": { + "type": "string" + } + } + }, + "geometry": { + "oneOf": [ + { + "$ref": "#/definitions/Point" + }, + { + "$ref": "#/definitions/Polygon" + }, + { + "$ref": "#/definitions/MultiPolygon" + }, + { + "$ref": "#/definitions/GeometryCollection" + } + ] + } + }, + "required": ["type", "geometry"], + "if": { + "type": "object", + "properties": { + "geometry": { + "type": "object", + "properties": { + "type": { + "const": "Point" + } + }, + "required": ["type"] + } + }, + "required": ["geometry"] + }, + "then": { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "Area": { + "type": "number", + "minimum": 0.0001, + "maximum": 4 + } + }, + "required": ["Area"] + } + }, + "required": ["properties"] + } + }, + "Location": { + "type": "object", + "description": "A harvesting location defined using GeoJSON FeatureCollection", + "properties": { + "type": { + "type": "string", + "enum": ["FeatureCollection"] + }, + "features": { + "type": "array", + "items": { + "$ref": "#/definitions/Feature" + }, + "minItems": 1 + } + }, + "required": ["type", "features"] + } +} diff --git a/ui/package-lock.json b/ui/package-lock.json index bffff5e..7c29dbf 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -11245,24 +11245,10 @@ "postcss": "^8.2.14" } }, - "node_modules/postcss-nested/node_modules/postcss-selector-parser": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz", - "integrity": "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==", - "license": "MIT", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/postcss-selector-parser": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.4.tgz", - "integrity": "sha512-HeP7D2wyhkR+XaK6v4W8oRF62Dsz4flyuczALJp61GckGm42u1saSSJ/0auvcBqxs3jMRFEcPK34At/0JBKdOg==", - "dev": true, + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", + "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", "license": "MIT", "dependencies": { "cssesc": "^3.0.0", @@ -12794,19 +12780,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/tailwindcss/node_modules/postcss-selector-parser": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz", - "integrity": "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==", - "license": "MIT", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/tailwindcss/node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", diff --git a/ui/package.json b/ui/package.json index 926cc89..dd28876 100644 --- a/ui/package.json +++ b/ui/package.json @@ -42,7 +42,8 @@ "immutable": "5.1.9", "body-parser": "1.20.6", "nanoid": "3.3.18", - "brace-expansion": "2.1.4" + "brace-expansion": "2.1.4", + "postcss-selector-parser": "7.1.6" }, "devDependencies": { "@angular-devkit/build-angular": "19.2.23",