diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d51587c..dd03624 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,17 +11,17 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v2.3.0 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org # cache: pnpm - name: Cache pnpm modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.pnpm-store key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} @@ -29,9 +29,9 @@ jobs: ${{ runner.os }}- - name: Pnpm install - uses: pnpm/action-setup@v2.0.1 + uses: pnpm/action-setup@v4 with: - version: 6.10.3 + version: 9.4.x run_install: | - recursive: true args: [--frozen-lockfile, --strict-peer-dependencies] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d2c203..b411d93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: - node: ['12.x', '14.x', '16.x'] + node: ['20.x', '21.x', '22.x'] os: - ubuntu-latest # - macOS-latest @@ -15,16 +15,16 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node ${{ matrix.node }} - uses: actions/setup-node@v2.3.0 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} # cache: pnpm - name: Cache pnpm modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.pnpm-store key: ${{ matrix.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} @@ -32,9 +32,9 @@ jobs: ${{ matrix.os }}- - name: Pnpm install - uses: pnpm/action-setup@v2.0.1 + uses: pnpm/action-setup@v4 with: - version: 6.10.3 + version: 9.4.x run_install: | - recursive: true args: [--frozen-lockfile, --strict-peer-dependencies] @@ -50,7 +50,7 @@ jobs: # run: pnpm test -- --check-coverage - name: Test & code coverage - uses: paambaati/codeclimate-action@v2.7.5 + uses: paambaati/codeclimate-action@v2.7.1 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index f4f416b..7bc4519 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -6,7 +6,10 @@ jobs: env: CI_JOB_NUMBER: 1 steps: - - uses: actions/checkout@v1 - - uses: andresz1/size-limit-action@v1 + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Size limit + uses: andresz1/size-limit-action@v1.8.0 with: github_token: ${{ secrets.ACCESS_TOKEN }} diff --git a/README.md b/README.md index b44408a..13fdd47 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,7 @@ function categorySearch (query) { ``` See [search tests](src/search.test.ts) for more examples. Especially -tests for [search](src/search.test.ts#L201) and -[locations](src/search.test.ts#L252) are instructive. +tests for **search** and **locations** are instructive. ## Installation diff --git a/package.json b/package.json index ed29869..9565d95 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/peterhil/ngrammy/issues" }, "engines": { - "node": ">=12" + "node": ">=20" }, "files": [ "dist", @@ -28,7 +28,7 @@ "size": "size-limit", "prepare": "tsc -noEmit && ./build.js", "lint": "eslint", - "coverage": "TS_NODE_PROJECT=tsconfig.test.json tap report --coverage-report=html", + "coverage": "TS_NODE_PROJECT=tsconfig.test.json tap --no-browser --coverage-report=html 'src/**/*.test.ts'", "test": "TS_NODE_PROJECT=tsconfig.test.json tap", "build": "rm -rf dist/* && ./build.js", "dev": "esbuild src/index.ts --bundle --watch --outfile=dev/ngrammy.esm.js" @@ -40,8 +40,8 @@ }, "devDependencies": { "@size-limit/preset-small-lib": "^11.1.4", - "@types/node": "12", - "@types/tap": "^15.0.5", + "@types/node": "^22.5.2", + "@types/tap": "^15.0.12", "@typescript-eslint/eslint-plugin": "^4.28.3", "@typescript-eslint/parser": "^4.28.3", "eslint": "^7.31.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2a507f6..cba112e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,10 +16,10 @@ importers: specifier: ^11.1.4 version: 11.1.4(size-limit@11.1.4) '@types/node': - specifier: '12' - version: 12.20.55 + specifier: ^22.5.2 + version: 22.5.2 '@types/tap': - specifier: ^15.0.5 + specifier: ^15.0.12 version: 15.0.12 '@typescript-eslint/eslint-plugin': specifier: ^4.28.3 @@ -50,10 +50,10 @@ importers: version: 0.5.21 tap: specifier: ^21.0.1 - version: 21.0.1(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@4.9.5) + version: 21.0.1(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@4.9.5) ts-node: specifier: ^10.1.0 - version: 10.9.2(@types/node@12.20.55)(typescript@4.9.5) + version: 10.9.2(@types/node@22.5.2)(typescript@4.9.5) tslib: specifier: ^2.3.0 version: 2.7.0 @@ -561,8 +561,8 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/node@12.20.55': - resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + '@types/node@22.5.2': + resolution: {integrity: sha512-acJsPTEqYqulZS/Yp/S3GgeE6GZ0qYODUR8aVr/DkhHQ8l9nd4j5x1/ZJy9/gHrRlFMqkO6i0I3E27Alu4jjPg==} '@types/tap@15.0.12': resolution: {integrity: sha512-QuVlxQEBOBASkirrwp0ciwO9stIzOdRMHyaYYsexeVSAYwR4sq+YIYaQbVaYXSXi8+yPf22ZZNieRCB8KAJrTA==} @@ -1952,6 +1952,9 @@ packages: uc.micro@2.1.0: resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} + undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} engines: {node: '>=18'} @@ -2204,14 +2207,14 @@ snapshots: wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 - '@isaacs/ts-node-temp-fork-for-pr-2009@10.9.7(@types/node@12.20.55)(typescript@4.9.5)': + '@isaacs/ts-node-temp-fork-for-pr-2009@10.9.7(@types/node@22.5.2)(typescript@4.9.5)': dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node14': 14.1.2 '@tsconfig/node16': 16.1.3 '@tsconfig/node18': 18.2.4 '@tsconfig/node20': 20.1.4 - '@types/node': 12.20.55 + '@types/node': 22.5.2 acorn: 8.12.1 acorn-walk: 8.3.3 arg: 4.1.3 @@ -2220,14 +2223,14 @@ snapshots: typescript: 4.9.5 v8-compile-cache-lib: 3.0.1 - '@isaacs/ts-node-temp-fork-for-pr-2009@10.9.7(@types/node@12.20.55)(typescript@5.5.4)': + '@isaacs/ts-node-temp-fork-for-pr-2009@10.9.7(@types/node@22.5.2)(typescript@5.5.4)': dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node14': 14.1.2 '@tsconfig/node16': 16.1.3 '@tsconfig/node18': 18.2.4 '@tsconfig/node20': 20.1.4 - '@types/node': 12.20.55 + '@types/node': 22.5.2 acorn: 8.12.1 acorn-walk: 8.3.3 arg: 4.1.3 @@ -2389,19 +2392,19 @@ snapshots: '@size-limit/file': 11.1.4(size-limit@11.1.4) size-limit: 11.1.4 - '@tapjs/after-each@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/after-each@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) function-loop: 4.0.0 - '@tapjs/after@3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/after@3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) is-actual-promise: 1.0.2 - '@tapjs/asserts@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tapjs/asserts@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tapjs/stack': 4.0.0 is-actual-promise: 1.0.2 tcompare: 9.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -2410,35 +2413,35 @@ snapshots: - react - react-dom - '@tapjs/before-each@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/before-each@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) function-loop: 4.0.0 - '@tapjs/before@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/before@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) is-actual-promise: 1.0.2 - '@tapjs/chdir@3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/chdir@3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/config@5.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/config@5.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) chalk: 5.3.0 jackspeak: 4.0.1 polite-json: 5.0.0 tap-yaml: 4.0.0 walk-up-path: 4.0.0 - '@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@tapjs/processinfo': 3.1.8 '@tapjs/stack': 4.0.0 - '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) async-hook-domain: 4.0.1 diff: 5.2.0 is-actual-promise: 1.0.2 @@ -2459,33 +2462,33 @@ snapshots: dependencies: minipass: 7.1.2 - '@tapjs/filter@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/filter@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/fixture@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/fixture@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) mkdirp: 3.0.1 rimraf: 6.0.1 - '@tapjs/intercept@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/intercept@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tapjs/stack': 4.0.0 - '@tapjs/mock@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/mock@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tapjs/stack': 4.0.0 resolve-import: 2.0.0 walk-up-path: 4.0.0 - '@tapjs/node-serialize@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/node-serialize@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tapjs/error-serdes': 4.0.0 '@tapjs/stack': 4.0.0 tap-parser: 18.0.0 @@ -2497,10 +2500,10 @@ snapshots: signal-exit: 4.1.0 uuid: 8.3.2 - '@tapjs/reporter@4.0.1(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))': + '@tapjs/reporter@4.0.1(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))': dependencies: - '@tapjs/config': 5.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/config': 5.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tapjs/stack': 4.0.0 chalk: 5.3.0 ink: 5.0.1(react@18.3.1) @@ -2521,17 +2524,17 @@ snapshots: - react-dom - utf-8-validate - '@tapjs/run@4.0.1(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tapjs/run@4.0.1(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/before': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/config': 5.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/before': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/config': 5.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tapjs/processinfo': 3.1.8 - '@tapjs/reporter': 4.0.1(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1)) - '@tapjs/spawn': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/stdin': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/reporter': 4.0.1(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1)) + '@tapjs/spawn': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/stdin': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) c8: 10.1.2 chalk: 5.3.0 chokidar: 3.6.0 @@ -2565,9 +2568,9 @@ snapshots: - supports-color - utf-8-validate - '@tapjs/snapshot@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tapjs/snapshot@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) is-actual-promise: 1.0.2 tcompare: 9.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) trivial-deferred: 2.0.0 @@ -2575,36 +2578,36 @@ snapshots: - react - react-dom - '@tapjs/spawn@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/spawn@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tapjs/stack@4.0.0': {} - '@tapjs/stdin@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': - dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - - '@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@isaacs/ts-node-temp-fork-for-pr-2009': 10.9.7(@types/node@12.20.55)(typescript@5.5.4) - '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/after-each': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/asserts': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/before': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/before-each': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/chdir': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/filter': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/fixture': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/intercept': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/mock': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/node-serialize': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/snapshot': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/spawn': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/stdin': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/typescript': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(typescript@5.5.4) - '@tapjs/worker': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/stdin@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + dependencies: + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + + '@tapjs/test@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@isaacs/ts-node-temp-fork-for-pr-2009': 10.9.7(@types/node@22.5.2)(typescript@5.5.4) + '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/after-each': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/asserts': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/before': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/before-each': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/chdir': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/filter': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/fixture': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/intercept': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/mock': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/node-serialize': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/snapshot': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/spawn': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/stdin': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/typescript': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(typescript@5.5.4) + '@tapjs/worker': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) glob: 11.0.0 jackspeak: 4.0.1 mkdirp: 3.0.1 @@ -2623,29 +2626,29 @@ snapshots: - react - react-dom - '@tapjs/typescript@3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(typescript@4.9.5)': + '@tapjs/typescript@3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(typescript@4.9.5)': dependencies: - '@isaacs/ts-node-temp-fork-for-pr-2009': 10.9.7(@types/node@12.20.55)(typescript@4.9.5) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@isaacs/ts-node-temp-fork-for-pr-2009': 10.9.7(@types/node@22.5.2)(typescript@4.9.5) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - '@types/node' - typescript - '@tapjs/typescript@3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(typescript@5.5.4)': + '@tapjs/typescript@3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(typescript@5.5.4)': dependencies: - '@isaacs/ts-node-temp-fork-for-pr-2009': 10.9.7(@types/node@12.20.55)(typescript@5.5.4) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@isaacs/ts-node-temp-fork-for-pr-2009': 10.9.7(@types/node@22.5.2)(typescript@5.5.4) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - '@types/node' - typescript - '@tapjs/worker@4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@tapjs/worker@4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tsconfig/node10@1.0.11': {} @@ -2678,11 +2681,13 @@ snapshots: '@types/json-schema@7.0.15': {} - '@types/node@12.20.55': {} + '@types/node@22.5.2': + dependencies: + undici-types: 6.19.8 '@types/tap@15.0.12': dependencies: - '@types/node': 12.20.55 + '@types/node': 22.5.2 '@types/unist@3.0.3': {} @@ -4027,27 +4032,27 @@ snapshots: yaml: 2.5.0 yaml-types: 0.4.0(yaml@2.5.0) - tap@21.0.1(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@4.9.5): - dependencies: - '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/after-each': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/asserts': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/before': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/before-each': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/chdir': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/core': 4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/filter': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/fixture': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/intercept': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/mock': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/node-serialize': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/run': 4.0.1(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/snapshot': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/spawn': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/stdin': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tapjs/typescript': 3.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@12.20.55)(typescript@4.9.5) - '@tapjs/worker': 4.0.0(@tapjs/core@4.0.0(@types/node@12.20.55)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + tap@21.0.1(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@4.9.5): + dependencies: + '@tapjs/after': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/after-each': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/asserts': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/before': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/before-each': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/chdir': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/core': 4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/filter': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/fixture': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/intercept': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/mock': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/node-serialize': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/run': 4.0.1(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/snapshot': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/spawn': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/stdin': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@tapjs/test': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tapjs/typescript': 3.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/node@22.5.2)(typescript@4.9.5) + '@tapjs/worker': 4.0.0(@tapjs/core@4.0.0(@types/node@22.5.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) resolve-import: 2.0.0 transitivePeerDependencies: - '@swc/core' @@ -4095,14 +4100,14 @@ snapshots: trivial-deferred@2.0.0: {} - ts-node@10.9.2(@types/node@12.20.55)(typescript@4.9.5): + ts-node@10.9.2(@types/node@22.5.2)(typescript@4.9.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 12.20.55 + '@types/node': 22.5.2 acorn: 8.12.1 acorn-walk: 8.3.3 arg: 4.1.3 @@ -4167,6 +4172,8 @@ snapshots: uc.micro@2.1.0: {} + undici-types@6.19.8: {} + unicorn-magic@0.1.0: {} unique-filename@3.0.0: diff --git a/src/index.ts b/src/index.ts index 1ee595c..6ceb459 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,6 +4,4 @@ import { ngram } from './ngram' export default { Index, ngram, - // @ts-ignore - version: VERSION, } diff --git a/tsconfig.json b/tsconfig.json index 45229fe..32cb192 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,7 +22,7 @@ "isolatedModules": true, "noEmit": true, "noFallthroughCasesInSwitch": true, - "noImplicitAny": true, + "noImplicitAny": false, "noImplicitReturns": true, "noImplicitThis": true, "noUnusedLocals": true, @@ -35,9 +35,5 @@ "strict": true, "strictNullChecks": true, "stripInternal": true - }, - "typedocOptions": { - "entryPoints": ["src/index.ts"], - "out": "docs" } } diff --git a/tsconfig.test.json b/tsconfig.test.json index ae1ed75..dd23727 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -1,11 +1,10 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "declaration": false, "inlineSourceMap": true, "module": "commonjs", - "noImplicitAny": false, "removeComments": true, + "sourceMap": false, "target": "es6", "lib": ["es2019"], } diff --git a/typedoc.js b/typedoc.js index e62887e..d093cc4 100644 --- a/typedoc.js +++ b/typedoc.js @@ -1,15 +1,15 @@ module.exports = { - // entryPoints: [ - // 'src/search.ts', - // 'src/ngram.ts', - // 'src/utils/helpers.ts', - // 'src/utils/testutils.ts', - // ], + entryPoints: [ + 'src/commonTypes.ts', + 'src/index.ts', + 'src/ngram.ts', + 'src/search.ts', + ], out: 'docs', // hideGenerator: true, // highlightTheme: 'monokai', includeVersion: true, - markedOptions: { + markdownItOptions: { baseUrl: 'https://peterhil.github.io/ngrammy/', }, name: 'Ngrammy',