chore(3.0): replace yarn by pnpm #45
Annotations
7 errors
test/index.test.ts:
src/json_schema.ts#L1
Error: require() of ES Module /home/runner/work/node-logger/node-logger/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs not supported.
Instead change the require of /home/runner/work/node-logger/node-logger/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/.pnpm/json-schema-ref-resolver@2.0.1/node_modules/json-schema-ref-resolver/index.js:3:31
❯ Object.<anonymous> node_modules/.pnpm/fast-json-stringify@6.0.1/node_modules/fast-json-stringify/index.js:5:25
❯ src/json_schema.ts:1:31
❯ src/output_utils.ts:1:31
❯ src/output_adapters.ts:4:31
❯ src/index.ts:2:31
❯ test/index.test.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
test/output_adapters.test.ts:
src/json_schema.ts#L1
Error: require() of ES Module /home/runner/work/node-logger/node-logger/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs not supported.
Instead change the require of /home/runner/work/node-logger/node-logger/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/.pnpm/json-schema-ref-resolver@2.0.1/node_modules/json-schema-ref-resolver/index.js:3:31
❯ Object.<anonymous> node_modules/.pnpm/fast-json-stringify@6.0.1/node_modules/fast-json-stringify/index.js:5:25
❯ src/json_schema.ts:1:31
❯ src/output_utils.ts:1:31
❯ src/output_adapters.ts:4:31
❯ test/output_adapters.test.ts:13:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
test/output_utils.test.ts:
src/json_schema.ts#L1
Error: require() of ES Module /home/runner/work/node-logger/node-logger/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs not supported.
Instead change the require of /home/runner/work/node-logger/node-logger/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/dist/index.mjs to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/.pnpm/json-schema-ref-resolver@2.0.1/node_modules/json-schema-ref-resolver/index.js:3:31
❯ Object.<anonymous> node_modules/.pnpm/fast-json-stringify@6.0.1/node_modules/fast-json-stringify/index.js:5:25
❯ src/json_schema.ts:1:31
❯ test/output_utils.test.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
tests (18.x)
Process completed with exit code 1.
|
tests (20.x)
Process completed with exit code 1.
|
tests (22.x)
The job was canceled because "_18_x" failed.
|
tests (22.x)
The operation was canceled.
|