diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-03 01:27:37 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 17:27:37 +0200 |
| commit | bc51eca70000e809ef3b64f66e9482316768e02a (patch) | |
| tree | d9972377959be338e7192e7e53f94584432c263c /tests/specs/bundle/lockfile | |
| parent | 503f95a54fe290471b0807157e37d2d996ff0357 (diff) | |
BREAKING: remove `deno bundle` (#25339)
`deno bundle` now produces:
```
error: ⚠️ `deno bundle` was removed in Deno 2.
See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations
```
`deno bundle --help` now produces:
```
⚠️ `deno bundle` was removed in Deno 2.
See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations
Usage: deno bundle [OPTIONS]
Options:
-q, --quiet Suppress diagnostic output
--unstable Enable all unstable features and APIs. Instead of using this flag, consider enabling individual unstable features
To view the list of individual unstable feature flags, run this command again with --help=unstable
```
Diffstat (limited to 'tests/specs/bundle/lockfile')
| -rw-r--r-- | tests/specs/bundle/lockfile/__test__.jsonc | 5 | ||||
| -rw-r--r-- | tests/specs/bundle/lockfile/check_error.json | 5 | ||||
| -rw-r--r-- | tests/specs/bundle/lockfile/check_error.out | 12 |
3 files changed, 0 insertions, 22 deletions
diff --git a/tests/specs/bundle/lockfile/__test__.jsonc b/tests/specs/bundle/lockfile/__test__.jsonc deleted file mode 100644 index 3fe64a28b..000000000 --- a/tests/specs/bundle/lockfile/__test__.jsonc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "args": "bundle --lock=check_error.json http://127.0.0.1:4545/subdir/mod1.ts", - "output": "check_error.out", - "exitCode": 10 -} diff --git a/tests/specs/bundle/lockfile/check_error.json b/tests/specs/bundle/lockfile/check_error.json deleted file mode 100644 index a218d7000..000000000 --- a/tests/specs/bundle/lockfile/check_error.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "http://127.0.0.1:4545/subdir/mod1.ts": "bfc1037b02c99abc20367f739bca7455813a5950066abd77965bff33b6eece0f", - "http://127.0.0.1:4545/subdir/print_hello.ts": "fa6692c8f9ff3fb107e773c3ece5274e9d08be282867a1e3ded1d9c00fcaa63c", - "http://127.0.0.1:4545/subdir/subdir2/mod2.ts": "bad" -} diff --git a/tests/specs/bundle/lockfile/check_error.out b/tests/specs/bundle/lockfile/check_error.out deleted file mode 100644 index 6a63a01b4..000000000 --- a/tests/specs/bundle/lockfile/check_error.out +++ /dev/null @@ -1,12 +0,0 @@ -[WILDCARD] -error: Integrity check failed for remote specifier. The source code is invalid, as it does not match the expected hash in the lock file. - - Specifier: http://127.0.0.1:4545/subdir/subdir2/mod2.ts - Actual: 8b3b670d25d238dfa72df119140406b96766a00fee635f3606429fe065b18fd1 - Expected: bad - -This could be caused by: - * the lock file may be corrupt - * the source itself may be corrupt - -Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server. |
