Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Jul 29, 2024
1 parent f2e9a1f commit b9640d1
Show file tree
Hide file tree
Showing 591 changed files with 5,934 additions and 5,912 deletions.
4 changes: 2 additions & 2 deletions packages/next/src/compiled/postcss-preset-env/index.cjs

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
warning - [analysis] [project]/turbopack/crates/turbopack-tests/tests/execution/turbopack/async-modules/export-all/input/exports.js unexpected export *
export * used with module [project]/turbopack/crates/turbopack-tests/tests/execution/turbopack/async-modules/export-all/input/exports.js [test] (ecmascript) which is a CommonJS module with exports only available at runtime
List all export names manually (`export { a, b, c } from "...") or rewrite the module to ESM, to avoid the additional runtime code.`
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error - [resolve] [project]/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js /crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js:4:4 Module not found: Can't resolve './not-existing-file'
error - [resolve] [project]/turbopack/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js /turbopack/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js:4:4 Module not found: Can't resolve './not-existing-file'

1 | it("importing a not existing file should throw", () => {
2 | // This is a check to make sure that the following tests would fail if they require("fail")
Expand All @@ -15,6 +15,6 @@ error - [resolve] [project]/crates/turbopack-tests/tests/execution/turbopack/bas

| It was not possible to find the requested file.
| Parsed request as written in source code: relative "./not-existing-file"
| Path where resolving has started: [project]/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js
| Path where resolving has started: [project]/turbopack/crates/turbopack-tests/tests/execution/turbopack/basic/comptime/input/index.js
| Type of request: commonjs request
|
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error - [load] [project]/crates/turbopack-tests/tests/execution/turbopack/basic/error/input/broken.js Reading source code for parsing failed
error - [load] [project]/turbopack/crates/turbopack-tests/tests/execution/turbopack/basic/error/input/broken.js Reading source code for parsing failed
An unexpected error happened while trying to read the source code to parse: failed to convert rope into string

Caused by:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/basic/node-default-import/input/node_modules/esm-package/invalid-exports.cjs Specified module format (CommonJs) is not matching the module format of the source code (EcmaScript Modules)
error - [analysis] [project]/turbopack/crates/turbopack-tests/tests/execution/turbopack/basic/node-default-import/input/node_modules/esm-package/invalid-exports.cjs Specified module format (CommonJs) is not matching the module format of the source code (EcmaScript Modules)
The CommonJs module format was specified in the package.json that is affecting this source file or by using an special extension, but Ecmascript import/export syntax is used in the source code.
The module was automatically converted to an EcmaScript module, but that is in conflict with the specified module format. Either change the "type" field in the package.json or replace EcmaScript import/export syntax with CommonJs syntas in the source file.
In some cases EcmaScript import/export syntax is added by an transform and isn't actually part of the source code. In these cases revisit transformation options to inject the correct syntax.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/basic/node-default-import/input/node_modules/esm-package/invalid-exports.js Specified module format (EcmaScript Modules) is not matching the module format of the source code (CommonJs)
warning - [analysis] [project]/turbopack/crates/turbopack-tests/tests/execution/turbopack/basic/node-default-import/input/node_modules/esm-package/invalid-exports.js Specified module format (EcmaScript Modules) is not matching the module format of the source code (CommonJs)
The EcmaScript module format was specified in the package.json that is affecting this source file or by using an special extension, but it looks like that CommonJs syntax is used in the source code.
Exports made by CommonJs syntax will lead to a runtime error, since the module is in EcmaScript mode. Either change the "type" field in the package.json or replace CommonJs syntax with EcmaScript import/export syntax in the source file.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Loading

0 comments on commit b9640d1

Please sign in to comment.