From b017f8aed01e3c4c5eea0398989ca8e0c3bf7181 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 10 Oct 2023 16:43:56 +1300 Subject: [PATCH] update effect & rename Bigint to BigInt (#32) --- .changeset/eighty-onions-learn.md | 5 + .changeset/fresh-bananas-collect.md | 5 + .gitignore | 1 + .../data/{Bigint.ts.md => BigInt.ts.md} | 14 +- package.json | 38 +- pnpm-lock.yaml | 427 +++++++++++------- scripts/clean.mjs | 1 + src/data/{Bigint.ts => BigInt.ts} | 26 +- test/data/{Bigint.ts => BigInt.ts} | 2 +- 9 files changed, 318 insertions(+), 201 deletions(-) create mode 100644 .changeset/eighty-onions-learn.md create mode 100644 .changeset/fresh-bananas-collect.md rename docs/modules/data/{Bigint.ts.md => BigInt.ts.md} (85%) rename src/data/{Bigint.ts => BigInt.ts} (81%) rename test/data/{Bigint.ts => BigInt.ts} (85%) diff --git a/.changeset/eighty-onions-learn.md b/.changeset/eighty-onions-learn.md new file mode 100644 index 0000000..c4db41d --- /dev/null +++ b/.changeset/eighty-onions-learn.md @@ -0,0 +1,5 @@ +--- +"@effect/typeclass": minor +--- + +rename Bigint to BigInt diff --git a/.changeset/fresh-bananas-collect.md b/.changeset/fresh-bananas-collect.md new file mode 100644 index 0000000..917700c --- /dev/null +++ b/.changeset/fresh-bananas-collect.md @@ -0,0 +1,5 @@ +--- +"@effect/typeclass": minor +--- + +update effect diff --git a/.gitignore b/.gitignore index bc852a7..5718499 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ dist/ .direnv/ # files +/src/tsconfig.json /dist /Alternative /Applicative diff --git a/docs/modules/data/Bigint.ts.md b/docs/modules/data/BigInt.ts.md similarity index 85% rename from docs/modules/data/Bigint.ts.md rename to docs/modules/data/BigInt.ts.md index 82c06c0..7c949ed 100644 --- a/docs/modules/data/Bigint.ts.md +++ b/docs/modules/data/BigInt.ts.md @@ -1,10 +1,10 @@ --- -title: data/Bigint.ts +title: data/BigInt.ts nav_order: 9 parent: Modules --- -## Bigint overview +## BigInt overview Added in v1.0.0 @@ -39,7 +39,7 @@ export declare const MonoidMultiply: monoid.Monoid **Example** ```ts -import { MonoidMultiply } from '@effect/typeclass/data/Bigint' +import { MonoidMultiply } from '@effect/typeclass/data/BigInt' assert.deepStrictEqual(MonoidMultiply.combine(2n, 3n), 6n) assert.deepStrictEqual(MonoidMultiply.combine(2n, MonoidMultiply.empty), 2n) @@ -62,7 +62,7 @@ export declare const MonoidSum: monoid.Monoid **Example** ```ts -import { MonoidSum } from '@effect/typeclass/data/Bigint' +import { MonoidSum } from '@effect/typeclass/data/BigInt' assert.deepStrictEqual(MonoidSum.combine(2n, 3n), 5n) assert.deepStrictEqual(MonoidSum.combine(2n, MonoidSum.empty), 2n) @@ -83,7 +83,7 @@ export declare const SemigroupMax: semigroup.Semigroup **Example** ```ts -import { SemigroupMax } from '@effect/typeclass/data/Bigint' +import { SemigroupMax } from '@effect/typeclass/data/BigInt' assert.deepStrictEqual(SemigroupMax.combine(2n, 3n), 3n) ``` @@ -103,7 +103,7 @@ export declare const SemigroupMin: semigroup.Semigroup **Example** ```ts -import { SemigroupMin } from '@effect/typeclass/data/Bigint' +import { SemigroupMin } from '@effect/typeclass/data/BigInt' assert.deepStrictEqual(SemigroupMin.combine(2n, 3n), 2n) ``` @@ -135,7 +135,7 @@ export declare const SemigroupSum: semigroup.Semigroup **Example** ```ts -import { SemigroupSum } from '@effect/typeclass/data/Bigint' +import { SemigroupSum } from '@effect/typeclass/data/BigInt' assert.deepStrictEqual(SemigroupSum.combine(2n, 3n), 5n) ``` diff --git a/package.json b/package.json index 0b09bb1..c47a839 100644 --- a/package.json +++ b/package.json @@ -52,42 +52,42 @@ "generateIndex": false }, "peerDependencies": { - "effect": "2.0.0-next.47" + "effect": "2.0.0-next.48" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-typescript": "^7.23.0", "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.2", - "@definitelytyped/dtslint": "^0.0.163", - "@effect/build-utils": "^0.1.6", + "@definitelytyped/dtslint": "^0.0.182", + "@effect/build-utils": "^0.1.9", "@effect/docgen": "^0.1.8", "@effect/eslint-plugin": "^0.1.2", "@effect/language-service": "^0.0.21", "@preconstruct/cli": "^2.8.1", - "@types/chai": "^4.3.5", - "@types/node": "^20.4.1", - "@typescript-eslint/eslint-plugin": "^6.7.4", - "@typescript-eslint/parser": "^6.7.4", - "@vitejs/plugin-react": "^4.0.2", - "@vitest/coverage-v8": "^0.33.0", + "@types/chai": "^4.3.7", + "@types/node": "^20.8.4", + "@typescript-eslint/eslint-plugin": "^6.7.5", + "@typescript-eslint/parser": "^6.7.5", + "@vitejs/plugin-react": "^4.1.0", + "@vitest/coverage-v8": "^0.34.6", "babel-plugin-annotate-pure-calls": "^0.4.0", - "concurrently": "^8.2.0", - "effect": "2.0.0-next.47", + "concurrently": "^8.2.1", + "effect": "2.0.0-next.48", "error-stack-parser": "^2.1.4", - "eslint": "^8.50.0", + "eslint": "^8.51.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-codegen": "0.17.0", "eslint-plugin-deprecation": "^2.0.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-sort-destructure-keys": "^1.5.0", - "fast-check": "^3.11.0", + "fast-check": "^3.13.1", "madge": "^6.1.0", "stackframe": "^1.3.4", "ts-node": "^10.9.1", "typescript": "^5.2.2", - "vite": "^4.4.10", + "vite": "^4.4.11", "vitest": "0.34.6" }, "files": [ @@ -271,11 +271,11 @@ "import": "./TraversableFilterable/dist/effect-typeclass-TraversableFilterable.cjs.mjs", "default": "./TraversableFilterable/dist/effect-typeclass-TraversableFilterable.cjs.js" }, - "./data/Bigint": { - "types": "./dist/declarations/src/data/Bigint.d.ts", - "module": "./data/Bigint/dist/effect-typeclass-data-Bigint.esm.js", - "import": "./data/Bigint/dist/effect-typeclass-data-Bigint.cjs.mjs", - "default": "./data/Bigint/dist/effect-typeclass-data-Bigint.cjs.js" + "./data/BigInt": { + "types": "./dist/declarations/src/data/BigInt.d.ts", + "module": "./data/BigInt/dist/effect-typeclass-data-BigInt.esm.js", + "import": "./data/BigInt/dist/effect-typeclass-data-BigInt.cjs.mjs", + "default": "./data/BigInt/dist/effect-typeclass-data-BigInt.cjs.js" }, "./data/Boolean": { "types": "./dist/declarations/src/data/Boolean.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86160f3..2904fb5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,14 +18,14 @@ devDependencies: specifier: ^2.26.2 version: 2.26.2 '@definitelytyped/dtslint': - specifier: ^0.0.163 - version: 0.0.163(typescript@5.2.2) + specifier: ^0.0.182 + version: 0.0.182(typescript@5.2.2) '@effect/build-utils': - specifier: ^0.1.6 - version: 0.1.6 + specifier: ^0.1.9 + version: 0.1.9 '@effect/docgen': specifier: ^0.1.8 - version: 0.1.8(@types/node@20.4.1)(typescript@5.2.2) + version: 0.1.8(@types/node@20.8.4)(typescript@5.2.2) '@effect/eslint-plugin': specifier: ^0.1.2 version: 0.1.2 @@ -36,59 +36,59 @@ devDependencies: specifier: ^2.8.1 version: 2.8.1 '@types/chai': - specifier: ^4.3.5 - version: 4.3.5 + specifier: ^4.3.7 + version: 4.3.7 '@types/node': - specifier: ^20.4.1 - version: 20.4.1 + specifier: ^20.8.4 + version: 20.8.4 '@typescript-eslint/eslint-plugin': - specifier: ^6.7.4 - version: 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.50.0)(typescript@5.2.2) + specifier: ^6.7.5 + version: 6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2) '@typescript-eslint/parser': - specifier: ^6.7.4 - version: 6.7.4(eslint@8.50.0)(typescript@5.2.2) + specifier: ^6.7.5 + version: 6.7.5(eslint@8.51.0)(typescript@5.2.2) '@vitejs/plugin-react': - specifier: ^4.0.2 - version: 4.0.2(vite@4.4.10) + specifier: ^4.1.0 + version: 4.1.0(vite@4.4.11) '@vitest/coverage-v8': - specifier: ^0.33.0 - version: 0.33.0(vitest@0.34.6) + specifier: ^0.34.6 + version: 0.34.6(vitest@0.34.6) babel-plugin-annotate-pure-calls: specifier: ^0.4.0 version: 0.4.0(@babel/core@7.23.0) concurrently: - specifier: ^8.2.0 - version: 8.2.0 + specifier: ^8.2.1 + version: 8.2.1 effect: - specifier: 2.0.0-next.47 - version: 2.0.0-next.47 + specifier: 2.0.0-next.48 + version: 2.0.0-next.48 error-stack-parser: specifier: ^2.1.4 version: 2.1.4 eslint: - specifier: ^8.50.0 - version: 8.50.0 + specifier: ^8.51.0 + version: 8.51.0 eslint-import-resolver-typescript: specifier: ^3.6.1 - version: 3.6.1(@typescript-eslint/parser@6.7.4)(eslint-plugin-import@2.28.1)(eslint@8.50.0) + version: 3.6.1(@typescript-eslint/parser@6.7.5)(eslint-plugin-import@2.28.1)(eslint@8.51.0) eslint-plugin-codegen: specifier: 0.17.0 version: 0.17.0 eslint-plugin-deprecation: specifier: ^2.0.0 - version: 2.0.0(eslint@8.50.0)(typescript@5.2.2) + version: 2.0.0(eslint@8.51.0)(typescript@5.2.2) eslint-plugin-import: specifier: ^2.28.1 - version: 2.28.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) + version: 2.28.1(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) eslint-plugin-simple-import-sort: specifier: ^10.0.0 - version: 10.0.0(eslint@8.50.0) + version: 10.0.0(eslint@8.51.0) eslint-plugin-sort-destructure-keys: specifier: ^1.5.0 - version: 1.5.0(eslint@8.50.0) + version: 1.5.0(eslint@8.51.0) fast-check: - specifier: ^3.11.0 - version: 3.11.0 + specifier: ^3.13.1 + version: 3.13.1 madge: specifier: ^6.1.0 version: 6.1.0(typescript@5.2.2) @@ -97,13 +97,13 @@ devDependencies: version: 1.3.4 ts-node: specifier: ^10.9.1 - version: 10.9.1(@types/node@20.4.1)(typescript@5.2.2) + version: 10.9.1(@types/node@20.8.4)(typescript@5.2.2) typescript: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^4.4.10 - version: 4.4.10(@types/node@20.4.1) + specifier: ^4.4.11 + version: 4.4.11(@types/node@20.8.4) vitest: specifier: 0.34.6 version: 0.34.6 @@ -685,38 +685,38 @@ packages: '@jridgewell/trace-mapping': 0.3.9 dev: true - /@definitelytyped/dts-critic@0.0.163(typescript@5.2.2): - resolution: {integrity: sha512-HsTvylj8x2gQaawsOCcN2Xk2Cx0wgV9kaj83hgsO9SITZSPd7dA0UkHyNRadbMkMwqNDKcnizcmWdz0+0gIo8A==} + /@definitelytyped/dts-critic@0.0.178(typescript@5.2.2): + resolution: {integrity: sha512-1JiY6giD2qLYxDPSWPbZiICzmTX+cHBNMXf09SeY6CJX0kZPcAkX+Uhc64HSqlhutECRWy7SdQCp/NP3xVOt4Q==} engines: {node: '>=10.17.0'} peerDependencies: typescript: '*' dependencies: - '@definitelytyped/header-parser': 0.0.163 + '@definitelytyped/header-parser': 0.0.178 command-exists: 1.2.9 rimraf: 3.0.2 - semver: 6.3.1 + semver: 7.5.4 tmp: 0.2.1 typescript: 5.2.2 yargs: 15.4.1 dev: true - /@definitelytyped/dtslint@0.0.163(typescript@5.2.2): - resolution: {integrity: sha512-U0uw7Zu0QdYSuBMYgxvRYjkhkeulTEg8vDgJ7TiYQUv/wODeujSAmGahQn51E5hOlSMYUw7A9utdbUukxE02SQ==} + /@definitelytyped/dtslint@0.0.182(typescript@5.2.2): + resolution: {integrity: sha512-88t3yXrqXQbw+KmAY7D+PHJnC2BTzEZPxy7UvtksqrDL1RWLUxXKuG33/+0w36T3qDsdQTiqNBdLbAI+uzxsEA==} engines: {node: '>=10.0.0'} hasBin: true peerDependencies: typescript: '>= 3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.7.0-dev || >= 3.8.0-dev || >= 3.9.0-dev || >= 4.0.0-dev || >=5.0.0-dev' dependencies: - '@definitelytyped/dts-critic': 0.0.163(typescript@5.2.2) - '@definitelytyped/header-parser': 0.0.163 - '@definitelytyped/typescript-versions': 0.0.163 - '@definitelytyped/utils': 0.0.163 - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.50.0)(typescript@5.2.2) - '@typescript-eslint/parser': 5.62.0(eslint@8.50.0)(typescript@5.2.2) + '@definitelytyped/dts-critic': 0.0.178(typescript@5.2.2) + '@definitelytyped/header-parser': 0.0.178 + '@definitelytyped/typescript-versions': 0.0.178 + '@definitelytyped/utils': 0.0.178 + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/parser': 5.62.0(eslint@8.51.0)(typescript@5.2.2) '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.50.0)(typescript@5.2.2) - eslint: 8.50.0 + '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) + eslint: 8.51.0 fs-extra: 6.0.1 json-stable-stringify: 1.0.2 strip-json-comments: 2.0.1 @@ -727,22 +727,22 @@ packages: - supports-color dev: true - /@definitelytyped/header-parser@0.0.163: - resolution: {integrity: sha512-Jr+/q+ESfc7uWldz/j11BfpjIN/gB4WmwhFENhWaMwM0W/9p0ShF+OiUqGhk2Q3Iz8v/oyWzSsxyxgasg9kCxQ==} + /@definitelytyped/header-parser@0.0.178: + resolution: {integrity: sha512-16FFuaWW2Hq+a0Abyt+9gvPAT0w/ezy4eph3RbtLSqxH3T/UHDla1jgnp1DMvfNeBWaIqHxcr+Vrr7BPquw7mw==} dependencies: - '@definitelytyped/typescript-versions': 0.0.163 + '@definitelytyped/typescript-versions': 0.0.178 '@types/parsimmon': 1.10.7 parsimmon: 1.18.1 dev: true - /@definitelytyped/typescript-versions@0.0.163: - resolution: {integrity: sha512-+GWtJhC+7UaCUnJ+ZkA7bfGuPd6ZbJKEjbHqh76/gOXsqAUOMEa49ufsLlIPUbkEeQlnDNoTHCegE5X/Q+u+/A==} + /@definitelytyped/typescript-versions@0.0.178: + resolution: {integrity: sha512-pPXy3z5gE4xnVgqIRApFcQ6M6kqtRK1gnqyGx/I0Yo1CH8RAsRvumCDB/KiZmQDpCHiy//E9dOIUFdquvC5t7g==} dev: true - /@definitelytyped/utils@0.0.163: - resolution: {integrity: sha512-6MX5TxaQbG/j2RkCWbcbLvv+YNipKqY0eQJafDhwC/RprUocpg+uYVNlH8XzdKRWOGJ0pq7SZOsJD4C3A01ZXg==} + /@definitelytyped/utils@0.0.178: + resolution: {integrity: sha512-nYg3E51XpTodS0/5w5r1wM/DhPYhyqa9BP8ili4XgB5s9j4v4mDPX9Jwjns2q24derBvyhdUpzshKDh43aqwZw==} dependencies: - '@definitelytyped/typescript-versions': 0.0.163 + '@definitelytyped/typescript-versions': 0.0.178 '@qiwi/npm-registry-client': 8.9.1 '@types/node': 14.18.63 charm: 1.0.2 @@ -768,13 +768,13 @@ packages: resolution: {integrity: sha512-rPwwm/RrFIolz6xHa8Kzpshuwpe+xu/XcEw9iUmRF2tnyIwxxaW7XoFKaQ+GfPju81cKpH4vJeq7/2IizKvyjg==} dev: true - /@effect/build-utils@0.1.6: - resolution: {integrity: sha512-WOtpszUuQiTJsO4x+9ek28I99qvCdLsp6em75KWJXt4kRb41/1F3UsljZ+F0BGsCQWlPINw0nDTRSd6LRRWlMw==} + /@effect/build-utils@0.1.9: + resolution: {integrity: sha512-PmgMZxGgk5lweaYZpR/kC09eZpXOEth9hShr8xn5a5m4S7RiMUu7O1h19Tx/i2ZgpLa/GK1405nkROT5+5z8Sg==} engines: {node: '>=16.17.1'} hasBin: true dev: true - /@effect/docgen@0.1.8(@types/node@20.4.1)(typescript@5.2.2): + /@effect/docgen@0.1.8(@types/node@20.8.4)(typescript@5.2.2): resolution: {integrity: sha512-o3iLXvbkkxEuRUnJ6hJDEXHfeDfA86iVkQm/s8heWQQgD7UBZ7TTWkDIobFaXRKU8qKoCKPSgmLlSq0F3IsBgw==} engines: {node: '>=16.17.1'} hasBin: true @@ -788,7 +788,7 @@ packages: prettier: 2.8.8 rimraf: 5.0.5 ts-morph: 19.0.0 - ts-node: 10.9.1(@types/node@20.4.1)(typescript@5.2.2) + ts-node: 10.9.1(@types/node@20.8.4)(typescript@5.2.2) tsconfck: 2.1.2(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: @@ -1007,13 +1007,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.50.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.51.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.50.0 + eslint: 8.51.0 eslint-visitor-keys: 3.4.3 dev: true @@ -1029,7 +1029,7 @@ packages: ajv: 6.12.6 debug: 4.3.4 espree: 9.6.1 - globals: 13.22.0 + globals: 13.23.0 ignore: 5.2.4 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -1039,8 +1039,8 @@ packages: - supports-color dev: true - /@eslint/js@8.50.0: - resolution: {integrity: sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==} + /@eslint/js@8.51.0: + resolution: {integrity: sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -1094,7 +1094,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.2 - '@types/node': 20.4.1 + '@types/node': 20.8.4 '@types/yargs': 15.0.16 chalk: 4.1.2 dev: true @@ -1367,14 +1367,43 @@ packages: resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} dev: true + /@types/babel__core@7.20.2: + resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} + dependencies: + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 + '@types/babel__generator': 7.6.5 + '@types/babel__template': 7.4.2 + '@types/babel__traverse': 7.20.2 + dev: true + + /@types/babel__generator@7.6.5: + resolution: {integrity: sha512-h9yIuWbJKdOPLJTbmSpPzkF67e659PbQDba7ifWm5BJ8xTv+sDmS7rFmywkWOvXedGTivCdeGSIIX8WLcRTz8w==} + dependencies: + '@babel/types': 7.23.0 + dev: true + + /@types/babel__template@7.4.2: + resolution: {integrity: sha512-/AVzPICMhMOMYoSx9MoKpGDKdBRsIXMNByh1PXSZoa+v6ZoLa8xxtsT/uLQ/NJm0XVAWl/BvId4MlDeXJaeIZQ==} + dependencies: + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 + dev: true + + /@types/babel__traverse@7.20.2: + resolution: {integrity: sha512-ojlGK1Hsfce93J0+kn3H5R73elidKUaZonirN33GSmgTUMpzI/MIFfSpF3haANe3G1bEBS9/9/QEqwTzwqFsKw==} + dependencies: + '@babel/types': 7.23.0 + dev: true + /@types/chai-subset@1.3.3: resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} dependencies: - '@types/chai': 4.3.5 + '@types/chai': 4.3.7 dev: true - /@types/chai@4.3.5: - resolution: {integrity: sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==} + /@types/chai@4.3.7: + resolution: {integrity: sha512-/k+vesl92vMvMygmQrFe9Aimxi6oQXFUX9mA5HanTrKUSAMoLauSi6PNFOdRw0oeqilaW600GNx2vSaT2f8aIQ==} dev: true /@types/estree@0.0.39: @@ -1427,8 +1456,10 @@ packages: resolution: {integrity: sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==} dev: true - /@types/node@20.4.1: - resolution: {integrity: sha512-JIzsAvJeA/5iY6Y/OxZbv1lUcc8dNSE77lb2gnBH+/PJ3lFR1Ccvgwl5JWnHAkNHcRsT0TbpVOsiMKZ1F/yyJg==} + /@types/node@20.8.4: + resolution: {integrity: sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==} + dependencies: + undici-types: 5.25.3 dev: true /@types/normalize-package-data@2.4.2: @@ -1442,7 +1473,7 @@ packages: /@types/resolve@1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 20.4.1 + '@types/node': 20.8.4 dev: true /@types/semver@7.5.3: @@ -1463,7 +1494,7 @@ packages: '@types/yargs-parser': 21.0.1 dev: true - /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.50.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.51.0)(typescript@5.2.2): resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1475,12 +1506,12 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 5.62.0(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/parser': 5.62.0(eslint@8.51.0)(typescript@5.2.2) '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@8.50.0)(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/type-utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) debug: 4.3.4 - eslint: 8.50.0 + eslint: 8.51.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare-lite: 1.4.0 @@ -1491,8 +1522,8 @@ packages: - supports-color dev: true - /@typescript-eslint/eslint-plugin@6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.50.0)(typescript@5.2.2): - resolution: {integrity: sha512-DAbgDXwtX+pDkAHwiGhqP3zWUGpW49B7eqmgpPtg+BKJXwdct79ut9+ifqOFPJGClGKSHXn2PTBatCnldJRUoA==} + /@typescript-eslint/eslint-plugin@6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-JhtAwTRhOUcP96D0Y6KYnwig/MRQbOoLGXTON2+LlyB/N35SP9j1boai2zzwXb7ypKELXMx3DVk9UTaEq1vHEw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1503,13 +1534,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 6.7.4(eslint@8.50.0)(typescript@5.2.2) - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/type-utils': 6.7.4(eslint@8.50.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.50.0)(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/parser': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/type-utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 - eslint: 8.50.0 + eslint: 8.51.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 @@ -1520,7 +1551,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@5.62.0(eslint@8.50.0)(typescript@5.2.2): + /@typescript-eslint/parser@5.62.0(eslint@8.51.0)(typescript@5.2.2): resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1534,14 +1565,14 @@ packages: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) debug: 4.3.4 - eslint: 8.50.0 + eslint: 8.51.0 typescript: 5.2.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@6.7.4(eslint@8.50.0)(typescript@5.2.2): - resolution: {integrity: sha512-I5zVZFY+cw4IMZUeNCU7Sh2PO5O57F7Lr0uyhgCJmhN/BuTlnc55KxPonR4+EM3GBdfiCyGZye6DgMjtubQkmA==} + /@typescript-eslint/parser@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-bIZVSGx2UME/lmhLcjdVc7ePBwn7CLqKarUBL4me1C5feOd663liTGjMBGVcGr+BhnSLeP4SgwdvNnnkbIdkCw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1550,12 +1581,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 - eslint: 8.50.0 + eslint: 8.51.0 typescript: 5.2.2 transitivePeerDependencies: - supports-color @@ -1577,7 +1608,15 @@ packages: '@typescript-eslint/visitor-keys': 6.7.4 dev: true - /@typescript-eslint/type-utils@5.62.0(eslint@8.50.0)(typescript@5.2.2): + /@typescript-eslint/scope-manager@6.7.5: + resolution: {integrity: sha512-GAlk3eQIwWOJeb9F7MKQ6Jbah/vx1zETSDw8likab/eFcqkjSD7BI75SDAeC5N2L0MmConMoPvTsmkrg71+B1A==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 + dev: true + + /@typescript-eslint/type-utils@5.62.0(eslint@8.51.0)(typescript@5.2.2): resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1588,17 +1627,17 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) debug: 4.3.4 - eslint: 8.50.0 + eslint: 8.51.0 tsutils: 3.21.0(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/type-utils@6.7.4(eslint@8.50.0)(typescript@5.2.2): - resolution: {integrity: sha512-n+g3zi1QzpcAdHFP9KQF+rEFxMb2KxtnJGID3teA/nxKHOVi3ylKovaqEzGBbVY2pBttU6z85gp0D00ufLzViQ==} + /@typescript-eslint/type-utils@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-Gs0qos5wqxnQrvpYv+pf3XfcRXW6jiAn9zE/K+DlmYf6FcpxeNYN0AIETaPR7rHO4K2UY+D0CIbDP9Ut0U4m1g==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1607,10 +1646,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) debug: 4.3.4 - eslint: 8.50.0 + eslint: 8.51.0 ts-api-utils: 1.0.3(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: @@ -1632,6 +1671,11 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true + /@typescript-eslint/types@6.7.5: + resolution: {integrity: sha512-WboQBlOXtdj1tDFPyIthpKrUb+kZf2VroLZhxKa/VlwLlLyqv/PwUNgL30BlTVZV1Wu4Asu2mMYPqarSO4L5ZQ==} + engines: {node: ^16.0.0 || >=18.0.0} + dev: true + /@typescript-eslint/typescript-estree@4.33.0(typescript@3.9.10): resolution: {integrity: sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==} engines: {node: ^10.12.0 || >=12.0.0} @@ -1716,19 +1760,40 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.50.0)(typescript@5.2.2): + /@typescript-eslint/typescript-estree@6.7.5(typescript@5.2.2): + resolution: {integrity: sha512-NhJiJ4KdtwBIxrKl0BqG1Ur+uw7FiOnOThcYx9DpOGJ/Abc9z2xNzLeirCG02Ig3vkvrc2qFLmYSSsaITbKjlg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.5.4 + ts-api-utils: 1.0.3(typescript@5.2.2) + typescript: 5.2.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/utils@5.62.0(eslint@8.51.0)(typescript@5.2.2): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - eslint: 8.50.0 + eslint: 8.51.0 eslint-scope: 5.1.1 semver: 7.5.4 transitivePeerDependencies: @@ -1736,19 +1801,38 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.7.4(eslint@8.50.0)(typescript@5.2.2): + /@typescript-eslint/utils@6.7.4(eslint@8.51.0)(typescript@5.2.2): resolution: {integrity: sha512-PRQAs+HUn85Qdk+khAxsVV+oULy3VkbH3hQ8hxLRJXWBEd7iI+GbQxH5SEUSH7kbEoTp6oT1bOwyga24ELALTA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 '@typescript-eslint/scope-manager': 6.7.4 '@typescript-eslint/types': 6.7.4 '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) - eslint: 8.50.0 + eslint: 8.51.0 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /@typescript-eslint/utils@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-pfRRrH20thJbzPPlPc4j0UNGvH1PjPlhlCMq4Yx7EGjV7lvEeGX0U6MJYe8+SyFutWgSHsdbJ3BXzZccYggezA==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) + '@types/json-schema': 7.0.13 + '@types/semver': 7.5.3 + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) + eslint: 8.51.0 semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -1779,8 +1863,16 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@vitejs/plugin-react@4.0.2(vite@4.4.10): - resolution: {integrity: sha512-zbnVp3Esfg33zDaoLrjxG+p/dPiOtpvJA+1oOEQwSxMMTRL9zi1eghIcd2WtLjkcKnPsa3S15LzS/OzDn2BOCA==} + /@typescript-eslint/visitor-keys@6.7.5: + resolution: {integrity: sha512-3MaWdDZtLlsexZzDSdQWsFQ9l9nL8B80Z4fImSpyllFC/KLqWQRdEcB+gGGO+N3Q2uL40EsG66wZLsohPxNXvg==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.7.5 + eslint-visitor-keys: 3.4.3 + dev: true + + /@vitejs/plugin-react@4.1.0(vite@4.4.11): + resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.2.0 @@ -1788,14 +1880,15 @@ packages: '@babel/core': 7.23.0 '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.23.0) '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.0) + '@types/babel__core': 7.20.2 react-refresh: 0.14.0 - vite: 4.4.10(@types/node@20.4.1) + vite: 4.4.11(@types/node@20.8.4) transitivePeerDependencies: - supports-color dev: true - /@vitest/coverage-v8@0.33.0(vitest@0.34.6): - resolution: {integrity: sha512-Rj5IzoLF7FLj6yR7TmqsfRDSeaFki6NAJ/cQexqhbWkHEV2htlVGrmuOde3xzvFsCbLCagf4omhcIaVmfU8Okg==} + /@vitest/coverage-v8@0.34.6(vitest@0.34.6): + resolution: {integrity: sha512-fivy/OK2d/EsJFoEoxHFEnNGTg+MmdZBAVK9Ka4qhXR2K3J0DS08vcGVwzDtXSuUMabLv4KtPcpSKkcMXFDViw==} peerDependencies: vitest: '>=0.32.0 <1' dependencies: @@ -1809,7 +1902,7 @@ packages: picocolors: 1.0.0 std-env: 3.4.3 test-exclude: 6.0.0 - v8-to-istanbul: 9.1.2 + v8-to-istanbul: 9.1.3 vitest: 0.34.6 transitivePeerDependencies: - supports-color @@ -2438,8 +2531,8 @@ packages: source-map: 0.6.1 dev: true - /concurrently@8.2.0: - resolution: {integrity: sha512-nnLMxO2LU492mTUj9qX/az/lESonSZu81UznYDoXtz1IQf996ixVqPAgHXwvHiHCAef/7S8HIK+fTFK7Ifk8YA==} + /concurrently@8.2.1: + resolution: {integrity: sha512-nVraf3aXOpIcNud5pB9M82p1tynmZkrSGQ1p6X/VY8cJ+2LMVqAgXsJxYYefACSHbTYlm92O1xuhdGTjwoEvbQ==} engines: {node: ^14.13.0 || >=16.0.0} hasBin: true dependencies: @@ -2870,8 +2963,8 @@ packages: safer-buffer: 2.1.2 dev: true - /effect@2.0.0-next.47: - resolution: {integrity: sha512-H2L1xoaOblZbrTHuUo/ppWVr9R34FyigxXkEn9iD9TMYgCJqSS9RIUOGCTdT4ATyCgVf7dWlJxOtLFSpirVWqA==} + /effect@2.0.0-next.48: + resolution: {integrity: sha512-vwMIl39m8fMBeXoGIdSwMi2lrg7NltyrGMK0N/liGDl7G9LXvERKOCipNcobSIGO0V7hjaXEWgL6W/KEWEww+g==} dev: true /electron-to-chromium@1.4.541: @@ -3061,7 +3154,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.7.4)(eslint-plugin-import@2.28.1)(eslint@8.50.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.7.5)(eslint-plugin-import@2.28.1)(eslint@8.51.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3070,9 +3163,9 @@ packages: dependencies: debug: 4.3.4 enhanced-resolve: 5.15.0 - eslint: 8.50.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) - eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) + eslint: 8.51.0 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) + eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) fast-glob: 3.3.1 get-tsconfig: 4.7.2 is-core-module: 2.13.0 @@ -3084,7 +3177,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -3105,11 +3198,11 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.7.4(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.5(eslint@8.51.0)(typescript@5.2.2) debug: 3.2.7 - eslint: 8.50.0 + eslint: 8.51.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.7.4)(eslint-plugin-import@2.28.1)(eslint@8.50.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.7.5)(eslint-plugin-import@2.28.1)(eslint@8.51.0) transitivePeerDependencies: - supports-color dev: true @@ -3134,14 +3227,14 @@ packages: - supports-color dev: true - /eslint-plugin-deprecation@2.0.0(eslint@8.50.0)(typescript@5.2.2): + /eslint-plugin-deprecation@2.0.0(eslint@8.51.0)(typescript@5.2.2): resolution: {integrity: sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==} peerDependencies: eslint: ^7.0.0 || ^8.0.0 typescript: ^4.2.4 || ^5.0.0 dependencies: - '@typescript-eslint/utils': 6.7.4(eslint@8.50.0)(typescript@5.2.2) - eslint: 8.50.0 + '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + eslint: 8.51.0 tslib: 2.6.2 tsutils: 3.21.0(typescript@5.2.2) typescript: 5.2.2 @@ -3149,7 +3242,7 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.28.1(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0): + /eslint-plugin-import@2.28.1(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0): resolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==} engines: {node: '>=4'} peerDependencies: @@ -3159,16 +3252,16 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.7.4(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.5(eslint@8.51.0)(typescript@5.2.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.50.0 + eslint: 8.51.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.51.0) has: 1.0.4 is-core-module: 2.13.0 is-glob: 4.0.3 @@ -3184,21 +3277,21 @@ packages: - supports-color dev: true - /eslint-plugin-simple-import-sort@10.0.0(eslint@8.50.0): + /eslint-plugin-simple-import-sort@10.0.0(eslint@8.51.0): resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==} peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 8.50.0 + eslint: 8.51.0 dev: true - /eslint-plugin-sort-destructure-keys@1.5.0(eslint@8.50.0): + /eslint-plugin-sort-destructure-keys@1.5.0(eslint@8.51.0): resolution: {integrity: sha512-xGLyqHtbFXZNXQSvAiQ4ISBYokrbUywEhmaA50fKtSKgceCv5y3zjoNuZwcnajdM6q29Nxj+oXC9KcqfMsAPrg==} engines: {node: '>=6.0.0'} peerDependencies: eslint: 3 - 8 dependencies: - eslint: 8.50.0 + eslint: 8.51.0 natural-compare-lite: 1.4.0 dev: true @@ -3228,15 +3321,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.50.0: - resolution: {integrity: sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==} + /eslint@8.51.0: + resolution: {integrity: sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) '@eslint-community/regexpp': 4.9.1 '@eslint/eslintrc': 2.1.2 - '@eslint/js': 8.50.0 + '@eslint/js': 8.51.0 '@humanwhocodes/config-array': 0.11.11 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -3255,7 +3348,7 @@ packages: file-entry-cache: 6.0.1 find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.22.0 + globals: 13.23.0 graphemer: 1.4.0 ignore: 5.2.4 imurmurhash: 0.1.4 @@ -3374,8 +3467,8 @@ packages: engines: {'0': node >=0.6.0} dev: true - /fast-check@3.11.0: - resolution: {integrity: sha512-H2tctb7AGfFQfz+DEr3UWhJ3s47LXsGp5g3jeJr5tHjnf4xUvpArIqiwcDmL2EXiv+auLHIpF5MqaIpIKvpxiA==} + /fast-check@3.13.1: + resolution: {integrity: sha512-Xp00tFuWd83i8rbG/4wU54qU+yINjQha7bXH2N4ARNTkyOimzHtUBJ5+htpdXk7RMaCOD/j2jxSjEt9u9ZPNeQ==} engines: {node: '>=8.0.0'} dependencies: pure-rand: 6.0.4 @@ -3418,7 +3511,7 @@ packages: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flat-cache: 3.1.0 + flat-cache: 3.1.1 dev: true /filing-cabinet@3.3.1: @@ -3484,12 +3577,12 @@ packages: pkg-dir: 4.2.0 dev: true - /flat-cache@3.1.0: - resolution: {integrity: sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==} + /flat-cache@3.1.1: + resolution: {integrity: sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==} engines: {node: '>=12.0.0'} dependencies: flatted: 3.2.9 - keyv: 4.5.3 + keyv: 4.5.4 rimraf: 3.0.2 dev: true @@ -3768,8 +3861,8 @@ packages: engines: {node: '>=4'} dev: true - /globals@13.22.0: - resolution: {integrity: sha512-H1Ddc/PbZHTDVJSnj8kWptIRSD6AM3pK+mKytuIVF4uoBV7rshFlhhvA58ceJ5wp3Er58w6zj7bykMpYXt3ETw==} + /globals@13.23.0: + resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} engines: {node: '>=8'} dependencies: type-fest: 0.20.2 @@ -4406,7 +4499,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.4.1 + '@types/node': 20.8.4 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -4519,8 +4612,8 @@ packages: verror: 1.10.0 dev: true - /keyv@4.5.3: - resolution: {integrity: sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==} + /keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} dependencies: json-buffer: 3.0.1 dev: true @@ -6413,7 +6506,7 @@ packages: code-block-writer: 12.0.0 dev: true - /ts-node@10.9.1(@types/node@20.4.1)(typescript@5.2.2): + /ts-node@10.9.1(@types/node@20.8.4)(typescript@5.2.2): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -6432,7 +6525,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.4.1 + '@types/node': 20.8.4 acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.3 @@ -6665,6 +6758,10 @@ packages: which-boxed-primitive: 1.0.2 dev: true + /undici-types@5.25.3: + resolution: {integrity: sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==} + dev: true + /uniq@1.0.1: resolution: {integrity: sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==} dev: true @@ -6714,8 +6811,8 @@ packages: resolution: {integrity: sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==} dev: true - /v8-to-istanbul@9.1.2: - resolution: {integrity: sha512-ZGBe7VAivuuoQXTeckpbYKTdtjXGcm3ZUHXC0PAk0CzFyuYvwi73a58iEKI3GkGD1c3EHc+EgfR1w5pgbfzJlQ==} + /v8-to-istanbul@9.1.3: + resolution: {integrity: sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==} engines: {node: '>=10.12.0'} dependencies: '@jridgewell/trace-mapping': 0.3.19 @@ -6745,7 +6842,7 @@ packages: extsprintf: 1.3.0 dev: true - /vite-node@0.34.6(@types/node@20.4.1): + /vite-node@0.34.6(@types/node@20.8.4): resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} engines: {node: '>=v14.18.0'} hasBin: true @@ -6755,7 +6852,7 @@ packages: mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.10(@types/node@20.4.1) + vite: 4.4.11(@types/node@20.8.4) transitivePeerDependencies: - '@types/node' - less @@ -6767,8 +6864,8 @@ packages: - terser dev: true - /vite@4.4.10(@types/node@20.4.1): - resolution: {integrity: sha512-TzIjiqx9BEXF8yzYdF2NTf1kFFbjMjUSV0LFZ3HyHoI3SGSPLnnFUKiIQtL3gl2AjHvMrprOvQ3amzaHgQlAxw==} + /vite@4.4.11(@types/node@20.8.4): + resolution: {integrity: sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -6795,7 +6892,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.4.1 + '@types/node': 20.8.4 esbuild: 0.18.20 postcss: 8.4.31 rollup: 3.29.4 @@ -6834,9 +6931,9 @@ packages: webdriverio: optional: true dependencies: - '@types/chai': 4.3.5 + '@types/chai': 4.3.7 '@types/chai-subset': 1.3.3 - '@types/node': 20.4.1 + '@types/node': 20.8.4 '@vitest/expect': 0.34.6 '@vitest/runner': 0.34.6 '@vitest/snapshot': 0.34.6 @@ -6855,8 +6952,8 @@ packages: strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.7.0 - vite: 4.4.10(@types/node@20.4.1) - vite-node: 0.34.6(@types/node@20.4.1) + vite: 4.4.11(@types/node@20.8.4) + vite-node: 0.34.6(@types/node@20.8.4) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/scripts/clean.mjs b/scripts/clean.mjs index 1519114..c2966e3 100644 --- a/scripts/clean.mjs +++ b/scripts/clean.mjs @@ -2,6 +2,7 @@ import * as Fs from "node:fs"; (JSON.parse(Fs.readFileSync("package.json")).files ?? []) .filter((_) => _ !== "src") + .concat(["src/tsconfig.json"]) .forEach((file) => { Fs.rm(file, { recursive: true, force: true }, () => {}); }); diff --git a/src/data/Bigint.ts b/src/data/BigInt.ts similarity index 81% rename from src/data/Bigint.ts rename to src/data/BigInt.ts index 7f55d5b..ffae1d2 100644 --- a/src/data/Bigint.ts +++ b/src/data/BigInt.ts @@ -4,20 +4,22 @@ import * as monoid from "@effect/typeclass/Monoid" import * as semigroup from "@effect/typeclass/Semigroup" -import { Order } from "effect/Bigint" +import { Order } from "effect/BigInt" /** * `bigint` semigroup under addition. * * @example - * import { SemigroupSum } from '@effect/typeclass/data/Bigint' + * import { SemigroupSum } from '@effect/typeclass/data/BigInt' * * assert.deepStrictEqual(SemigroupSum.combine(2n, 3n), 5n) * * @category instances * @since 1.0.0 */ -export const SemigroupSum: semigroup.Semigroup = semigroup.make((self, that) => self + that) +export const SemigroupSum: semigroup.Semigroup = semigroup.make( + (self, that) => self + that +) /** * `bigint` semigroup under multiplication. @@ -46,7 +48,7 @@ export const SemigroupMultiply: semigroup.Semigroup = semigroup.make( * A `Semigroup` that uses the minimum between two values. * * @example - * import { SemigroupMin } from '@effect/typeclass/data/Bigint' + * import { SemigroupMin } from '@effect/typeclass/data/BigInt' * * assert.deepStrictEqual(SemigroupMin.combine(2n, 3n), 2n) * @@ -59,7 +61,7 @@ export const SemigroupMin: semigroup.Semigroup = semigroup.min(Order) * A `Semigroup` that uses the maximum between two values. * * @example - * import { SemigroupMax } from '@effect/typeclass/data/Bigint' + * import { SemigroupMax } from '@effect/typeclass/data/BigInt' * * assert.deepStrictEqual(SemigroupMax.combine(2n, 3n), 3n) * @@ -74,7 +76,7 @@ export const SemigroupMax: semigroup.Semigroup = semigroup.max(Order) * The `empty` value is `0n`. * * @example - * import { MonoidSum } from '@effect/typeclass/data/Bigint' + * import { MonoidSum } from '@effect/typeclass/data/BigInt' * * assert.deepStrictEqual(MonoidSum.combine(2n, 3n), 5n) * assert.deepStrictEqual(MonoidSum.combine(2n, MonoidSum.empty), 2n) @@ -82,7 +84,10 @@ export const SemigroupMax: semigroup.Semigroup = semigroup.max(Order) * @category instances * @since 1.0.0 */ -export const MonoidSum: monoid.Monoid = monoid.fromSemigroup(SemigroupSum, 0n) +export const MonoidSum: monoid.Monoid = monoid.fromSemigroup( + SemigroupSum, + 0n +) /** * `bigint` monoid under multiplication. @@ -90,7 +95,7 @@ export const MonoidSum: monoid.Monoid = monoid.fromSemigroup(SemigroupSu * The `empty` value is `1n`. * * @example - * import { MonoidMultiply } from '@effect/typeclass/data/Bigint' + * import { MonoidMultiply } from '@effect/typeclass/data/BigInt' * * assert.deepStrictEqual(MonoidMultiply.combine(2n, 3n), 6n) * assert.deepStrictEqual(MonoidMultiply.combine(2n, MonoidMultiply.empty), 2n) @@ -98,4 +103,7 @@ export const MonoidSum: monoid.Monoid = monoid.fromSemigroup(SemigroupSu * @category instances * @since 1.0.0 */ -export const MonoidMultiply: monoid.Monoid = monoid.fromSemigroup(SemigroupMultiply, 1n) +export const MonoidMultiply: monoid.Monoid = monoid.fromSemigroup( + SemigroupMultiply, + 1n +) diff --git a/test/data/Bigint.ts b/test/data/BigInt.ts similarity index 85% rename from test/data/Bigint.ts rename to test/data/BigInt.ts index 0903f13..12108c9 100644 --- a/test/data/Bigint.ts +++ b/test/data/BigInt.ts @@ -1,4 +1,4 @@ -import * as BigintInstances from "@effect/typeclass/data/Bigint" +import * as BigintInstances from "@effect/typeclass/data/BigInt" import * as U from "../util" describe.concurrent("Bigint", () => {