diff --git a/package.json b/package.json index 022cda4d..3eeed58e 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "lint:check:depcheck": "pnpm --recursive --include-workspace-root exec depcheck --ignore-patterns=/lib/ --quiet --skip-missing", "lint:check:eslint": "eslint --max-warnings=0 .", "lint:check:prettier": "prettier --check .", + "lint:check:types": "pnpm --recursive --filter='./packages/*' exec attw --pack .", "lint:fix": "pnpm run lint:fix:eslint && pnpm run lint:fix:prettier", "lint:fix:eslint": "eslint --fix --max-warnings=0 .", "lint:fix:prettier": "prettier --write .", @@ -48,6 +49,7 @@ "test:servers:stop": "pnpm run --filter=./private/test test:servers:stop" }, "devDependencies": { + "@arethetypeswrong/cli": "0.15.3", "@microsoft/api-documenter": "7.24.2", "@microsoft/api-extractor": "7.43.1", "@tsconfig/node18": "18.2.4", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index f5188d62..e463e7cf 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -2,7 +2,9 @@ ## [Unreleased] -No notable changes. +### Changed + +- Support legacy Node.js module resolution and place `default` export last ([#937](https://github.com/cerbos/cerbos-sdk-javascript/pull/937)) ## [0.17.0] - 2024-04-12 diff --git a/packages/core/changelog.yaml b/packages/core/changelog.yaml index f4062f7f..58c5244e 100644 --- a/packages/core/changelog.yaml +++ b/packages/core/changelog.yaml @@ -1,3 +1,10 @@ +unreleased: + type: patch + + changed: + - summary: Support legacy Node.js module resolution and place `default` export last + pull: 937 + releases: - version: 0.17.0 date: 2024-04-12 diff --git a/packages/core/package.json b/packages/core/package.json index d5c99622..6eda2457 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -16,12 +16,14 @@ "engines": { "node": ">= 18" }, + "main": "./lib/index.js", "exports": { ".": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" + "types": "./lib/index.d.ts", + "default": "./lib/index.js" } }, + "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.d.ts.map", diff --git a/packages/embedded/CHANGELOG.md b/packages/embedded/CHANGELOG.md index 468f33de..a4c4c893 100644 --- a/packages/embedded/CHANGELOG.md +++ b/packages/embedded/CHANGELOG.md @@ -2,7 +2,9 @@ ## [Unreleased] -No notable changes. +### Changed + +- Support legacy Node.js module resolution and place `default` export last ([#937](https://github.com/cerbos/cerbos-sdk-javascript/pull/937)) ## [0.7.0] - 2024-04-12 diff --git a/packages/embedded/changelog.yaml b/packages/embedded/changelog.yaml index 8658b2ca..f450de11 100644 --- a/packages/embedded/changelog.yaml +++ b/packages/embedded/changelog.yaml @@ -1,3 +1,10 @@ +unreleased: + type: patch + + changed: + - summary: Support legacy Node.js module resolution and place `default` export last + pull: 937 + releases: - version: 0.7.0 date: 2024-04-12 diff --git a/packages/embedded/package.json b/packages/embedded/package.json index fc822a48..4fe8154b 100644 --- a/packages/embedded/package.json +++ b/packages/embedded/package.json @@ -16,12 +16,14 @@ "engines": { "node": ">= 18" }, + "main": "./lib/index.js", "exports": { ".": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" + "types": "./lib/index.d.ts", + "default": "./lib/index.js" } }, + "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.d.ts.map", diff --git a/packages/files/CHANGELOG.md b/packages/files/CHANGELOG.md index d8f99063..ead0453e 100644 --- a/packages/files/CHANGELOG.md +++ b/packages/files/CHANGELOG.md @@ -2,7 +2,9 @@ ## [Unreleased] -No notable changes. +### Changed + +- Support legacy Node.js module resolution and place `default` export last ([#937](https://github.com/cerbos/cerbos-sdk-javascript/pull/937)) ## [0.2.4] - 2024-04-12 diff --git a/packages/files/changelog.yaml b/packages/files/changelog.yaml index f1bec43c..6b675232 100644 --- a/packages/files/changelog.yaml +++ b/packages/files/changelog.yaml @@ -1,3 +1,10 @@ +unreleased: + type: patch + + changed: + - summary: Support legacy Node.js module resolution and place `default` export last + pull: 937 + releases: - version: 0.2.4 date: 2024-04-12 diff --git a/packages/files/package.json b/packages/files/package.json index 6c471e77..8cfc9119 100644 --- a/packages/files/package.json +++ b/packages/files/package.json @@ -16,12 +16,14 @@ "engines": { "node": ">= 18" }, + "main": "./lib/index.js", "exports": { ".": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" + "types": "./lib/index.d.ts", + "default": "./lib/index.js" } }, + "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.d.ts.map", diff --git a/packages/grpc/CHANGELOG.md b/packages/grpc/CHANGELOG.md index 2c4b1da1..2c6572fd 100644 --- a/packages/grpc/CHANGELOG.md +++ b/packages/grpc/CHANGELOG.md @@ -2,7 +2,9 @@ ## [Unreleased] -No notable changes. +### Changed + +- Support legacy Node.js module resolution and place `default` export last ([#937](https://github.com/cerbos/cerbos-sdk-javascript/pull/937)) ## [0.17.0] - 2024-04-12 diff --git a/packages/grpc/changelog.yaml b/packages/grpc/changelog.yaml index fec2f7ef..7f126f9b 100644 --- a/packages/grpc/changelog.yaml +++ b/packages/grpc/changelog.yaml @@ -1,3 +1,10 @@ +unreleased: + type: patch + + changed: + - summary: Support legacy Node.js module resolution and place `default` export last + pull: 937 + releases: - version: 0.17.0 date: 2024-04-12 diff --git a/packages/grpc/package.json b/packages/grpc/package.json index 9f3066c9..39729ea8 100644 --- a/packages/grpc/package.json +++ b/packages/grpc/package.json @@ -16,12 +16,14 @@ "engines": { "node": ">= 18" }, + "main": "./lib/index.js", "exports": { ".": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" + "types": "./lib/index.d.ts", + "default": "./lib/index.js" } }, + "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.d.ts.map", diff --git a/packages/http/CHANGELOG.md b/packages/http/CHANGELOG.md index 1cbfa64e..d1ba6731 100644 --- a/packages/http/CHANGELOG.md +++ b/packages/http/CHANGELOG.md @@ -4,6 +4,8 @@ ### Changed +- Support legacy Node.js module resolution and place `default` export last ([#937](https://github.com/cerbos/cerbos-sdk-javascript/pull/937)) + - Bump dependency on [qs] to 6.12.1 ([#933](https://github.com/cerbos/cerbos-sdk-javascript/pull/933)) ## [0.18.0] - 2024-04-12 diff --git a/packages/http/changelog.yaml b/packages/http/changelog.yaml index 25eb2c6d..488d88d7 100644 --- a/packages/http/changelog.yaml +++ b/packages/http/changelog.yaml @@ -1,6 +1,10 @@ unreleased: type: patch + changed: + - summary: Support legacy Node.js module resolution and place `default` export last + pull: 937 + bumped: qs: to: 6.12.1 diff --git a/packages/http/package.json b/packages/http/package.json index c75336ae..d957153b 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -16,12 +16,14 @@ "engines": { "node": ">= 18" }, + "main": "./lib/index.js", "exports": { ".": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" + "types": "./lib/index.d.ts", + "default": "./lib/index.js" } }, + "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.d.ts.map", diff --git a/packages/opentelemetry/CHANGELOG.md b/packages/opentelemetry/CHANGELOG.md index 23877eb8..2778e924 100644 --- a/packages/opentelemetry/CHANGELOG.md +++ b/packages/opentelemetry/CHANGELOG.md @@ -2,7 +2,9 @@ ## [Unreleased] -No notable changes. +### Changed + +- Support legacy Node.js module resolution and place `default` export last ([#937](https://github.com/cerbos/cerbos-sdk-javascript/pull/937)) ## [0.4.5] - 2024-04-12 diff --git a/packages/opentelemetry/changelog.yaml b/packages/opentelemetry/changelog.yaml index 1910835c..1ec6aab8 100644 --- a/packages/opentelemetry/changelog.yaml +++ b/packages/opentelemetry/changelog.yaml @@ -1,3 +1,10 @@ +unreleased: + type: patch + + changed: + - summary: Support legacy Node.js module resolution and place `default` export last + pull: 937 + releases: - version: 0.4.5 date: 2024-04-12 diff --git a/packages/opentelemetry/package.json b/packages/opentelemetry/package.json index 4692e12d..f5eaa18c 100644 --- a/packages/opentelemetry/package.json +++ b/packages/opentelemetry/package.json @@ -16,12 +16,14 @@ "engines": { "node": ">= 18" }, + "main": "./lib/index.js", "exports": { ".": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" + "types": "./lib/index.d.ts", + "default": "./lib/index.js" } }, + "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.d.ts.map", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index c4738ea6..94d1e596 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -2,7 +2,9 @@ ## [Unreleased] -No notable changes. +### Changed + +- Support legacy Node.js module resolution and place `default` export last ([#937](https://github.com/cerbos/cerbos-sdk-javascript/pull/937)) ## [0.1.0] - 2024-04-12 diff --git a/packages/react/changelog.yaml b/packages/react/changelog.yaml index 8be0bcb1..eee8ede3 100644 --- a/packages/react/changelog.yaml +++ b/packages/react/changelog.yaml @@ -1,3 +1,10 @@ +unreleased: + type: patch + + changed: + - summary: Support legacy Node.js module resolution and place `default` export last + pull: 937 + releases: - version: 0.1.0 date: 2024-04-12 diff --git a/packages/react/package.json b/packages/react/package.json index e6624b4d..7b4fa6fa 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -16,12 +16,14 @@ "engines": { "node": ">= 18" }, + "main": "./lib/index.js", "exports": { ".": { - "default": "./lib/index.js", - "types": "./lib/index.d.ts" + "types": "./lib/index.d.ts", + "default": "./lib/index.js" } }, + "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.d.ts.map", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc451ca6..412cb9e8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: devDependencies: + '@arethetypeswrong/cli': + specifier: 0.15.3 + version: 0.15.3 '@microsoft/api-documenter': specifier: 7.24.2 version: 7.24.2(@types/node@18.19.31) @@ -258,6 +261,18 @@ packages: resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} engines: {node: '>=0.10.0'} + '@andrewbranch/untar.js@1.0.3': + resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} + + '@arethetypeswrong/cli@0.15.3': + resolution: {integrity: sha512-sIMA9ZJBWDEg1+xt5RkAEflZuf8+PO8SdKj17x6PtETuUho+qlZJg4DgmKc3q+QwQ9zOB5VLK6jVRbFdNLdUIA==} + engines: {node: '>=18'} + hasBin: true + + '@arethetypeswrong/core@0.15.1': + resolution: {integrity: sha512-FYp6GBAgsNz81BkfItRz8RLZO03w5+BaeiPma1uCfmxTnxbtuMrI/dbzGiOk8VghO108uFI0oJo0OkewdSHw7g==} + engines: {node: '>=18'} + '@babel/code-frame@7.24.2': resolution: {integrity: sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==} engines: {node: '>=6.9.0'} @@ -315,6 +330,10 @@ packages: resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} engines: {node: '>=6.9.0'} + '@colors/colors@1.5.0': + resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} + engines: {node: '>=0.1.90'} + '@esbuild/aix-ppc64@0.19.12': resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} engines: {node: '>=12'} @@ -884,6 +903,10 @@ packages: '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + '@sindresorhus/is@4.6.0': + resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} + engines: {node: '>=10'} + '@testing-library/dom@10.0.0': resolution: {integrity: sha512-PmJPnogldqoVFf+EwbHvbBJ98MmqASV8kLrBYgsDNxQcFMeIS7JFL48sfyXvuMtgmWO/wMhh25odr+8VhDmn4g==} engines: {node: '>=18'} @@ -1069,6 +1092,10 @@ packages: ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + ansi-escapes@6.2.1: + resolution: {integrity: sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==} + engines: {node: '>=14.16'} + ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -1085,6 +1112,9 @@ packages: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} + ansicolors@0.3.2: + resolution: {integrity: sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==} + argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} @@ -1153,6 +1183,9 @@ packages: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} engines: {node: '>=8'} + builtins@5.1.0: + resolution: {integrity: sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg==} + cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} @@ -1172,6 +1205,10 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} + cardinal@2.1.1: + resolution: {integrity: sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw==} + hasBin: true + case-anything@2.1.13: resolution: {integrity: sha512-zlOQ80VrQ2Ue+ymH5OuM/DlDq64mEm+B9UTdHULv5osUMD6HalNTblf2b1u/m6QecjsnOkBpqVZ+XPwIVsy7Ng==} engines: {node: '>=12.13'} @@ -1188,12 +1225,24 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} + chalk@5.3.0: + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + char-regex@1.0.2: + resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} + engines: {node: '>=10'} + check-error@1.0.3: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} cjs-module-lexer@1.2.3: resolution: {integrity: sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==} + cli-table3@0.6.4: + resolution: {integrity: sha512-Lm3L0p+/npIQWNIiyF/nAn7T5dnOwR3xNTHXYEBFBFVPXzCVNZ5lqEC/1eo/EVfpDsQ1I+TX4ORPQgp+UI0CRw==} + engines: {node: 10.* || >= 12.*} + cliui@7.0.4: resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} @@ -1218,6 +1267,10 @@ packages: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} + commander@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} + commander@9.5.0: resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} engines: {node: ^12.20.0 || >=14} @@ -1356,6 +1409,9 @@ packages: emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + emojilib@2.4.0: + resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} + entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -1536,6 +1592,9 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + fflate@0.8.2: + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -1953,6 +2012,17 @@ packages: magic-string@0.30.10: resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} + marked-terminal@6.2.0: + resolution: {integrity: sha512-ubWhwcBFHnXsjYNsu+Wndpg0zhY4CahSpPlA70PlO0rR9r2sZpkyU+rkCsOWH+KMEkx847UpALON+HWgxowFtw==} + engines: {node: '>=16.0.0'} + peerDependencies: + marked: '>=1 <12' + + marked@9.1.6: + resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} + engines: {node: '>= 16'} + hasBin: true + merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -2017,6 +2087,10 @@ packages: natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + node-emoji@2.1.3: + resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} + engines: {node: '>=18'} + npm-run-path@5.3.0: resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -2198,6 +2272,9 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} + redeyed@2.1.1: + resolution: {integrity: sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==} + regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} @@ -2331,6 +2408,10 @@ packages: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} + skin-tone@2.0.0: + resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} + engines: {node: '>=8'} + slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -2405,6 +2486,10 @@ packages: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} + supports-hyperlinks@3.0.0: + resolution: {integrity: sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==} + engines: {node: '>=14.18'} + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -2452,6 +2537,9 @@ packages: peerDependencies: typescript: '>=4.2.0' + ts-expose-internals-conditionally@1.0.0-empty.0: + resolution: {integrity: sha512-F8m9NOF6ZhdOClDVdlM8gj3fDCav4ZIFSs/EI3ksQbAAXVSCN/Jh5OCJDDZWBuBy9psFc6jULGDlPwjMYMhJDw==} + ts-poet@6.8.1: resolution: {integrity: sha512-uqdjJGnQQjBwUeJggUi4o8VhRjUmEdRfo+uqEL+K8w7mKPfLUFAQ1dSURyhFfbA4T/cWPh8Xa7iBgO7jJNsc1A==} @@ -2501,6 +2589,11 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} + typescript@5.3.3: + resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + engines: {node: '>=14.17'} + hasBin: true + typescript@5.4.2: resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} engines: {node: '>=14.17'} @@ -2520,6 +2613,10 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + unicode-emoji-modifier-base@1.0.0: + resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} + engines: {node: '>=4'} + universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -2544,6 +2641,10 @@ packages: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true + validate-npm-package-name@5.0.0: + resolution: {integrity: sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + validator@13.11.0: resolution: {integrity: sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ==} engines: {node: '>= 0.10'} @@ -2725,6 +2826,27 @@ snapshots: '@aashutoshrathi/word-wrap@1.2.6': {} + '@andrewbranch/untar.js@1.0.3': {} + + '@arethetypeswrong/cli@0.15.3': + dependencies: + '@arethetypeswrong/core': 0.15.1 + chalk: 4.1.2 + cli-table3: 0.6.4 + commander: 10.0.1 + marked: 9.1.6 + marked-terminal: 6.2.0(marked@9.1.6) + semver: 7.6.0 + + '@arethetypeswrong/core@0.15.1': + dependencies: + '@andrewbranch/untar.js': 1.0.3 + fflate: 0.8.2 + semver: 7.6.0 + ts-expose-internals-conditionally: 1.0.0-empty.0 + typescript: 5.3.3 + validate-npm-package-name: 5.0.0 + '@babel/code-frame@7.24.2': dependencies: '@babel/highlight': 7.24.2 @@ -2798,6 +2920,9 @@ snapshots: '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 + '@colors/colors@1.5.0': + optional: true + '@esbuild/aix-ppc64@0.19.12': optional: true @@ -3239,6 +3364,8 @@ snapshots: '@sinclair/typebox@0.27.8': {} + '@sindresorhus/is@4.6.0': {} + '@testing-library/dom@10.0.0': dependencies: '@babel/code-frame': 7.24.2 @@ -3477,6 +3604,8 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + ansi-escapes@6.2.1: {} + ansi-regex@5.0.1: {} ansi-styles@3.2.1: @@ -3489,6 +3618,8 @@ snapshots: ansi-styles@5.2.0: {} + ansicolors@0.3.2: {} + argparse@1.0.10: dependencies: sprintf-js: 1.0.3 @@ -3576,6 +3707,10 @@ snapshots: dependencies: fill-range: 7.0.1 + builtins@5.1.0: + dependencies: + semver: 7.6.0 + cac@6.7.14: {} call-bind@1.0.7: @@ -3592,6 +3727,11 @@ snapshots: camelcase@6.3.0: {} + cardinal@2.1.1: + dependencies: + ansicolors: 0.3.2 + redeyed: 2.1.1 + case-anything@2.1.13: {} chai@4.4.1: @@ -3615,12 +3755,22 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 + chalk@5.3.0: {} + + char-regex@1.0.2: {} + check-error@1.0.3: dependencies: get-func-name: 2.0.2 cjs-module-lexer@1.2.3: {} + cli-table3@0.6.4: + dependencies: + string-width: 4.2.3 + optionalDependencies: + '@colors/colors': 1.5.0 + cliui@7.0.4: dependencies: string-width: 4.2.3 @@ -3649,6 +3799,8 @@ snapshots: dependencies: delayed-stream: 1.0.0 + commander@10.0.1: {} + commander@9.5.0: optional: true @@ -3805,6 +3957,8 @@ snapshots: emoji-regex@8.0.0: {} + emojilib@2.4.0: {} + entities@4.5.0: {} error-ex@1.3.2: @@ -4119,6 +4273,8 @@ snapshots: dependencies: reusify: 1.0.4 + fflate@0.8.2: {} + file-entry-cache@6.0.1: dependencies: flat-cache: 3.2.0 @@ -4547,6 +4703,18 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + marked-terminal@6.2.0(marked@9.1.6): + dependencies: + ansi-escapes: 6.2.1 + cardinal: 2.1.1 + chalk: 5.3.0 + cli-table3: 0.6.4 + marked: 9.1.6 + node-emoji: 2.1.3 + supports-hyperlinks: 3.0.0 + + marked@9.1.6: {} + merge-stream@2.0.0: {} merge2@1.4.1: {} @@ -4607,6 +4775,13 @@ snapshots: natural-compare@1.4.0: {} + node-emoji@2.1.3: + dependencies: + '@sindresorhus/is': 4.6.0 + char-regex: 1.0.2 + emojilib: 2.4.0 + skin-tone: 2.0.0 + npm-run-path@5.3.0: dependencies: path-key: 4.0.0 @@ -4792,6 +4967,10 @@ snapshots: dependencies: picomatch: 2.3.1 + redeyed@2.1.1: + dependencies: + esprima: 4.0.1 + regenerator-runtime@0.14.1: {} regexp.prototype.flags@1.5.2: @@ -4947,6 +5126,10 @@ snapshots: signal-exit@4.1.0: {} + skin-tone@2.0.0: + dependencies: + unicode-emoji-modifier-base: 1.0.0 + slash@3.0.0: {} source-map-js@1.2.0: {} @@ -5014,6 +5197,11 @@ snapshots: dependencies: has-flag: 4.0.0 + supports-hyperlinks@3.0.0: + dependencies: + has-flag: 4.0.0 + supports-color: 7.2.0 + supports-preserve-symlinks-flag@1.0.0: {} symbol-tree@3.2.4: {} @@ -5049,6 +5237,8 @@ snapshots: dependencies: typescript: 5.4.5 + ts-expose-internals-conditionally@1.0.0-empty.0: {} + ts-poet@6.8.1: dependencies: dprint-node: 1.0.8 @@ -5121,6 +5311,8 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 + typescript@5.3.3: {} + typescript@5.4.2: {} typescript@5.4.5: {} @@ -5136,6 +5328,8 @@ snapshots: undici-types@5.26.5: {} + unicode-emoji-modifier-base@1.0.0: {} + universalify@0.1.2: {} universalify@0.2.0: {} @@ -5157,6 +5351,10 @@ snapshots: uuid@9.0.1: {} + validate-npm-package-name@5.0.0: + dependencies: + builtins: 5.1.0 + validator@13.11.0: {} vite-node@1.5.0(@types/node@18.19.31): diff --git a/private/scripts/src/test/matrix.ts b/private/scripts/src/test/matrix.ts index 21e317fc..7114d063 100644 --- a/private/scripts/src/test/matrix.ts +++ b/private/scripts/src/test/matrix.ts @@ -67,7 +67,7 @@ async function fetchNodeVersions(): Promise { const versions: string[] = []; for (const [version, { start, end }] of Object.entries(schedule)) { - if (start <= today && today <= end) { + if (start < today && today <= end) { versions.push(version); } }