Skip to content

Commit

Permalink
Merge pull request #1342 from endojs/bump-types-deps
Browse files Browse the repository at this point in the history
Bump types deps
  • Loading branch information
turadg authored Oct 28, 2022
2 parents 6df2e00 + e55b63d commit 382ff4a
Show file tree
Hide file tree
Showing 34 changed files with 61 additions and 55 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"eslint-plugin-prettier": "^3.4.1",
"lerna": "^3.19.0",
"lerna-update-wizard": "^0.17.5",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"scripts": {
"clean": "lerna clean",
Expand Down
2 changes: 1 addition & 1 deletion packages/base64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
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 @@ -55,7 +55,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -40,7 +40,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -43,7 +43,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
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 @@ -58,7 +58,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -57,7 +57,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
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 @@ -34,7 +34,7 @@
"@endo/ses-ava": "^0.2.35",
"ava": "^3.12.1",
"c8": "^7.7.3",
"tsd": "^0.19.1"
"tsd": "^0.24.1"
},
"keywords": [
"eventual send",
Expand Down
1 change: 1 addition & 0 deletions packages/lockdown/pre.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// pre.js - set up the default lockdown function
// @ts-nocheck
/* global globalThis LOCKDOWN_OPTIONS process */

import 'ses';
Expand Down
2 changes: 1 addition & 1 deletion packages/lp32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/lp32/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { details: X, quote: q } = assert;

/**
* @param {Iterable<Uint8Array> | AsyncIterable<Uint8Array>} reader
* @param {Object} [opts]
* @param {Object} opts
* @param {string=} [opts.name]
* @param {number} [opts.maxMessageLength] - defaults to 1MB
* @param {boolean=} [opts.littleEndian]
Expand Down
2 changes: 1 addition & 1 deletion packages/lp32/writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { details: X, quote: q } = assert;

/**
* @param {import('@endo/stream').Writer<Uint8Array, undefined>} output
* @param {Object} [opts]
* @param {Object} opts
* @param {number} [opts.maxMessageLength] - defaults to 1MB
* @param {string} [opts.name]
* @param {boolean} [opts.littleEndian] - defaults to host byte order
Expand Down
20 changes: 11 additions & 9 deletions packages/marshal/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
// This file can contain .js-specific Typescript compiler config.
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",

"checkJs": true,
"noEmit": true,
/*
// The following flags are for creating .d.ts files:
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
*/
"downlevelIteration": true,
"strictNullChecks": true,
"moduleResolution": "node",
"types": [
"node"
]
},
"include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts", "test/**/*.js"]
"include": [
"*.js",
"*.ts",
"src/**/*.js",
"src/**/*.ts",
"test/**/*.js"
]
}
4 changes: 2 additions & 2 deletions packages/marshal/src/encodeToCapData.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const dontEncodeErrorToCapData = err =>
assert.fail(X`error object unexpected: ${err}`);

