diff --git a/.github/bin/license/allowed.mjs b/.github/bin/license/allowed.mjs index 41f8597f2..e3014d7e9 100644 --- a/.github/bin/license/allowed.mjs +++ b/.github/bin/license/allowed.mjs @@ -148,33 +148,15 @@ export const osiApprovedWithCCO = [ ]; const licenseExceptions = [ - { - // because ... irony? 🤷 - file: 'node_modules/spdx-exceptions/package.json', - license: 'CC-BY-3.0', - }, { // see : https://github.com/Fyrd/caniuse/issues/4062 file: 'node_modules/caniuse-lite/package.json', license: 'CC-BY-4.0', }, - - // These packages have "public domain" in the "license" field, which is incorrect but acceptable for our purposes. - { - file: 'node_modules/deep-freeze/package.json', - license: 'public', - }, - { - file: 'node_modules/deep-freeze/package.json', - license: 'domain', - }, - { - file: 'node_modules/identity-function/package.json', - license: 'public', - }, { - file: 'node_modules/identity-function/package.json', - license: 'domain', + // https://github.com/typescript-eslint/typescript-eslint/pull/10481 + file: 'node_modules/@typescript-eslint/parser/package.json', + license: 'MITClause', }, ]; diff --git a/package-lock.json b/package-lock.json index 12f1d266f..b32815e06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2639,9 +2639,9 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", "dev": true, "license": "MIT", "dependencies": { @@ -2703,9 +2703,9 @@ } }, "node_modules/@microsoft/api-documenter": { - "version": "7.26.1", - "resolved": "https://registry.npmjs.org/@microsoft/api-documenter/-/api-documenter-7.26.1.tgz", - "integrity": "sha512-flh7iPXsA3hzn03iXQYLiq7dvhTiBagGjmf7lvTNGABjWAKJez7ABI5T7+1jzbXjF3Luy1LFzugecXz9tMBavw==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@microsoft/api-documenter/-/api-documenter-7.26.2.tgz", + "integrity": "sha512-NLKxqMiRN9j7AnCqrNOzRvQMRNQ97Trx9sjLLIh/REgEA2dJrAGRQ390BbVn0+5bnI29F/esvdzca/2cFikTAg==", "dev": true, "license": "MIT", "dependencies": { @@ -2891,16 +2891,16 @@ } }, "node_modules/@puppeteer/browsers": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.5.0.tgz", - "integrity": "sha512-6TQAc/5uRILE6deixJ1CR8rXyTbzXIXNgO1D0Woi9Bqicz2FV5iKP3BHYEg6o4UATCMcbQQ0jbmeaOkn/HQk2w==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.6.1.tgz", + "integrity": "sha512-aBSREisdsGH890S2rQqK82qmQYU3uFpSH8wcZWHgHzl3LfzsxAKbLNiAG9mO8v1Y0UICBeClICxPJvyr0rcuxg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "debug": "^4.3.7", + "debug": "^4.4.0", "extract-zip": "^2.0.1", "progress": "^2.0.3", - "proxy-agent": "^6.4.0", + "proxy-agent": "^6.5.0", "semver": "^7.6.3", "tar-fs": "^3.0.6", "unbzip2-stream": "^1.4.3", @@ -3535,9 +3535,9 @@ } }, "node_modules/@stryker-mutator/api": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@stryker-mutator/api/-/api-8.7.0.tgz", - "integrity": "sha512-zTw/9BC8jPzDmJTj3lyQSWEl3KJ1+zb13OZsdR+ry1QHtC2azc7B2mJPfPOACVCr3gQw8w8YjBRQUW+pN1gGWw==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/@stryker-mutator/api/-/api-8.7.1.tgz", + "integrity": "sha512-56vxcVxIfW0jxJhr7HB9Zx6Xr5/M95RG9MUK1DtbQhlmQesjpfBBsrPLOPzBJaITPH/vOYykuJ69vgSAMccQyw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -3558,16 +3558,16 @@ "license": "0BSD" }, "node_modules/@stryker-mutator/core": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@stryker-mutator/core/-/core-8.7.0.tgz", - "integrity": "sha512-AQ24MUiVBA152LhG865uH6ThreZwAnBomOgb+pcTKYBkR1x1EO14JzUDItt0j39fAxlzodTU3qQE93pEmXZpxA==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/@stryker-mutator/core/-/core-8.7.1.tgz", + "integrity": "sha512-r2AwhHWkHq6yEe5U8mAzPSWewULbv9YMabLHRzLjZnjj+Ipxtg+Zo22rrUc2Zl7mnYvb9w34bdlEzGz6MKgX2g==", "dev": true, "license": "Apache-2.0", "dependencies": { "@inquirer/prompts": "^6.0.0", - "@stryker-mutator/api": "8.7.0", - "@stryker-mutator/instrumenter": "8.7.0", - "@stryker-mutator/util": "8.7.0", + "@stryker-mutator/api": "8.7.1", + "@stryker-mutator/instrumenter": "8.7.1", + "@stryker-mutator/util": "8.7.1", "ajv": "~8.17.1", "chalk": "~5.3.0", "commander": "~12.1.0", @@ -3671,9 +3671,9 @@ "license": "0BSD" }, "node_modules/@stryker-mutator/instrumenter": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@stryker-mutator/instrumenter/-/instrumenter-8.7.0.tgz", - "integrity": "sha512-eLV0zZEr+czVAswCevsVNcXJZ/SpJsOvhWSD084iWNUDUtCIkXZmlj/TpsMn1LioCl9xZvjjcxFnskX11U2VIg==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/@stryker-mutator/instrumenter/-/instrumenter-8.7.1.tgz", + "integrity": "sha512-HSq4VHXesQCMR3hr6bn41DAeJ0yuP2vp9KSnls2TySNawFVWOCaKXpBX29Skj3zJQh7dnm7HuQg8HuXvJK15oA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -3683,8 +3683,8 @@ "@babel/plugin-proposal-decorators": "~7.24.7", "@babel/plugin-proposal-explicit-resource-management": "^7.24.7", "@babel/preset-typescript": "~7.24.7", - "@stryker-mutator/api": "8.7.0", - "@stryker-mutator/util": "8.7.0", + "@stryker-mutator/api": "8.7.1", + "@stryker-mutator/util": "8.7.1", "angular-html-parser": "~6.0.2", "semver": "~7.6.3", "weapon-regex": "~1.3.2" @@ -3780,9 +3780,9 @@ } }, "node_modules/@stryker-mutator/util": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/@stryker-mutator/util/-/util-8.7.0.tgz", - "integrity": "sha512-h93j89Kioo57+6rZcd2jY7sCF8+QW4stWPjrs6kxq7MFHPx1bTuowUhdh82PJlFR5IZNEIbSh8kHAE8Gd8PLpw==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/@stryker-mutator/util/-/util-8.7.1.tgz", + "integrity": "sha512-Oj/sIHZI1GLfGOHKnud4Gw0ZRufm7ONoQYNnhcaAYEXTWraYVcV7mue/th8fZComTHvDPA8Ge8U16FvWYEb8dg==", "dev": true, "license": "Apache-2.0" }, @@ -3825,9 +3825,9 @@ } }, "node_modules/@types/node": { - "version": "22.10.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz", - "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==", + "version": "22.10.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", + "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3860,17 +3860,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.17.0.tgz", - "integrity": "sha512-HU1KAdW3Tt8zQkdvNoIijfWDMvdSweFYm4hWh+KwhPstv+sCmWb89hCIP8msFm9N1R/ooh9honpSuvqKWlYy3w==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.0.tgz", + "integrity": "sha512-NR2yS7qUqCL7AIxdJUQf2MKKNDVNaig/dEB0GBLU7D+ZdHgK1NoH/3wsgO3OnPVipn51tG3MAwaODEGil70WEw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/type-utils": "8.17.0", - "@typescript-eslint/utils": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", + "@typescript-eslint/scope-manager": "8.18.0", + "@typescript-eslint/type-utils": "8.18.0", + "@typescript-eslint/utils": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -3885,25 +3885,21 @@ }, "peerDependencies": { "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.17.0.tgz", - "integrity": "sha512-Drp39TXuUlD49F7ilHHCG7TTg8IkA+hxCuULdmzWYICxGXvDXmDmWEjJYZQYgf6l/TFfYNE167m7isnc3xlIEg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.0.tgz", + "integrity": "sha512-hgUZ3kTEpVzKaK3uNibExUYm6SKKOmTU2BOxBSvOYwtJEPdVQ70kZJpPjstlnhCHcuc2WGfSbpKlb/69ttyN5Q==", "dev": true, - "license": "BSD-2-Clause", + "license": "MITClause", "dependencies": { - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/typescript-estree": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", + "@typescript-eslint/scope-manager": "8.18.0", + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/typescript-estree": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0", "debug": "^4.3.4" }, "engines": { @@ -3914,23 +3910,19 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.17.0.tgz", - "integrity": "sha512-/ewp4XjvnxaREtqsZjF4Mfn078RD/9GmiEAtTeLQ7yFdKnqwTOgRMSvFz4et9U5RiJQ15WTGXPLj89zGusvxBg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.0.tgz", + "integrity": "sha512-PNGcHop0jkK2WVYGotk/hxj+UFLhXtGPiGtiaWgVBVP1jhMoMCHlTyJA+hEj4rszoSdLTK3fN4oOatrL0Cp+Xw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0" + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3941,14 +3933,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.17.0.tgz", - "integrity": "sha512-q38llWJYPd63rRnJ6wY/ZQqIzPrBCkPdpIsaCfkR3Q4t3p6sb422zougfad4TFW9+ElIFLVDzWGiGAfbb/v2qw==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.0.tgz", + "integrity": "sha512-er224jRepVAVLnMF2Q7MZJCq5CsdH2oqjP4dT7K6ij09Kyd+R21r7UVJrF0buMVdZS5QRhDzpvzAxHxabQadow==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.17.0", - "@typescript-eslint/utils": "8.17.0", + "@typescript-eslint/typescript-estree": "8.18.0", + "@typescript-eslint/utils": "8.18.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -3960,18 +3952,14 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/types": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.17.0.tgz", - "integrity": "sha512-gY2TVzeve3z6crqh2Ic7Cr+CAv6pfb0Egee7J5UAVWCpVvDI/F71wNfolIim4FE6hT15EbpZFVUj9j5i38jYXA==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.0.tgz", + "integrity": "sha512-FNYxgyTCAnFwTrzpBGq+zrnoTO4x0c1CKYY5MuUTzpScqmY5fmsh2o3+57lqdI3NZucBDCzDgdEbIaNfAjAHQA==", "dev": true, "license": "MIT", "engines": { @@ -3983,14 +3971,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.17.0.tgz", - "integrity": "sha512-JqkOopc1nRKZpX+opvKqnM3XUlM7LpFMD0lYxTqOTKQfCWAmxw45e3qlOCsEqEB2yuacujivudOFpCnqkBDNMw==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.0.tgz", + "integrity": "sha512-rqQgFRu6yPkauz+ms3nQpohwejS8bvgbPyIDq13cgEDbkXt4LH4OkDMT0/fN1RUtzG8e8AKJyDBoocuQh8qNeg==", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/visitor-keys": "8.18.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -4005,10 +3993,8 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { @@ -4051,16 +4037,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.17.0.tgz", - "integrity": "sha512-bQC8BnEkxqG8HBGKwG9wXlZqg37RKSMY7v/X8VEWD8JG2JuTHuNK0VFvMPMUKQcbk6B+tf05k+4AShAEtCtJ/w==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.0.tgz", + "integrity": "sha512-p6GLdY383i7h5b0Qrfbix3Vc3+J2k6QWw6UMUeY5JGfm3C5LbZ4QIZzJNoNOfgyRe0uuYKjvVOsO/jD4SJO+xg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/typescript-estree": "8.17.0" + "@typescript-eslint/scope-manager": "8.18.0", + "@typescript-eslint/types": "8.18.0", + "@typescript-eslint/typescript-estree": "8.18.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4070,22 +4056,18 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.17.0.tgz", - "integrity": "sha512-1Hm7THLpO6ww5QU6H/Qp+AusUUl+z/CAm3cNZZ0jQvon9yicgO7Rwd+/WWRpMKLYV6p2UvdbR27c86rzCPpreg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.0.tgz", + "integrity": "sha512-pCh/qEA8Lb1wVIqNvBke8UaRjJ6wrAWkJO5yyIbs8Yx6TNGYyfNjOo61tLv+WwLvoLPp4BQ8B7AHKijl8NGUfw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.17.0", + "@typescript-eslint/types": "8.18.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -4097,13 +4079,13 @@ } }, "node_modules/@webref/css": { - "version": "6.17.5", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.17.5.tgz", - "integrity": "sha512-5DGRIMChcxpYukzLaIlJRrvhsOKgmp9gFsMBwRpXrUSDgls4k719vaXel9FKdBNN4GZd5kelx84ptFCdSShyiA==", + "version": "6.17.6", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.17.6.tgz", + "integrity": "sha512-DAGOI5KT1mjHzcW5k/tgaHoBhGSRvHUmj/1NU5hrLN4UowMRwg7l/KQk8auAP9k6NmoJsGtzZiYrB63Em2b4nA==", "dev": true, "license": "MIT", "peerDependencies": { - "css-tree": "^2.3.1" + "css-tree": "^3.1.0" } }, "node_modules/acorn": { @@ -4435,14 +4417,14 @@ } }, "node_modules/bare-stream": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.4.2.tgz", - "integrity": "sha512-XZ4ln/KV4KT+PXdIWTKjsLY+quqCaEtqqtgGJVPw9AoM73By03ij64YjepK0aQvHSWDb6AfAZwqKaFu68qkrdA==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.1.tgz", + "integrity": "sha512-eVZbtKM+4uehzrsj49KtCy3Pbg7kO1pJ3SKZ1SFrIH/0pnj9scuGGgUlNDf/7qS8WKtGdiJY5Kyhs/ivYPTB/g==", "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { - "streamx": "^2.20.0" + "streamx": "^2.21.0" } }, "node_modules/base64-js": { @@ -4607,6 +4589,23 @@ "node": ">= 0.4" } }, + "node_modules/call-bound": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.2.tgz", + "integrity": "sha512-0lk0PHFe/uz0vl527fG9CgdE9WdafjDbCXvBbs+LUv000TVt2Jjhqbs4Jwm8gz070w8xXyEAxrPOMullsxXeGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.8", + "get-intrinsic": "^1.2.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -4618,9 +4617,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001687", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001687.tgz", - "integrity": "sha512-0S/FDhf4ZiqrTUiQ39dKeUjYRjkv7lOZU1Dgif2rIqrTzX/1wV2hfKu9TOm1IHkdSijfLswxTFzl/cvir+SLSQ==", + "version": "1.0.30001688", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001688.tgz", + "integrity": "sha512-Nmqpru91cuABu/DTCXbM2NSRHzM2uVHfPnhJ/1zEAJx/ILBRVmz3pzH4N7DZqbdG0gWClsCC05Oj0mJ/1AWMbA==", "funding": [ { "type": "opencollective", @@ -4672,6 +4671,16 @@ "devtools-protocol": "*" } }, + "node_modules/chromium-bidi/node_modules/zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -4893,21 +4902,6 @@ "link": true }, "node_modules/css-tree": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", - "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdn-data": "2.0.30", - "source-map-js": "^1.0.1" - }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" - } - }, - "node_modules/css-tree-3": { - "name": "css-tree", "version": "3.1.0", "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", @@ -4921,20 +4915,13 @@ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" } }, - "node_modules/css-tree-3/node_modules/mdn-data": { + "node_modules/css-tree/node_modules/mdn-data": { "version": "2.12.2", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", "dev": true, "license": "CC0-1.0" }, - "node_modules/css-tree/node_modules/mdn-data": { - "version": "2.0.30", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", - "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", - "dev": true, - "license": "CC0-1.0" - }, "node_modules/cssdb": { "version": "8.2.3", "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-8.2.3.tgz", @@ -5122,9 +5109,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.71", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.71.tgz", - "integrity": "sha512-dB68l59BI75W1BUGVTAEJy45CEVuEGy9qPVVQ8pnHyHMn36PLPPoE1mjLH+lo9rKulO3HC2OhbACI/8tCqJBcA==", + "version": "1.5.73", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.73.tgz", + "integrity": "sha512-8wGNxG9tAG5KhGd3eeA0o6ixhiNdgr0DcHWm85XPCphwZgD1lIEoi6t3VERayWao7SF7AAZTw6oARGJeVjH8Kg==", "license": "ISC" }, "node_modules/emoji-regex": { @@ -5198,6 +5185,19 @@ "node": ">= 0.4" } }, + "node_modules/es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", @@ -5840,20 +5840,22 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.5.tgz", - "integrity": "sha512-Y4+pKa7XeRUPWFNvOOYHkRYrfzW07oraURSvjDmRVOJ748OrVmeXtpE4+GCEHncjCjkTxPNRt8kEbxDhsn6VTg==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.6.tgz", + "integrity": "sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==", "dev": true, "license": "MIT", "dependencies": { - "call-bind-apply-helpers": "^1.0.0", + "call-bind-apply-helpers": "^1.0.1", "dunder-proto": "^1.0.0", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", "function-bind": "^1.1.2", "gopd": "^1.2.0", "has-symbols": "^1.1.0", - "hasown": "^2.0.2" + "hasown": "^2.0.2", + "math-intrinsics": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -6434,9 +6436,9 @@ "license": "MIT" }, "node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, "license": "MIT", "bin": { @@ -6518,9 +6520,9 @@ } }, "node_modules/knip": { - "version": "5.39.2", - "resolved": "https://registry.npmjs.org/knip/-/knip-5.39.2.tgz", - "integrity": "sha512-BuvuWRllLWV/r2G4m9ggNH+DZ6gouP/dhtJPXVlMbWNF++w9/EfrF6k2g7YBKCwjzCC+PXmYtpH8S2t8RjnY4Q==", + "version": "5.40.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-5.40.0.tgz", + "integrity": "sha512-EzBfQDz4YBzYnMLueWnaaVr15mneqZs1c3RanttciuVuRcodlNjzAmR2nch/khlRdVABAxAdMGFxfSvhvcH1NA==", "dev": true, "funding": [ { @@ -6690,15 +6692,25 @@ } }, "node_modules/magic-string": { - "version": "0.30.14", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.14.tgz", - "integrity": "sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==", + "version": "0.30.15", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.15.tgz", + "integrity": "sha512-zXeaYRgZ6ldS1RJJUrMrYgNJ4fdwnyI6tVqoiIhyCyv5IVTK9BU8Ic2l253GGETQHxI4HNUwhJ3fjDhKqEoaAw==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } }, + "node_modules/math-intrinsics": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.0.0.tgz", + "integrity": "sha512-4MqMiKP90ybymYvsut0CH2g4XWbfLtmlCkXmtmdcDCxNB+mQcu1w/1+L/VD7vi/PSv7X2JYV7SCcR+jiPXnQtA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/mathml-tag-names": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", @@ -6881,9 +6893,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "license": "MIT" }, "node_modules/normalize-path": { @@ -7592,18 +7604,18 @@ } }, "node_modules/puppeteer": { - "version": "23.10.1", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.10.1.tgz", - "integrity": "sha512-kbcO+vu91fgUyBzEwByPe4q5lEEuBq4cuOZnZeRL42G7r5UrfbUFlxBJayXBLBsD6pREdk/92ZFwFQq3MaN6ww==", + "version": "23.10.4", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.10.4.tgz", + "integrity": "sha512-i0sYIAIjdO9MoRfFqbkoWFnQYZVmNp8msbztTgG46KbOdoYAv4f56MFzdFwtC0lyZHtkP+yl0H7tP0dNg3RQYA==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.5.0", + "@puppeteer/browsers": "2.6.1", "chromium-bidi": "0.8.0", "cosmiconfig": "^9.0.0", "devtools-protocol": "0.0.1367902", - "puppeteer-core": "23.10.1", + "puppeteer-core": "23.10.4", "typed-query-selector": "^2.12.0" }, "bin": { @@ -7614,15 +7626,15 @@ } }, "node_modules/puppeteer-core": { - "version": "23.10.1", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.10.1.tgz", - "integrity": "sha512-ey6NwixHYEUnhCA/uYi7uQQ4a0CZw4k+MatbHXGl5GEzaiRQziYUxc2HGpdQZ/gnh4KQWAKkocyIg1/dIm5d0g==", + "version": "23.10.4", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.10.4.tgz", + "integrity": "sha512-pQAY7+IFAndWDkDodsQGguW1/ifV5OMlGXJDspwtK49Asb7poJZ/V5rXJxVSpq57bWrJasjQBZ1X27z1oWVq4Q==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.5.0", + "@puppeteer/browsers": "2.6.1", "chromium-bidi": "0.8.0", - "debug": "^4.3.7", + "debug": "^4.4.0", "devtools-protocol": "0.0.1367902", "typed-query-selector": "^2.12.0", "ws": "^8.18.0" @@ -7770,6 +7782,19 @@ "regjsparser": "bin/parser" } }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -7992,16 +8017,73 @@ } }, "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -8150,9 +8232,9 @@ "license": "BSD-3-Clause" }, "node_modules/streamx": { - "version": "2.21.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.21.0.tgz", - "integrity": "sha512-Qz6MsDZXJ6ur9u+b+4xCG18TluU7PGlRfXVAAjNiGsFrBUt/ioyLkxbFaKJygoPs+/kW4VyBj0bSj89Qu0IGyg==", + "version": "2.21.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.21.1.tgz", + "integrity": "sha512-PhP9wUnFLa+91CPy3N6tiQsK+gnYyUNuk15S3YG/zjYE7RuPeCjJngqnzpC31ow0lzBHQ+QGO4cNJnd0djYUsw==", "dev": true, "license": "MIT", "dependencies": { @@ -8335,20 +8417,6 @@ "dev": true, "license": "MIT" }, - "node_modules/stylelint/node_modules/css-tree": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", - "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdn-data": "2.12.2", - "source-map-js": "^1.0.1" - }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" - } - }, "node_modules/stylelint/node_modules/file-entry-cache": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-9.1.0.tgz", @@ -8386,13 +8454,6 @@ "node": ">= 4" } }, - "node_modules/stylelint/node_modules/mdn-data": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", - "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", - "dev": true, - "license": "CC0-1.0" - }, "node_modules/stylelint/node_modules/resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", @@ -8713,15 +8774,15 @@ } }, "node_modules/typescript-eslint": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.17.0.tgz", - "integrity": "sha512-409VXvFd/f1br1DCbuKNFqQpXICoTB+V51afcwG1pn1a3Cp92MqAUges3YjwEdQ0cMUoCIodjVDAYzyD8h3SYA==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.18.0.tgz", + "integrity": "sha512-Xq2rRjn6tzVpAyHr3+nmSg1/9k9aIHnJ2iZeOH7cfGOWqTkXTm3kwpQglEuLGdNrYvPF+2gtAs+/KF5rjVo+WQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.17.0", - "@typescript-eslint/parser": "8.17.0", - "@typescript-eslint/utils": "8.17.0" + "@typescript-eslint/eslint-plugin": "8.18.0", + "@typescript-eslint/parser": "8.18.0", + "@typescript-eslint/utils": "8.18.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -8731,12 +8792,8 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/unbzip2-stream": { @@ -9083,9 +9140,9 @@ } }, "node_modules/zod": { - "version": "3.23.8", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", - "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "version": "3.24.1", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.1.tgz", + "integrity": "sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==", "dev": true, "license": "MIT", "funding": { @@ -9251,8 +9308,7 @@ "license": "MIT-0", "devDependencies": { "@webref/css": "^6.17.5", - "css-tree": "^2.3.1", - "css-tree-3": "npm:css-tree@^3.1.0" + "css-tree": "^3.1.0" }, "engines": { "node": ">=18" @@ -9522,7 +9578,7 @@ "css-blank-pseudo": "^7.0.1", "css-has-pseudo": "^7.0.1", "css-prefers-color-scheme": "^10.0.0", - "cssdb": "^8.2.1", + "cssdb": "^8.2.3", "postcss-attribute-case-insensitive": "^7.0.1", "postcss-clamp": "^4.1.0", "postcss-color-functional-notation": "^7.0.6", diff --git a/packages/css-syntax-patches-for-csstree/CHANGELOG.md b/packages/css-syntax-patches-for-csstree/CHANGELOG.md index f72c81e0f..0b4d8f0e2 100644 --- a/packages/css-syntax-patches-for-csstree/CHANGELOG.md +++ b/packages/css-syntax-patches-for-csstree/CHANGELOG.md @@ -1,11 +1,15 @@ # Changes to CSS Syntax Patches For CSSTree +### Unreleased (patch) + +- Update `@webref/css` to [`v6.17.6`](https://github.com/w3c/webref/releases/tag/%40webref%2Fraw-css%406.17.6) + ### 1.0.6 _December 9, 2024_ - Update `csstree` to [`v3.1.0`](https://github.com/csstree/csstree/releases/tag/v3.1.0) -- Update `@webref/css` to [`v6.17.05`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%406.17.5) +- Update `@webref/css` to [`v6.17.5`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%406.17.5) ### 1.0.5 diff --git a/packages/css-syntax-patches-for-csstree/dist/index.json b/packages/css-syntax-patches-for-csstree/dist/index.json index 846045a27..868393205 100644 --- a/packages/css-syntax-patches-for-csstree/dist/index.json +++ b/packages/css-syntax-patches-for-csstree/dist/index.json @@ -433,7 +433,7 @@ "angle-percentage": "[ | ]", "angular-color-stop": " ?", "angular-color-stop-list": " , [ ? , ]#?", - "arc-command": "arc [ [ ] || [ of {1,2} ] || ? || ? || [ rotate ]? ]", + "arc-command": "arc [ && [ of ] && ? && ? && [ rotate ]? ]", "arc-size": "large | small", "arc-sweep": "cw | ccw", "attr-name": "[ [ '|' ]? ]", @@ -452,7 +452,6 @@ "border-width": "thin | medium | thick | ", "bottom": " | auto", "box": "| margin-box | fill-box | stroke-box | view-box", - "by-to": "by | to", "calc-keyword": "e | pi | infinity | -infinity | NaN", "calc-mix()": "calc-mix( , , )", "calc-product": " [ [ '*' | '/' ] ]*", @@ -468,6 +467,7 @@ "color-stripe": " && [ | ]?", "color()": "color( [ from ]? [ / [ | none ] ]? )", "colorspace-params": "[ | | | | ]", + "command-end-point": "[ to | by ]", "compat-special": "textfield | menulist-button", "composite-mode": "clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter", "conic-gradient-syntax": "[ [ [ from ]? [ at ]? ] || ]? , ", @@ -479,6 +479,7 @@ "content-list": "[ | | | contents | | | | | | | | ]+", "content()": "content( [ text | before | after | first-letter | marker ]? )", "contrast-color()": "contrast-color( max? )", + "control-point": "[ | ]", "coord-box": " | view-box", "coordinate-pair": "{2}", "counter-style": " | ", @@ -488,7 +489,7 @@ "css-type": " | ", "cubic-bezier-easing-function": "ease | ease-in | ease-out | ease-in-out | ", "cubic-bezier()": "cubic-bezier( [ , ]#{2} )", - "curve-command": "curve [ using {1,2} ]", + "curve-command": "curve [ [ to && [ with [ / ]? ] ] | [ by && [ with [ / ]? ] ] ]", "custom-arg": "$ ;", "custom-params": " [ | | none ]+", "dasharray": "[ [ | ]+ ]#", @@ -516,10 +517,13 @@ "function-parameter-list": "#", "gradient": "[ | | | | | | <-legacy-gradient> ]", "grid-line": "auto | | [ [ | ] && ? ] | [ span && [ || ] ]", + "horizontal-line-command": "hline [ to [ | left | center | right | x-start | x-end ] | by ]", "hsl()": "[ | ]", "hsla()": "[ | ]", - "hv-line-command": "[ hline | vline ] ", "hwb()": "hwb( [ from ]? [ | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", + "if-condition": "]> | else", + "if-test": "supports( [ | : ] ) | media( ) | style( )", + "if()": "if( [ : ? ; ]* : ? ;? )", "image-1D": "", "image-set-option": "[ | ] [ || type( ) ]?", "image-src": "[ | ]", @@ -540,7 +544,7 @@ "legacy-rgb-syntax": "rgb( #{3} , ? ) | rgb( #{3} , ? )", "legacy-rgba-syntax": "rgba( #{3} , ? ) | rgba( #{3} , ? )", "length-percentage": "[ | ]", - "line-command": "line ", + "line-command": "line ", "line-width": " | thin | medium | thick", "linear-easing-function": "linear | ", "linear-gradient-syntax": "[ [ | to ] || ]? , ", @@ -565,7 +569,7 @@ "modern-hsla-syntax": "hsla( [ from ]? [ | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", "modern-rgb-syntax": "rgb( [ from ]? [ | | none ]{3} [ / [ | none ] ]? )", "modern-rgba-syntax": "rgba( [ from ]? [ | | none ]{3} [ / [ | none ] ]? )", - "move-command": "move ", + "move-command": "move ", "mq-boolean": "", "number-optional-number": " ?", "oklab()": "oklab( [ from ]? [ | | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", @@ -605,6 +609,7 @@ "random()": "random( ? , , , [ by ]? )", "ray()": "ray( [ && ? && contain? && [ at ]? ] )", "referrerpolicy-modifier": "referrerpolicy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )", + "relative-control-point": " [ from [ start | end | origin ] ]?", "repeat-style": "repeat-x | repeat-y | {1,2}", "repeating-conic-gradient()": "repeating-conic-gradient( [ ] )", "repeating-linear-gradient()": "repeating-linear-gradient( [ ] )", @@ -623,10 +628,10 @@ "scroll()": "scroll( [ || ]? )", "shadow": "? && [ {2} ? ? ] && inset?", "shape-box": " | margin-box", - "shape-command": " | | | | | | close", + "shape-command": " | | close | | | | | ", "shape()": "shape( <'fill-rule'>? from , # )", "single-animation-iteration-count": "infinite | ", - "smooth-command": "smooth [ [ ] || [ using ]? ]", + "smooth-command": "smooth [ [ to && [ with ]? ] | [ by && [ with ]? ] ]", "source-size": " | auto", "source-size-list": "#? , ", "source-size-value": " | auto", @@ -666,6 +671,7 @@ "url-set-option": "[ | ] [ || type( ) ]?", "url-set()": "url-set( # )", "url()": "url( * ) | ", + "vertical-line-command": "vline [ to [ | top | center | bottom | y-start | y-end ] | by ]", "wcag2": "wcag2 | wcag2( [ | [ aa | aaa ] && large? ] )", "xyz": "xyz | xyz-d50 | xyz-d65", "xyz-params": " [ | | none ]{3}" diff --git a/packages/css-syntax-patches-for-csstree/package.json b/packages/css-syntax-patches-for-csstree/package.json index 5b4036d46..9d573298f 100644 --- a/packages/css-syntax-patches-for-csstree/package.json +++ b/packages/css-syntax-patches-for-csstree/package.json @@ -40,8 +40,7 @@ }, "devDependencies": { "@webref/css": "^6.17.5", - "css-tree": "^2.3.1", - "css-tree-3": "npm:css-tree@^3.1.0" + "css-tree": "^3.1.0" }, "scripts": { "build": "node ./scripts/index.mjs", diff --git a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json index 75bc66473..9224f6693 100644 --- a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json +++ b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json @@ -207,8 +207,8 @@ "type": "added", "comment": "", "syntax-b": "", - "syntax-a": "arc [ [ ] || [ of {1,2} ] || ? || ? || [ rotate ]? ]", - "syntax-m": "arc [ [ ] || [ of {1,2} ] || ? || ? || [ rotate ]? ]", + "syntax-a": "arc [ && [ of ] && ? && ? && [ rotate ]? ]", + "syntax-m": "arc [ && [ of ] && ? && ? && [ rotate ]? ]", "tests": { "passing": [], "failing": [] @@ -527,17 +527,6 @@ "failing": [] } }, - "by-to": { - "type": "added", - "comment": "", - "syntax-b": "", - "syntax-a": "by | to", - "syntax-m": "by | to", - "tests": { - "passing": [], - "failing": [] - } - }, "calc-keyword": { "type": "added", "comment": "", @@ -749,6 +738,17 @@ ] } }, + "command-end-point": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": "[ to | by ]", + "syntax-m": "[ to | by ]", + "tests": { + "passing": [], + "failing": [] + } + }, "compat-auto": { "type": "modified", "comment": "", @@ -969,6 +969,17 @@ ] } }, + "control-point": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": "[ | ]", + "syntax-m": "[ | ]", + "tests": { + "passing": [], + "failing": [] + } + }, "coord-box": { "type": "modified", "comment": "", @@ -1090,8 +1101,8 @@ "type": "added", "comment": "", "syntax-b": "", - "syntax-a": "curve [ using {1,2} ]", - "syntax-m": "curve [ using {1,2} ]", + "syntax-a": "curve [ [ to && [ with [ / ]? ] ] | [ by && [ with [ / ]? ] ] ]", + "syntax-m": "curve [ [ to && [ with [ / ]? ] ] | [ by && [ with [ / ]? ] ] ]", "tests": { "passing": [], "failing": [] @@ -1439,6 +1450,17 @@ "failing": [] } }, + "horizontal-line-command": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": "hline [ to [ | left | center | right | x-start | x-end ] | by ]", + "syntax-m": "hline [ to [ | left | center | right | x-start | x-end ] | by ]", + "tests": { + "passing": [], + "failing": [] + } + }, "hsl()": { "type": "modified", "comment": "", @@ -1479,17 +1501,6 @@ "failing": [] } }, - "hv-line-command": { - "type": "added", - "comment": "", - "syntax-b": "", - "syntax-a": "[ hline | vline ] ", - "syntax-m": "[ hline | vline ] ", - "tests": { - "passing": [], - "failing": [] - } - }, "hwb()": { "type": "modified", "comment": "", @@ -1535,10 +1546,38 @@ ] } }, + "if-condition": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": "]> | else", + "syntax-m": "]> | else", + "tests": { + "passing": [ + { + "property": "-if-supporting-property", + "value": "if(supports(color: green): green; else: red)" + }, + { + "property": "-if-supporting-property", + "value": "if(media(color): green; else: red)" + } + ], + "failing": [ + { + "property": "-if-supporting-property", + "value": "if(supports(color: green): green; else)" + }, + { + "property": "-if-supporting-property", + "value": "if(color: green: green; else)" + } + ] + } + }, "if-test": { "type": "added", "comment": "", - "omit": true, "syntax-b": "", "syntax-a": "supports( [ | : ] ) | media( ) | style( )", "syntax-m": "supports( [ | : ] ) | media( ) | style( )", @@ -1550,10 +1589,9 @@ "if()": { "type": "added", "comment": "", - "omit": true, "syntax-b": "", - "syntax-a": "if( [ : ? ; ]* : ? ';'? )", - "syntax-m": "if( [ : ? ; ]* : ? ';'? )", + "syntax-a": "if( [ : ? ; ]* : ? ;? )", + "syntax-m": "if( [ : ? ; ]* : ? ;? )", "tests": { "passing": [], "failing": [] @@ -2035,8 +2073,8 @@ "type": "added", "comment": "", "syntax-b": "", - "syntax-a": "line ", - "syntax-m": "line ", + "syntax-a": "line ", + "syntax-m": "line ", "tests": { "passing": [], "failing": [] @@ -2484,8 +2522,8 @@ "type": "added", "comment": "", "syntax-b": "", - "syntax-a": "move ", - "syntax-m": "move ", + "syntax-a": "move ", + "syntax-m": "move ", "tests": { "passing": [], "failing": [] @@ -3101,6 +3139,17 @@ "failing": [] } }, + "relative-control-point": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": " [ from [ start | end | origin ] ]?", + "syntax-m": " [ from [ start | end | origin ] ]?", + "tests": { + "passing": [], + "failing": [] + } + }, "repeat-style": { "type": "modified", "comment": "", @@ -3407,8 +3456,8 @@ "type": "added", "comment": "", "syntax-b": "", - "syntax-a": " | | | | | | close", - "syntax-m": " | | | | | | close", + "syntax-a": " | | close | | | | | ", + "syntax-m": " | | close | | | | | ", "tests": { "passing": [], "failing": [] @@ -3440,8 +3489,8 @@ "type": "added", "comment": "", "syntax-b": "", - "syntax-a": "smooth [ [ ] || [ using ]? ]", - "syntax-m": "smooth [ [ ] || [ using ]? ]", + "syntax-a": "smooth [ [ to && [ with ]? ] | [ by && [ with ]? ] ]", + "syntax-m": "smooth [ [ to && [ with ]? ] | [ by && [ with ]? ] ]", "tests": { "passing": [], "failing": [] @@ -3999,6 +4048,17 @@ ] } }, + "vertical-line-command": { + "type": "added", + "comment": "", + "syntax-b": "", + "syntax-a": "vline [ to [ | top | center | bottom | y-start | y-end ] | by ]", + "syntax-m": "vline [ to [ | top | center | bottom | y-start | y-end ] | by ]", + "tests": { + "passing": [], + "failing": [] + } + }, "wcag2": { "type": "added", "comment": "", diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json index f498c8f64..0609d6e55 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json @@ -32,7 +32,7 @@ "arc-command": { "type": "added", "syntax-b": "", - "syntax-a": "arc [ [ ] || [ of {1,2} ] || ? || ? || [ rotate ]? ]", + "syntax-a": "arc [ && [ of ] && ? && ? && [ rotate ]? ]", "comment": "" }, "arc-size": { @@ -149,12 +149,6 @@ "syntax-a": "content-box | padding-box | border-box | margin-box | fill-box | stroke-box | view-box", "comment": "" }, - "by-to": { - "type": "added", - "syntax-b": "", - "syntax-a": "by | to", - "comment": "" - }, "calc-keyword": { "type": "added", "syntax-b": "", @@ -245,6 +239,12 @@ "syntax-a": "[ | | | | ]", "comment": "" }, + "command-end-point": { + "type": "added", + "syntax-b": "", + "syntax-a": "[ to | by ]", + "comment": "" + }, "compat-auto": { "type": "modified", "syntax-b": "searchfield | textarea | push-button | slider-horizontal | checkbox | radio | square-button | menulist | listbox | meter | progress-bar | button", @@ -317,6 +317,12 @@ "syntax-a": "contrast-color( max? )", "comment": "" }, + "control-point": { + "type": "added", + "syntax-b": "", + "syntax-a": "[ | ]", + "comment": "" + }, "coord-box": { "type": "modified", "syntax-b": "content-box | padding-box | border-box | fill-box | stroke-box | view-box", @@ -374,7 +380,7 @@ "curve-command": { "type": "added", "syntax-b": "", - "syntax-a": "curve [ using {1,2} ]", + "syntax-a": "curve [ [ to && [ with [ / ]? ] ] | [ by && [ with [ / ]? ] ] ]", "comment": "" }, "custom-arg": { @@ -563,6 +569,12 @@ "syntax-a": "auto | | [ [ | ] && ? ] | [ span && [ || ] ]", "comment": "" }, + "horizontal-line-command": { + "type": "added", + "syntax-b": "", + "syntax-a": "hline [ to [ | left | center | right | x-start | x-end ] | by ]", + "comment": "" + }, "hsl()": { "type": "modified", "syntax-b": "hsl( [ / ]? ) | hsl( , , , ? )", @@ -575,18 +587,18 @@ "syntax-a": "[ | ]", "comment": "" }, - "hv-line-command": { - "type": "added", - "syntax-b": "", - "syntax-a": "[ hline | vline ] ", - "comment": "" - }, "hwb()": { "type": "modified", "syntax-b": "hwb( [ | none ] [ | none ] [ | none ] [ / [ | none ] ]? )", "syntax-a": "hwb( [ from ]? [ | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", "comment": "" }, + "if-condition": { + "type": "added", + "syntax-b": "", + "syntax-a": "]> | else", + "comment": "" + }, "if-test": { "type": "added", "syntax-b": "", @@ -596,7 +608,7 @@ "if()": { "type": "added", "syntax-b": "", - "syntax-a": "if( [ : ? ; ]* : ? ';'? )", + "syntax-a": "if( [ : ? ; ]* : ? ;? )", "comment": "" }, "image": { @@ -728,7 +740,7 @@ "line-command": { "type": "added", "syntax-b": "", - "syntax-a": "line ", + "syntax-a": "line ", "comment": "" }, "line-width": { @@ -878,7 +890,7 @@ "move-command": { "type": "added", "syntax-b": "", - "syntax-a": "move ", + "syntax-a": "move ", "comment": "" }, "mq-boolean": { @@ -1121,6 +1133,12 @@ "syntax-a": "referrerpolicy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )", "comment": "" }, + "relative-control-point": { + "type": "added", + "syntax-b": "", + "syntax-a": " [ from [ start | end | origin ] ]?", + "comment": "" + }, "repeat-style": { "type": "modified", "syntax-b": "repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}", @@ -1232,7 +1250,7 @@ "shape-command": { "type": "added", "syntax-b": "", - "syntax-a": " | | | | | | close", + "syntax-a": " | | close | | | | | ", "comment": "" }, "shape()": { @@ -1250,7 +1268,7 @@ "smooth-command": { "type": "added", "syntax-b": "", - "syntax-a": "smooth [ [ ] || [ using ]? ]", + "syntax-a": "smooth [ [ to && [ with ]? ] | [ by && [ with ]? ] ]", "comment": "" }, "source-size": { @@ -1487,6 +1505,12 @@ "syntax-a": "url( * ) | ", "comment": "" }, + "vertical-line-command": { + "type": "added", + "syntax-b": "", + "syntax-a": "vline [ to [ | top | center | bottom | y-start | y-end ] | by ]", + "comment": "" + }, "wcag2": { "type": "added", "syntax-b": "", diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json index fda09cd93..be9e66b3b 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-types.json @@ -54,7 +54,7 @@ "syntax": "scroll-position | contents | " }, "arc-command": { - "syntax": "arc [ [ ] || [ of {1,2} ] || ? || ? || [ rotate ]? ]" + "syntax": "arc [ && [ of ] && ? && ? && [ rotate ]? ]" }, "arc-size": { "syntax": "large | small" @@ -155,9 +155,6 @@ "brightness()": { "syntax": "brightness( )" }, - "by-to": { - "syntax": "by | to" - }, "calc-constant": { "syntax": "e | pi | infinity | -infinity | NaN" }, @@ -260,6 +257,9 @@ "combinator": { "syntax": "'>' | '+' | '~' | [ '|' '|' ]" }, + "command-end-point": { + "syntax": "[ to | by ]" + }, "common-lig-values": { "syntax": "[ common-ligatures | no-common-ligatures ]" }, @@ -344,6 +344,9 @@ "contrast()": { "syntax": "contrast( [ ] )" }, + "control-point": { + "syntax": "[ | ]" + }, "coord-box": { "syntax": " | view-box" }, @@ -390,7 +393,7 @@ "syntax": "cubic-bezier( [ , ]#{2} )" }, "curve-command": { - "syntax": "curve [ using {1,2} ]" + "syntax": "curve [ [ to && [ with [ / ]? ] ] | [ by && [ with [ / ]? ] ] ]" }, "custom-arg": { "syntax": "$ ;" @@ -659,6 +662,9 @@ "historical-lig-values": { "syntax": "[ historical-ligatures | no-historical-ligatures ]" }, + "horizontal-line-command": { + "syntax": "hline [ to [ | left | center | right | x-start | x-end ] | by ]" + }, "hsl()": { "syntax": "[ | ]" }, @@ -674,20 +680,20 @@ "hue-rotate()": { "syntax": "hue-rotate( )" }, - "hv-line-command": { - "syntax": "[ hline | vline ] " - }, "hwb()": { "syntax": "hwb( [ from ]? [ | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )" }, "hypot()": { "syntax": "hypot( # )" }, + "if-condition": { + "syntax": "]> | else" + }, "if-test": { "syntax": "supports( [ | : ] ) | media( ) | style( )" }, "if()": { - "syntax": "if( [ : ? ; ]* : ? ';'? )" + "syntax": "if( [ : ? ; ]* : ? ;? )" }, "image": { "syntax": " | | | | | " @@ -801,7 +807,7 @@ "syntax": "light-dark( , )" }, "line-command": { - "syntax": "line " + "syntax": "line " }, "line-name-list": { "syntax": "[ | ]+" @@ -969,7 +975,7 @@ "syntax": "rgba( [ from ]? [ | | none ]{3} [ / [ | none ] ]? )" }, "move-command": { - "syntax": "move " + "syntax": "move " }, "mq-boolean": { "syntax": "" @@ -1211,6 +1217,9 @@ "referrerpolicy-modifier": { "syntax": "referrerpolicy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )" }, + "relative-control-point": { + "syntax": " [ from [ start | end | origin ] ]?" + }, "relative-real-selector": { "syntax": "? " }, @@ -1353,7 +1362,7 @@ "syntax": " | margin-box" }, "shape-command": { - "syntax": " | | | | | | close" + "syntax": " | | close | | | | | " }, "shape-radius": { "syntax": " | closest-side | farthest-side" @@ -1422,7 +1431,7 @@ "syntax": "skewY( [ | ] )" }, "smooth-command": { - "syntax": "smooth [ [ ] || [ using ]? ]" + "syntax": "smooth [ [ to && [ with ]? ] | [ by && [ with ]? ] ]" }, "source-size": { "syntax": " | auto" @@ -1652,6 +1661,9 @@ "var()": { "syntax": "var( , ? )" }, + "vertical-line-command": { + "syntax": "vline [ to [ | top | center | bottom | y-start | y-end ] | by ]" + }, "view()": { "syntax": "view( [ || <'view-timeline-inset'> ]? )" }, diff --git a/packages/css-syntax-patches-for-csstree/scripts/generate-csstree-sets.mjs b/packages/css-syntax-patches-for-csstree/scripts/generate-csstree-sets.mjs index 5bf1e17e2..743ad09e2 100644 --- a/packages/css-syntax-patches-for-csstree/scripts/generate-csstree-sets.mjs +++ b/packages/css-syntax-patches-for-csstree/scripts/generate-csstree-sets.mjs @@ -1,4 +1,4 @@ -import { lexer } from 'css-tree-3'; +import { lexer } from 'css-tree'; import { generate_atrule_set, generate_set } from './generate-set.mjs'; export async function generate_csstree_sets() { diff --git a/packages/css-syntax-patches-for-csstree/scripts/generate-set.mjs b/packages/css-syntax-patches-for-csstree/scripts/generate-set.mjs index e4ffe5eec..cb7bf1d88 100644 --- a/packages/css-syntax-patches-for-csstree/scripts/generate-set.mjs +++ b/packages/css-syntax-patches-for-csstree/scripts/generate-set.mjs @@ -1,4 +1,4 @@ -import { definitionSyntax } from 'css-tree-3'; +import { definitionSyntax } from 'css-tree'; import { sort_atrule_set, sort_set } from './sort-set.mjs'; export function generate_set(source) { diff --git a/packages/css-syntax-patches-for-csstree/scripts/generate-webref-sets.mjs b/packages/css-syntax-patches-for-csstree/scripts/generate-webref-sets.mjs index fd98baa95..3c47a1944 100644 --- a/packages/css-syntax-patches-for-csstree/scripts/generate-webref-sets.mjs +++ b/packages/css-syntax-patches-for-csstree/scripts/generate-webref-sets.mjs @@ -1,7 +1,7 @@ import fs from 'node:fs/promises'; import path from 'node:path'; import css from '@webref/css'; -import { fork } from 'css-tree-3'; +import { fork } from 'css-tree'; import { generate_atrule_set, generate_set } from './generate-set.mjs'; import { trim_lt_gt } from './trim-lt-gt.mjs'; import { trim_at } from './trim-at.mjs'; diff --git a/packages/css-syntax-patches-for-csstree/tests/e2e.test.mjs b/packages/css-syntax-patches-for-csstree/tests/e2e.test.mjs index ef08b78d1..3c10f9741 100644 --- a/packages/css-syntax-patches-for-csstree/tests/e2e.test.mjs +++ b/packages/css-syntax-patches-for-csstree/tests/e2e.test.mjs @@ -3,7 +3,7 @@ import fs from 'node:fs/promises'; import path from 'node:path'; import postcss from 'postcss'; -import { find, fork, parse, walk } from 'css-tree-3'; +import { find, fork, parse, walk } from 'css-tree'; async function get_files(dir, recursive = true) { dir = path.resolve(dir); diff --git a/packages/css-syntax-patches-for-csstree/tests/integrity.test.mjs b/packages/css-syntax-patches-for-csstree/tests/integrity.test.mjs index d55d88c8c..f1e932dd3 100644 --- a/packages/css-syntax-patches-for-csstree/tests/integrity.test.mjs +++ b/packages/css-syntax-patches-for-csstree/tests/integrity.test.mjs @@ -1,4 +1,4 @@ -import { fork, definitionSyntax } from 'css-tree-3'; +import { fork, definitionSyntax } from 'css-tree'; import fs from 'fs/promises'; import path from 'path'; diff --git a/packages/css-syntax-patches-for-csstree/tests/unit.test.mjs b/packages/css-syntax-patches-for-csstree/tests/unit.test.mjs index 7b2e5a858..d137c7e98 100644 --- a/packages/css-syntax-patches-for-csstree/tests/unit.test.mjs +++ b/packages/css-syntax-patches-for-csstree/tests/unit.test.mjs @@ -1,4 +1,4 @@ -import { fork } from 'css-tree-3'; +import { fork } from 'css-tree'; import fs from 'fs/promises'; import path from 'path'; @@ -22,7 +22,10 @@ const next = JSON.parse(await fs.readFile(path.join('dist', 'index.json'), 'utf- const forkedLexer = fork({ atrules: next.atrules, - properties: next.properties, + properties: { + '-if-supporting-property': '', + ...next.properties, + }, types: next.types, }).lexer; diff --git a/plugin-packs/postcss-preset-env/CHANGELOG.md b/plugin-packs/postcss-preset-env/CHANGELOG.md index 0ce824add..5a9ff2b32 100644 --- a/plugin-packs/postcss-preset-env/CHANGELOG.md +++ b/plugin-packs/postcss-preset-env/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes to PostCSS Preset Env +### Unreleased (patch) + +- Updated [`cssdb`](https://github.com/csstools/cssdb) to [`8.2.3`](https://github.com/csstools/cssdb/blob/main/CHANGELOG.md#823-december-9-2024) (patch) + ### 10.1.1 _November 17, 2024_ diff --git a/plugin-packs/postcss-preset-env/package.json b/plugin-packs/postcss-preset-env/package.json index ecffd2bb9..f93e5ee09 100644 --- a/plugin-packs/postcss-preset-env/package.json +++ b/plugin-packs/postcss-preset-env/package.json @@ -89,7 +89,7 @@ "css-blank-pseudo": "^7.0.1", "css-has-pseudo": "^7.0.1", "css-prefers-color-scheme": "^10.0.0", - "cssdb": "^8.2.1", + "cssdb": "^8.2.3", "postcss-attribute-case-insensitive": "^7.0.1", "postcss-clamp": "^4.1.0", "postcss-color-functional-notation": "^7.0.6",