chore: cleanup `@std/expect` imports master
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 2 Nov 2024 20:02:44 +0000 (21:02 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 2 Nov 2024 20:02:44 +0000 (21:02 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
21 files changed:
package.json
pnpm-lock.yaml
tests/circular-buffer.test.mjs
tests/pools/abstract-pool.test.mjs
tests/pools/cluster/dynamic.test.mjs
tests/pools/cluster/fixed.test.mjs
tests/pools/selection-strategies/selection-strategies-utils.test.mjs
tests/pools/selection-strategies/selection-strategies.test.mjs
tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.mjs
tests/pools/selection-strategies/worker-choice-strategies-context.test.mjs
tests/pools/thread/dynamic.test.mjs
tests/pools/thread/fixed.test.mjs
tests/pools/utils.test.mjs
tests/pools/worker-node.test.mjs
tests/queues/fixed-priority-queue.test.mjs
tests/queues/fixed-queue.test.mjs
tests/queues/priority-queue.test.mjs
tests/utils.test.mjs
tests/worker/abstract-worker.test.mjs
tests/worker/cluster-worker.test.mjs
tests/worker/thread-worker.test.mjs

index 826645dad86a7d2dea05523287d10ebb49ad43db..f32c3f53833f456106aef0a011e6166e59cbb50b 100644 (file)
     "@eslint/js": "^9.14.0",
     "@rollup/plugin-terser": "^0.4.4",
     "@rollup/plugin-typescript": "^12.1.1",
+    "@std/expect": "npm:@jsr/std__expect@^1.0.7",
     "@types/node": "^22.8.6",
     "c8": "^10.1.2",
     "clean-publish": "^5.1.0",
     "eslint-define-config": "^2.1.0",
     "eslint-plugin-jsdoc": "^50.4.3",
     "eslint-plugin-perfectionist": "^3.9.1",
-    "expect": "npm:@jsr/std__expect@^1.0.7",
     "globals": "^15.11.0",
     "husky": "^9.1.6",
     "lint-staged": "^15.2.10",
index f95308d031509b229b230b4752851205c88c7bdf..478ab881c7dd78dd04a260eb8286a9877b309168 100644 (file)
@@ -32,6 +32,9 @@ importers:
       '@rollup/plugin-typescript':
         specifier: ^12.1.1
         version: 12.1.1(rollup@4.24.3)(tslib@2.8.0)(typescript@5.6.3)
+      '@std/expect':
+        specifier: npm:@jsr/std__expect@^1.0.7
+        version: '@jsr/std__expect@1.0.7'
       '@types/node':
         specifier: ^22.8.6
         version: 22.8.6
@@ -56,9 +59,6 @@ importers:
       eslint-plugin-perfectionist:
         specifier: ^3.9.1
         version: 3.9.1(eslint@9.14.0(jiti@1.21.6))(typescript@5.6.3)
-      expect:
-        specifier: npm:@jsr/std__expect@^1.0.7
-        version: '@jsr/std__expect@1.0.7'
       globals:
         specifier: ^15.11.0
         version: 15.11.0
index 751ece907c7db07753aec60e1df91269ea1f1845..c1a1a4f595945e4281ae98f935742b5b92a9968b 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import { CircularBuffer, defaultBufferSize } from '../lib/circular-buffer.cjs'
 
index d9d82f8ab76d6ec304cb2792ff5769ffcf2403a7..91ae1d2e571150f58dfc7bbb829a5a38fede6144 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 // eslint-disable-next-line n/no-unsupported-features/node-builtins
 import { createHook, executionAsyncId } from 'node:async_hooks'
 import { EventEmitterAsyncResource } from 'node:events'
index e930c6d6a7dac42ecc41e24540c8dc5910f1b9aa..e1b386a47190edf02bfb577ecc4f168c8fd0da87 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import {
   DynamicClusterPool,
index 4be196d6077aa2b9a0156418a855f9750fd48f5f..e911a60c0a14139918adb9152809512eb2d05f89 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import cluster from 'node:cluster'
 
 import { FixedClusterPool, PoolEvents } from '../../../lib/index.cjs'
index 2968f8946daa122ddf0bae9a5eac5911237552b3..13e7694f0daec5521d3fac6e62dda551a23d3fed 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import { FixedClusterPool, FixedThreadPool } from '../../../lib/index.cjs'
 import {
index 6a1aab6bdc11b127c8b287ec66a7e0ff832d8041..949cb3d928ba2c0ed72de7a05d41e547d8cf71fa 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { randomInt } from 'node:crypto'
 
 import { CircularBuffer } from '../../../lib/circular-buffer.cjs'
index 18a67bd7195e8f3b157842b1c7e021708d78642d..7bfeb4b006ea54f780ce532027d433c85c3bc9de 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { randomInt } from 'node:crypto'
 
 import { FixedThreadPool } from '../../../lib/index.cjs'
index c653d9f5470edc21281ba9998d6cde0f58e7f398..0d6a77edbbc4ed9b2e71a4e8be92ed0e5f122127 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { createStubInstance, restore, stub } from 'sinon'
 
 import {
index 6188abe2ca7be7cad3680c1dd9d7ddb6e209b911..d78ebbd9439a3d6ea8facf75f149ed2de5029106 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import {
   DynamicThreadPool,
index 734ca0020461277053999bbf95cb30d504356c1d..dd01556fa45565b795a282dd796519b2b582688d 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import { FixedThreadPool, PoolEvents } from '../../../lib/index.cjs'
 import { DEFAULT_TASK_NAME } from '../../../lib/utils.cjs'
index 36862a2a59215760595e54ccbd7af0e64396b6f4..ef6dd31832ad110339339557548c81e1d268b9da 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import cluster, { Worker as ClusterWorker } from 'node:cluster'
 import { Worker as ThreadWorker } from 'node:worker_threads'
 
index 42eb4434cbbdb9f1bb928eb818ae5d369b021c6d..d0f56367d9ab0bb464df4fb713954fe938e85484 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { Worker as ClusterWorker } from 'node:cluster'
 import { MessageChannel, Worker as ThreadWorker } from 'node:worker_threads'
 
index 36474b0bbd4c7379a20cc8a05bb9774b4db3dce2..d91ea712eeeb3d7812836d4e8c543a3f396b19c2 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import { FixedPriorityQueue } from '../../lib/queues/fixed-priority-queue.cjs'
 import { defaultQueueSize } from '../../lib/queues/queue-types.cjs'
index 7fa7ac023cf6ad9173810812b9b0fcae13bac63e..7b1053ad799e9da06b84cebc9b3d89593544d7de 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import { FixedQueue } from '../../lib/queues/fixed-queue.cjs'
 import { defaultQueueSize } from '../../lib/queues/queue-types.cjs'
index 52d18dbf21e3e2372e117f196686304f9fe03844..48a68732662afbd1231dc8611fac387e7945d8e0 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 
 import { FixedPriorityQueue } from '../../lib/queues/fixed-priority-queue.cjs'
 import { FixedQueue } from '../../lib/queues/fixed-queue.cjs'
index 4f84d818cd703d4a6b64f8ac622be8534f6fe520..2001ddcd531deddfa40bd9bfc933b38052d34398 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { randomInt } from 'node:crypto'
 import os from 'node:os'
 
index 669f9b3fb272e3f7cd7cbd042a930e4ca42718e9..68238dea719d2c77cb4d1f1f0d0704f59787aead 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { restore, stub } from 'sinon'
 
 import {
index a7de4671e1cb4b6db6b2d48256e2e28f121b3249..eaf46d22220fcd04809744dc04eab9a69be9148d 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { restore, stub } from 'sinon'
 
 import { ClusterWorker } from '../../lib/index.cjs'
index 269f4a7aa58adfe28d51e9bd773d8adf3bd915bd..4d10cf622685d4ec920bed4bc189f3ead0cf18da 100644 (file)
@@ -1,4 +1,4 @@
-import { expect } from 'expect'
+import { expect } from '@std/expect'
 import { restore, stub } from 'sinon'
 
 import { ThreadWorker } from '../../lib/index.cjs'