diff --git a/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/global-detection-typeof.cjs.json b/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/global-detection-typeof.cjs.json new file mode 100644 index 000000000..93ea8e3a7 --- /dev/null +++ b/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/global-detection-typeof.cjs.json @@ -0,0 +1,6 @@ +{ + "order": [ + "/tests/corpus/global-detection-typeof.cjs" + ], + "diags": [] +} diff --git a/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/readable-stream-disable/main.cjs.json b/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/readable-stream-disable/main.cjs.json new file mode 100644 index 000000000..84379f4d0 --- /dev/null +++ b/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/readable-stream-disable/main.cjs.json @@ -0,0 +1,87 @@ +{ + "order": [ + "/tests/corpus/readable-stream-disable/main.cjs" + ], + "diags": [ + { + "code": "SC0001", + "message": "Could not find a declaration file for module 'readable-stream'. '/tests/corpus/readable-stream-disable/node_modules/readable-stream/readable.js' implicitly has an 'any' type.\n Try `npm i --save-dev @types/readable-stream` if it exists or add a new declaration (.d.ts) file containing `declare module 'readable-stream';`", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 581, + "end": 598 + } + }, + { + "code": "SC0001", + "message": "Could not find a declaration file for module 'readable-stream/transform'. '/tests/corpus/readable-stream-disable/node_modules/readable-stream/transform.js' implicitly has an 'any' type.\n Try `npm i --save-dev @types/readable-stream` if it exists or add a new declaration (.d.ts) file containing `declare module 'readable-stream/transform';`", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 625, + "end": 652 + } + }, + { + "code": "SC0001", + "message": "Could not find a declaration file for module 'readable-stream/passthrough'. '/tests/corpus/readable-stream-disable/node_modules/readable-stream/passthrough.js' implicitly has an 'any' type.\n Try `npm i --save-dev @types/readable-stream` if it exists or add a new declaration (.d.ts) file containing `declare module 'readable-stream/passthrough';`", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 681, + "end": 710 + } + }, + { + "code": "SC0001", + "message": "Could not find a declaration file for module 'readable-stream/writable'. '/tests/corpus/readable-stream-disable/node_modules/readable-stream/writable.js' implicitly has an 'any' type.\n Try `npm i --save-dev @types/readable-stream` if it exists or add a new declaration (.d.ts) file containing `declare module 'readable-stream/writable';`", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 736, + "end": 762 + } + }, + { + "code": "SC1010", + "message": "the 'readable-stream' module is not supported yet", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 568, + "end": 599 + }, + "milestone": "M4", + "hint": "relative imports (./file, ../dir/file), package.json-mediated project imports (#alias via the imports field, self-name references via exports), statically compiled npm packages, and the built-in fs, fs/promises, path, os, url, crypto, zlib, child_process, net, http, tls, https, http2, dgram, dns, util, util/types, string_decoder, querystring, readline, events, stream, stream/promises, stream/consumers, buffer, assert, assert/strict, worker_threads, cluster, tty, async_hooks, timers, timers/promises, diagnostics_channel, perf_hooks, module, and console modules (bare or node:-prefixed) and node:test (node:-prefixed only, like in Node) are supported" + }, + { + "code": "SC1010", + "message": "the 'readable-stream/transform' module is not supported yet", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 605, + "end": 653 + }, + "milestone": "M4", + "hint": "relative imports (./file, ../dir/file), package.json-mediated project imports (#alias via the imports field, self-name references via exports), statically compiled npm packages, and the built-in fs, fs/promises, path, os, url, crypto, zlib, child_process, net, http, tls, https, http2, dgram, dns, util, util/types, string_decoder, querystring, readline, events, stream, stream/promises, stream/consumers, buffer, assert, assert/strict, worker_threads, cluster, tty, async_hooks, timers, timers/promises, diagnostics_channel, perf_hooks, module, and console modules (bare or node:-prefixed) and node:test (node:-prefixed only, like in Node) are supported" + }, + { + "code": "SC1010", + "message": "the 'readable-stream/passthrough' module is not supported yet", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 659, + "end": 711 + }, + "milestone": "M4", + "hint": "relative imports (./file, ../dir/file), package.json-mediated project imports (#alias via the imports field, self-name references via exports), statically compiled npm packages, and the built-in fs, fs/promises, path, os, url, crypto, zlib, child_process, net, http, tls, https, http2, dgram, dns, util, util/types, string_decoder, querystring, readline, events, stream, stream/promises, stream/consumers, buffer, assert, assert/strict, worker_threads, cluster, tty, async_hooks, timers, timers/promises, diagnostics_channel, perf_hooks, module, and console modules (bare or node:-prefixed) and node:test (node:-prefixed only, like in Node) are supported" + }, + { + "code": "SC1010", + "message": "the 'readable-stream/writable' module is not supported yet", + "loc": { + "file": "/tests/corpus/readable-stream-disable/main.cjs", + "start": 717, + "end": 763 + }, + "milestone": "M4", + "hint": "relative imports (./file, ../dir/file), package.json-mediated project imports (#alias via the imports field, self-name references via exports), statically compiled npm packages, and the built-in fs, fs/promises, path, os, url, crypto, zlib, child_process, net, http, tls, https, http2, dgram, dns, util, util/types, string_decoder, querystring, readline, events, stream, stream/promises, stream/consumers, buffer, assert, assert/strict, worker_threads, cluster, tty, async_hooks, timers, timers/promises, diagnostics_channel, perf_hooks, module, and console modules (bare or node:-prefixed) and node:test (node:-prefixed only, like in Node) are supported" + } + ] +} diff --git a/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2569-builtin-polyfill-aliases/main.ts.json b/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2569-builtin-polyfill-aliases/main.ts.json new file mode 100644 index 000000000..71659fd53 --- /dev/null +++ b/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2569-builtin-polyfill-aliases/main.ts.json @@ -0,0 +1,6 @@ +{ + "order": [ + "/tests/fixtures/npm/cases/2569-builtin-polyfill-aliases/main.ts" + ], + "diags": [] +} diff --git a/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2570-readable-stream-builtin/main.ts.json b/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2570-readable-stream-builtin/main.ts.json new file mode 100644 index 000000000..5d1541b2e --- /dev/null +++ b/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2570-readable-stream-builtin/main.ts.json @@ -0,0 +1,6 @@ +{ + "order": [ + "/tests/fixtures/npm/cases/2570-readable-stream-builtin/main.ts" + ], + "diags": [] +} diff --git a/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2571-bundled-polyfill-aliases/main.ts.json b/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2571-bundled-polyfill-aliases/main.ts.json new file mode 100644 index 000000000..139598858 --- /dev/null +++ b/packages/compiler/test/ts7/baselines/order-parity/tests/fixtures/npm/cases/2571-bundled-polyfill-aliases/main.ts.json @@ -0,0 +1,6 @@ +{ + "order": [ + "/tests/fixtures/npm/cases/2571-bundled-polyfill-aliases/main.ts" + ], + "diags": [] +}