From 9b70a15055462dee3a1c34d24eeb001ca4a694a2 Mon Sep 17 00:00:00 2001 From: Ryan Carniato Date: Tue, 22 Oct 2024 15:56:58 -0700 Subject: [PATCH] validation fixes, type updates, ssr attribute fix --- .changeset/famous-cycles-decide.md | 6 ++ package.json | 8 +- packages/babel-preset-solid/package.json | 2 +- pnpm-lock.yaml | 111 +++++------------------ 4 files changed, 33 insertions(+), 94 deletions(-) create mode 100644 .changeset/famous-cycles-decide.md diff --git a/.changeset/famous-cycles-decide.md b/.changeset/famous-cycles-decide.md new file mode 100644 index 00000000..49bdbaf4 --- /dev/null +++ b/.changeset/famous-cycles-decide.md @@ -0,0 +1,6 @@ +--- +"babel-preset-solid": patch +"solid-js": patch +--- + +validation fixes, type updates, ssr attribute fix diff --git a/package.json b/package.json index aafaf87f..fa7369c6 100644 --- a/package.json +++ b/package.json @@ -34,13 +34,13 @@ "@rollup/plugin-replace": "^5.0.2", "@types/node": "^22.7.5", "@vitest/coverage-v8": "^2.1.2", - "babel-plugin-jsx-dom-expressions": "^0.39.2", + "babel-plugin-jsx-dom-expressions": "^0.39.3", "coveralls": "^3.1.1", "csstype": "^3.1.0", - "dom-expressions": "0.39.2", - "hyper-dom-expressions": "0.39.2", + "dom-expressions": "0.39.4", + "hyper-dom-expressions": "0.39.4", "jsdom": "^25.0.1", - "lit-dom-expressions": "0.39.2", + "lit-dom-expressions": "0.39.4", "ncp": "^2.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", diff --git a/packages/babel-preset-solid/package.json b/packages/babel-preset-solid/package.json index d0715403..8ceb92c2 100644 --- a/packages/babel-preset-solid/package.json +++ b/packages/babel-preset-solid/package.json @@ -14,7 +14,7 @@ "test": "node test.js" }, "dependencies": { - "babel-plugin-jsx-dom-expressions": "^0.39.2" + "babel-plugin-jsx-dom-expressions": "^0.39.3" }, "peerDependencies": { "@babel/core": "^7.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15de0446..5da781a3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: specifier: ^2.1.2 version: 2.1.2(vitest@2.1.2(@types/node@22.7.5)(jsdom@25.0.1)) babel-plugin-jsx-dom-expressions: - specifier: ^0.39.2 - version: 0.39.2(@babel/core@7.25.7) + specifier: ^0.39.3 + version: 0.39.3(@babel/core@7.25.7) coveralls: specifier: ^3.1.1 version: 3.1.1 @@ -57,17 +57,17 @@ importers: specifier: ^3.1.0 version: 3.1.3 dom-expressions: - specifier: 0.39.2 - version: 0.39.2(csstype@3.1.3)(seroval-plugins@1.1.1(seroval@1.1.1))(seroval@1.1.1) + specifier: 0.39.4 + version: 0.39.4(csstype@3.1.3)(seroval-plugins@1.1.1(seroval@1.1.1))(seroval@1.1.1) hyper-dom-expressions: - specifier: 0.39.2 - version: 0.39.2 + specifier: 0.39.4 + version: 0.39.4 jsdom: specifier: ^25.0.1 version: 25.0.1 lit-dom-expressions: - specifier: 0.39.2 - version: 0.39.2 + specifier: 0.39.4 + version: 0.39.4 ncp: specifier: ^2.0.0 version: 2.0.0 @@ -120,8 +120,8 @@ importers: specifier: ^7.0.0 version: 7.25.7 babel-plugin-jsx-dom-expressions: - specifier: ^0.39.2 - version: 0.39.2(@babel/core@7.25.7) + specifier: ^0.39.3 + version: 0.39.3(@babel/core@7.25.7) packages/solid: dependencies: @@ -1005,10 +1005,6 @@ packages: resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} engines: {node: '>=8'} - '@jest/schemas@29.6.3': - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - '@jridgewell/gen-mapping@0.3.5': resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} @@ -1190,9 +1186,6 @@ packages: cpu: [x64] os: [win32] - '@sinclair/typebox@0.27.8': - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - '@types/babel__core@7.20.5': resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} @@ -1300,10 +1293,6 @@ packages: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} - ansi-styles@5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} - ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} @@ -1357,8 +1346,8 @@ packages: axios@1.7.7: resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} - babel-plugin-jsx-dom-expressions@0.39.2: - resolution: {integrity: sha512-rCkSYFuLl5/XD+BXjZk1XxFAsIBgNe9WZ7xBHjQV1dBliI64kO+EWktAD3b6Bj/SXk+LpVXFyMVydhnI35svWQ==} + babel-plugin-jsx-dom-expressions@0.39.3: + resolution: {integrity: sha512-6RzmSu21zYPlV2gNwzjGG9FgODtt9hIWnx7L//OIioIEuRcnpDZoY8Tr+I81Cy1SrH4qoDyKpwHHo6uAMAeyPA==} peerDependencies: '@babel/core': ^7.20.12 @@ -1443,10 +1432,6 @@ packages: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} - chalk@4.1.2: - resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} - engines: {node: '>=10'} - chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} @@ -1621,16 +1606,12 @@ packages: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} - diff-sequences@29.6.3: - resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} - dom-expressions@0.39.2: - resolution: {integrity: sha512-RmJu0d/unNzw7iQcf+CV7PJ1vVo+lmKkr8Fxs/WT2viYbIAsqjDjDFvYrXPSh6HUpMSM3H2VP5LLfLh2vvNawg==} + dom-expressions@0.39.4: + resolution: {integrity: sha512-dIumf1IVt6KWfysMMp2KkVSnOi9JGNt4qzJnYT4V5At+xguAsbv1ByN4w+e8tTlq1EuwkizEWnG9YRi9PfGJXQ==} peerDependencies: csstype: ^3.0 seroval: ^1.1.0 @@ -1983,8 +1964,8 @@ packages: human-id@1.0.2: resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} - hyper-dom-expressions@0.39.2: - resolution: {integrity: sha512-UYZRYiBeUpDHVxB6qJQEkE4t14syWkLHgy9NB89T/qeuS+PR9lTl3FK7GeN8N6M8INILp2I49Hf/O2/wFZ2dSQ==} + hyper-dom-expressions@0.39.4: + resolution: {integrity: sha512-1NM41ZQOfwBnlE/HELNeyMruI3tpaaN6Q50zIKUHfK/kfT4xkN6PmSShvHcBDz3sr4ySE/xREdudubeC8W/oGQ==} iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} @@ -2158,14 +2139,6 @@ packages: jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - jest-diff@29.7.0: - resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - - jest-get-type@29.6.3: - resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - js-cleanup@1.2.0: resolution: {integrity: sha512-JeDD0yiiSt80fXzAVa/crrS0JDPQljyBG/RpOtaSbyDq03VHa9szJWMaWOYU/bcTn412uMN2MxApXq8v79cUiQ==} engines: {node: ^10.14.2 || >=12.0.0} @@ -2225,8 +2198,8 @@ packages: resolution: {integrity: sha512-aprLII/vPzuQvYZnDRU78Fns9I2Ag3gi4Ipga/hxnVMCZC8DnR2nI7XBqrPoywGfxqIx/DgarGvDJZAD3YBTgQ==} hasBin: true - lit-dom-expressions@0.39.2: - resolution: {integrity: sha512-/+UUIJPEJjZ6SUtposQ+asfxrxt3tgZRTjQOVzXHVMEZrN7YvI438iokzwhoGkUS0FrOal4GBXfSGPJwOZoabg==} + lit-dom-expressions@0.39.4: + resolution: {integrity: sha512-P8/atj/v+BeRdCMfxisRfS8Du45Zj8rFL0CKv5pdIX0XTLh9eYfgCDLgsqOlqBkWeLAzVVonjqrDOsQWXC9jgg==} load-json-file@4.0.0: resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} @@ -2545,10 +2518,6 @@ packages: engines: {node: '>=10.13.0'} hasBin: true - pretty-format@29.7.0: - resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -2585,9 +2554,6 @@ packages: resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==} engines: {node: '>= 0.8'} - react-is@18.3.1: - resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - read-pkg@3.0.0: resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} engines: {node: '>=4'} @@ -4304,10 +4270,6 @@ snapshots: '@istanbuljs/schema@0.1.3': {} - '@jest/schemas@29.6.3': - dependencies: - '@sinclair/typebox': 0.27.8 - '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 @@ -4502,8 +4464,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.24.0': optional: true - '@sinclair/typebox@0.27.8': {} - '@types/babel__core@7.20.5': dependencies: '@babel/parser': 7.25.7 @@ -4640,8 +4600,6 @@ snapshots: dependencies: color-convert: 2.0.1 - ansi-styles@5.2.0: {} - ansi-styles@6.2.1: {} anymatch@3.1.3: @@ -4700,14 +4658,13 @@ snapshots: transitivePeerDependencies: - debug - babel-plugin-jsx-dom-expressions@0.39.2(@babel/core@7.25.7): + babel-plugin-jsx-dom-expressions@0.39.3(@babel/core@7.25.7): dependencies: '@babel/core': 7.25.7 '@babel/helper-module-imports': 7.18.6 '@babel/plugin-syntax-jsx': 7.25.7(@babel/core@7.25.7) '@babel/types': 7.25.7 html-entities: 2.3.3 - jest-diff: 29.7.0 parse5: 7.1.2 validate-html-nesting: 1.2.2 @@ -4819,11 +4776,6 @@ snapshots: escape-string-regexp: 1.0.5 supports-color: 5.5.0 - chalk@4.1.2: - dependencies: - ansi-styles: 4.3.0 - supports-color: 7.2.0 - chardet@0.7.0: {} check-error@2.1.1: {} @@ -4986,13 +4938,11 @@ snapshots: detect-indent@6.1.0: {} - diff-sequences@29.6.3: {} - dir-glob@3.0.1: dependencies: path-type: 4.0.0 - dom-expressions@0.39.2(csstype@3.1.3)(seroval-plugins@1.1.1(seroval@1.1.1))(seroval@1.1.1): + dom-expressions@0.39.4(csstype@3.1.3)(seroval-plugins@1.1.1(seroval@1.1.1))(seroval@1.1.1): dependencies: babel-plugin-transform-rename-import: 2.3.0 csstype: 3.1.3 @@ -5472,7 +5422,7 @@ snapshots: human-id@1.0.2: {} - hyper-dom-expressions@0.39.2: {} + hyper-dom-expressions@0.39.4: {} iconv-lite@0.4.24: dependencies: @@ -5634,15 +5584,6 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 - jest-diff@29.7.0: - dependencies: - chalk: 4.1.2 - diff-sequences: 29.6.3 - jest-get-type: 29.6.3 - pretty-format: 29.7.0 - - jest-get-type@29.6.3: {} - js-cleanup@1.2.0: dependencies: magic-string: 0.25.9 @@ -5717,7 +5658,7 @@ snapshots: lcov-parse@1.0.0: {} - lit-dom-expressions@0.39.2: {} + lit-dom-expressions@0.39.4: {} load-json-file@4.0.0: dependencies: @@ -5979,12 +5920,6 @@ snapshots: prettier@2.8.8: {} - pretty-format@29.7.0: - dependencies: - '@jest/schemas': 29.6.3 - ansi-styles: 5.2.0 - react-is: 18.3.1 - proxy-addr@2.0.7: dependencies: forwarded: 0.2.0 @@ -6015,8 +5950,6 @@ snapshots: iconv-lite: 0.4.24 unpipe: 1.0.0 - react-is@18.3.1: {} - read-pkg@3.0.0: dependencies: load-json-file: 4.0.0