/**
* @param {EncodeToCapDataOptions} [encodeOptions]
* @param {EncodeToCapDataOptions} encodeOptions
* @returns {(passable: Passable) => Encoding}
*/
export const makeEncodeToCapData = ({
Expand Down Expand Up @@ -308,7 +308,7 @@ const dontDecodeErrorFromCapData = errorEncoding =>
* API where these can reliably differ.
* See https://github.com/Agoric/agoric-sdk/issues/4334
*
* @param {DecodeOptions} [decodeOptions]
* @param {DecodeOptions} decodeOptions
* @returns {(encoded: Encoding) => Passable}
*/
export const makeDecodeFromCapData = ({
Expand Down
4 changes: 2 additions & 2 deletions packages/marshal/src/encodeToSmallcaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const dontEncodeErrorToSmallcaps = err =>
assert.fail(X`error object unexpected: ${q(err)}`);

/**
* @param {EncodeToSmallcapsOptions} [encodeOptions]
* @param {EncodeToSmallcapsOptions} encodeOptions
* @returns {(passable: Passable) => SmallcapsEncoding}
*/
export const makeEncodeToSmallcaps = ({
Expand Down Expand Up @@ -343,7 +343,7 @@ const dontDecodeErrorFromSmallcaps = encoding =>
assert.fail(X`error unexpected: ${q(encoding)}`);

/**
* @param {DecodeFromSmallcapsOptions=} decodeOptions
* @param {DecodeFromSmallcapsOptions} decodeOptions
* @returns {(encoded: SmallcapsEncoding) => Passable}
*/
export const makeDecodeFromSmallcaps = ({
Expand Down
2 changes: 1 addition & 1 deletion packages/marshal/src/marshal.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const defaultSlotToValFn = (x, _) => x;
* @template Slot
* @param {ConvertValToSlot<Slot>} [convertValToSlot]
* @param {ConvertSlotToVal<Slot>} [convertSlotToVal]
* @param {MakeMarshalOptions} [options]
* @param {MakeMarshalOptions} options
*/
export const makeMarshal = (
convertValToSlot = defaultValToSlotFn,
Expand Down
1 change: 1 addition & 0 deletions packages/marshal/test/prepare-test-env-ava.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-nocheck
import '@endo/init/debug.js';

import { wrapTest } from '@endo/ses-ava';
Expand Down
1 change: 1 addition & 0 deletions packages/marshal/test/test-dot-membrane.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ test('test dot-membrane basics', t => {
const yellow88 = [88];
const yellow99 = [99];
yellowSetState(yellow88);
assert(blueState);
t.is(blueState[0], 88);
t.not(blueState, yellow88);
revoke('Halt!');
Expand Down
5 changes: 3 additions & 2 deletions packages/marshal/test/test-passStyleOf.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ test('some passStyleOf rejections', t => {
});

const prbad2 = Promise.resolve();
// @ts-expect-error unknown property
prbad2.extra = 'unexpected own property';
harden(prbad2);
t.throws(() => passStyleOf(prbad2), {
Expand Down Expand Up @@ -102,7 +103,7 @@ const makeTagishRecord = (tag = 'Remotable', proto = undefined) => {
};

test('passStyleOf testing tagged records', t => {
const makeTagRecordVariant = (payload, proto = undefined) => {
const makeTagRecordVariant = (payload, proto) => {
const record = Object.create(
proto === undefined ? Object.prototype : proto,
{
Expand Down Expand Up @@ -304,7 +305,7 @@ test('passStyleOf testing remotables', t => {
message: 'Unexpected properties on Remotable Proto ["extra"]',
});

passStyleOf(harden({ __proto__: Object.prototype }), 'copyRecord');
t.is(passStyleOf(harden({ __proto__: Object.prototype })), 'copyRecord');

const farObjC = harden({
__proto__: Object.prototype,
Expand Down
2 changes: 1 addition & 1 deletion packages/netstring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/netstring/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const NINE = '9'.charCodeAt(0);

/**
* @param {Iterable<Uint8Array> | AsyncIterable<Uint8Array>} input
* @param {Object} [opts]
* @param {Object} opts
* @param {string} [opts.name]
* @param {number} [opts.maxMessageLength]
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/netstring/writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const getLengthPrefixCharCodes = length =>
* to avoid pre-concatenating them.
*
* @param {import('@endo/stream').Writer<Uint8Array, undefined>} output
* @param {object} [opts]
* @param {object} opts
* @param {boolean} [opts.chunked]
* @returns {import('@endo/stream').Writer<Uint8Array | Uint8Array[], undefined>}
*/
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 @@ -54,7 +54,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -47,7 +47,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
Expand Down
4 changes: 2 additions & 2 deletions packages/ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"prettier": "^1.19.1",
"sinon": "8.0.4",
"terser": "^4.8.0",
"tsd": "^0.19.1",
"typescript": "~4.6.2"
"tsd": "^0.24.1",
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/static-module-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
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 @@ -57,7 +57,7 @@
"eslint-plugin-jsdoc": "^30.4.2",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -38,7 +38,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -58,7 +58,7 @@
"eslint-plugin-jsdoc": "^30.4.2",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -47,7 +47,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion packages/where/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"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 @@ -46,7 +46,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},
"files": [
"LICENSE*",
Expand Down
2 changes: 1 addition & 1 deletion scripts/repackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ NEWPKGJSONHASH=$(
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1",
"typescript": "~4.6.2",
"typescript": "~4.8.4",
"ava": "^3.12.1",
}) | to_entries | sort_by(.key) | from_entries,
files: ((.files // []) + [
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2047,10 +2047,10 @@
dependencies:
defer-to-connect "^1.0.1"

"@tsd/typescript@~4.5.2":
version "4.5.5"
resolved "https://registry.yarnpkg.com/@tsd/typescript/-/typescript-4.5.5.tgz#23fc27852d53987c4ba83bd3a9c1a6a24e957764"
integrity sha512-TxQ9QiUT94ZjKu++ta/iwTMVHsix4ApohnaHPTSd58WQuTjPIELP0tUYcW7lT6psz7yZiU4eRw+X4v/XV830Sw==
"@tsd/typescript@~4.8.3":
version "4.8.4"
resolved "https://registry.yarnpkg.com/@tsd/typescript/-/typescript-4.8.4.tgz#96542c111c98f0ece27303a5e3fa7ca68428a37e"
integrity sha512-WMFNVstwWGyDuZP2LGPRZ+kPHxZLmhO+2ormstDvnXiyoBPtW1qq9XhhrkI4NVtxgs+2ZiUTl9AG7nNIRq/uCg==

"@types/eslint@^7.2.13":
version "7.29.0"
Expand Down Expand Up @@ -12523,12 +12523,12 @@ tsconfig-paths@^3.14.1:
minimist "^1.2.6"
strip-bom "^3.0.0"

tsd@^0.19.1:
version "0.19.1"
resolved "https://registry.yarnpkg.com/tsd/-/tsd-0.19.1.tgz#c37891ad907d6ce2122e4a20c99cceca5767d713"
integrity sha512-pSwchclr+ADdxlahRUQXUrdAIOjXx1T1PQV+fLfVLuo/S4z+T00YU84fH8iPlZxyA2pWgJjo42BG1p9SDb4NOw==
tsd@^0.24.1:
version "0.24.1"
resolved "https://registry.yarnpkg.com/tsd/-/tsd-0.24.1.tgz#10c596acf7278182d3ca142b902ca9a62b1f13ef"
integrity sha512-sD+s81/2aM4RRhimCDttd4xpBNbUFWnoMSHk/o8kC8Ek23jljeRNWjsxFJmOmYLuLTN9swRt1b6iXfUXTcTiIA==
dependencies:
"@tsd/typescript" "~4.5.2"
"@tsd/typescript" "~4.8.3"
eslint-formatter-pretty "^4.1.0"
globby "^11.0.1"
meow "^9.0.0"
Expand Down Expand Up @@ -12640,10 +12640,10 @@ typescript@^3.7.2:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==

typescript@~4.6.2:
version "4.6.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==
typescript@~4.8.4:
version "4.8.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6"
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==

uglify-js@^3.1.4:
version "3.17.2"
Expand Down

0 comments on commit 382ff4a

Please sign in to comment.