Skip to content

Commit

Permalink
TypeScript 5.6 (#2424)
Browse files Browse the repository at this point in the history
_evergreen_

## Description

https://devblogs.microsoft.com/typescript/announcing-typescript-5-6-rc

It has some concessions to [stricter iterator
checks](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6-beta/#strict-builtin-iterator-checks-and---strictbuiltiniteratorreturn)
but doesn't enable `strictBuiltinIteratorReturn`.


### Security Considerations

none

### Scaling Considerations

none

### Documentation Considerations

none

### Testing Considerations

CI

### Compatibility Considerations

none

### Upgrade Considerations

none
  • Loading branch information
turadg authored Aug 23, 2024
2 parents 3535c43 + ccb1b26 commit b480e29
Show file tree
Hide file tree
Showing 42 changed files with 159 additions and 1,197 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"engines": {
"node": ">=16"
},
"packageManager": "yarn@4.3.0",
"packageManager": "yarn@4.4.0",
"devDependencies": {
"@jessie.js/eslint-plugin": "^0.4.1",
"@octokit/core": "^3.4.0",
"@types/node": "^20.9.0",
"ava": "^6.1.3",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
Expand All @@ -19,13 +20,12 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.5",
"lerna": "^8.1.8",
"lerna-update-wizard": "^0.17.5",
"prettier": "^3.2.5",
"ts-api-utils": "~1.0.1",
"type-coverage": "^2.26.3",
"typedoc": "^0.26.6",
"typedoc-plugin-markdown": "^4.2.5",
"typescript": "5.5.2",
"typescript": "~5.6.1-rc",
"typescript-eslint": "^7.3.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/base64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundle-source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ava": "^6.1.3",
"c8": "^7.14.0",
"eslint": "^8.57.0",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"keywords": [],
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/captp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@endo/ses-ava": "workspace:^",
"ava": "^6.1.3",
"c8": "^7.14.0",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"dependencies": {
"@endo/errors": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/captp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.eslint-base.json",
"compilerOptions": {
"checkJs": true,
"maxNodeModuleJsDepth": 2
"maxNodeModuleJsDepth": 1
},
"include": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/check-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cjs-module-analyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"eslint-plugin-import": "^2.29.1",
"execa": "^9.3.0",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"ava": "^6.1.3",
"c8": "^7.14.0",
"tsd": "^0.30.7",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/compartment-mapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/env-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"c8": "^7.14.0",
"ses0_18_3": "npm:[email protected]",
"tsd": "^0.30.7",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"requireindex": "~1.1.0",
"ts-api-utils": "~1.0.1",
"tsutils": "~3.21.0",
"typescript": "5.5.2",
"typescript": "~5.6.1-rc",
"typescript-eslint": "^7.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/evasive-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint": "^8.57.0",
"rollup": "^2.79.1",
"tsd": "^0.30.7",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eventual-send/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"ava": "^6.1.3",
"c8": "^7.14.0",
"tsd": "^0.30.7",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"keywords": [
"eventual send",
Expand Down
2 changes: 1 addition & 1 deletion packages/exo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/far/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@endo/ses-ava": "workspace:^",
"ava": "^6.1.3",
"c8": "^7.14.0",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"keywords": [
"eventual send",
Expand Down
2 changes: 1 addition & 1 deletion packages/immutable-arraybuffer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ava": "^6.1.3",
"c8": "^7.14.0",
"tsd": "^0.30.7",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/import-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@endo/ses-ava": "workspace:^",
"ava": "^6.1.3",
"c8": "^7.14.0",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@endo/compartment-mapper": "workspace:^",
"ava": "^6.1.3",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"dependencies": {
"@endo/base64": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/lp32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/marshal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@fast-check/ava": "^1.1.5",
"ava": "^6.1.3",
"c8": "^7.14.0",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/memoize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/module-source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/nat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"ses": "workspace:^",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"directories": {
"test": "test"
Expand Down
2 changes: 1 addition & 1 deletion packages/netstring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/pass-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/patterns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/promise-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/ses-ava/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"sinon": "^15.1.0",
"terser": "^5.16.6",
"tsd": "^0.30.7",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
6 changes: 5 additions & 1 deletion packages/ses/src/get-anonymous-intrinsics.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ export const getAnonymousIntrinsics = () => {
);
intrinsics['%WrapForValidIteratorPrototype%'] = getPrototypeOf(
// eslint-disable-next-line @endo/no-polymorphic-call
globalThis.Iterator.from({ next() {} }),
globalThis.Iterator.from({
next() {
return { value: undefined };
},
}),
);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/skel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"ava": "^6.1.3",
"c8": "^7.14.0",
"tsd": "^0.30.7",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/stream-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"ts-api-utils": "~1.0.1",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/stream-types-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [],
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"ts-api-utils": "~1.0.1",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/syrup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/test262-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"eslintConfig": {
"extends": [
Expand Down
2 changes: 1 addition & 1 deletion packages/where/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/zip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},
"files": [
"LICENSE*",
Expand Down
Loading

0 comments on commit b480e29

Please sign in to comment.