Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Sep 25, 2024
1 parent 955680f commit 48e455b
Show file tree
Hide file tree
Showing 9 changed files with 3,272 additions and 836 deletions.
4,080 changes: 3,258 additions & 822 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"jszip": "^3.10.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@vitejs/plugin-legacy": "^2.0.0",
"rollup": "^2.77.2",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@vitejs/plugin-legacy": "^5.4.2",
"rollup": "^4.22.4",
"rollup-plugin-license": "^3.5.2",
"terser": "^5.14.2",
"typescript": "^4.7.4",
"vite": "^3.0.0",
"vitest": "^0.21.1"
"vite": "^5.4.7",
"vitest": "^2.1.1"
}
}
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import fs from 'node:fs';
import commonjs from '@rollup/plugin-commonjs';
import {nodeResolve} from '@rollup/plugin-node-resolve';
import license from 'rollup-plugin-license';
import {version} from './package.json';
import * as packageJSON from './package.json' assert {type: 'json'};

const external = ['jszip', 'cross-fetch', '@turbowarp/json'];

const headerPlugin = license({
banner: {
commentStyle: 'ignored',
content: `SBDL v${version} <https://github.com/forkphorus/sb-downloader>\n\n${fs.readFileSync('LICENSE', 'utf-8')}`
content: `SBDL v${packageJSON.version} <https://github.com/forkphorus/sb-downloader>\n\n${fs.readFileSync('LICENSE', 'utf-8')}`
}
});

Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/compress.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`option to disable compression 1`] = `
{
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/date.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`date defaults to arbitrary time for sb2 JSON project 1`] = `
{
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/on-progress.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`progress events received in correct order 1`] = `
{
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/process-json.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`leaves original project data as-is if overwriteJSON returns nothing on JSON sb3 1`] = `
{
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/sb2.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`sb2 project from JSON 1`] = `
{
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/sb3.test.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`downloads missing assets 1`] = `ArrayBuffer [SHA-256 bbded48ad46f4c1fa9929ffadd17ecdfa94b2d322c8a7e0409c629c44d103f41]`;

Expand Down

0 comments on commit 48e455b

Please sign in to comment.