Skip to content

Commit

Permalink
build: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
j4k0xb committed Jun 5, 2024
1 parent d3f54f5 commit 12f4f47
Show file tree
Hide file tree
Showing 11 changed files with 1,499 additions and 1,593 deletions.
16 changes: 8 additions & 8 deletions apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@
},
"devDependencies": {
"@types/babel__generator": "^7.6.8",
"@types/node": "^20.12.7",
"@types/node": "^20.14.2",
"@webcrack/eslint-config": "workspace:*",
"@webcrack/typescript-config": "workspace:*",
"autoprefixer": "^10.4.19",
"daisyui": "^4.10.2",
"daisyui": "^4.12.2",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"vite": "^5.2.12",
"vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-node-polyfills": "^0.21.0",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-solid": "^2.10.2"
},
"dependencies": {
"@babel/generator": "^7.24.4",
"@babel/types": "^7.24.0",
"@babel/generator": "^7.24.7",
"@babel/types": "^7.24.7",
"idb": "^8.0.0",
"monaco-editor": "^0.47.0",
"monaco-editor": "^0.49.0",
"sandybox": "^1.1.2",
"solid-js": "^1.8.16",
"solid-js": "^1.8.17",
"webcrack": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/playground/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function App() {
};

const saveModelsDebounced = debounce(() => {
settings.workspaceHistory && saveModels(models()).catch(console.error);
if (settings.workspaceHistory) saveModels(models()).catch(console.error);
}, 1000);

async function restoreWorkspace(workspace: Workspace) {
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export async function evalCode(code: string) {
const fn = await sandbox.addFunction(`() => ${code}`);
return Promise.race([
fn(),
sleep(10_000).then(() => Promise.reject('Sandbox timeout')),
sleep(10_000).then(() => Promise.reject(new Error('Sandbox timeout'))),
]).finally(() => sandbox.removeFunction(fn));
}
2 changes: 1 addition & 1 deletion apps/playground/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": [
"//"
],
"pipeline": {
"tasks": {
"build": {
"dependsOn": [
"topo"
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
},
"devDependencies": {
"@webcrack/eslint-config": "workspace:*",
"eslint": "^9.1.0",
"prettier": "^3.2.5",
"turbo": "^1.13.2",
"vitest": "^1.5.0"
"eslint": "^9.4.0",
"prettier": "^3.3.1",
"turbo": "^2.0.1",
"vitest": "^1.6.0"
},
"packageManager": "pnpm@9.0.4",
"packageManager": "pnpm@9.2.0",
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]"
}
}
},
"name": "webcrack"
}
2 changes: 1 addition & 1 deletion packages/config-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"eslint-config-prettier": "^9.1.0",
"typescript-eslint": "^7.7.0"
"typescript-eslint": "8.0.0-alpha.27"
}
}
26 changes: 13 additions & 13 deletions packages/webcrack/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "webcrack",
"name": "webcrack-webcrack",
"version": "2.13.0",
"description": "Deobfuscate, unminify and unpack bundled javascript",
"author": "j4k0xb",
Expand Down Expand Up @@ -40,28 +40,28 @@
"unbundle"
],
"dependencies": {
"@babel/generator": "^7.24.4",
"@babel/helper-validator-identifier": "^7.22.20",
"@babel/parser": "^7.24.4",
"@babel/template": "^7.24.0",
"@babel/traverse": "^7.24.1",
"@babel/types": "^7.24.0",
"@babel/generator": "^7.24.7",
"@babel/helper-validator-identifier": "^7.24.7",
"@babel/parser": "^7.24.7",
"@babel/template": "^7.24.7",
"@babel/traverse": "^7.24.7",
"@babel/types": "^7.24.7",
"@codemod/matchers": "^1.7.1",
"babel-plugin-minify-mangle-names": "^0.5.1",
"commander": "^12.0.0",
"debug": "^4.3.4",
"isolated-vm": "^4.7.2"
"commander": "^12.1.0",
"debug": "^4.3.5",
"isolated-vm": "^5.0.0"
},
"devDependencies": {
"@types/babel__generator": "^7.6.8",
"@types/babel__helper-validator-identifier": "^7.15.2",
"@types/babel__template": "^7.4.4",
"@types/babel__traverse": "^7.20.5",
"@types/babel__traverse": "^7.20.6",
"@types/debug": "^4.1.12",
"@types/node": "^20.12.7",
"@types/node": "^20.14.2",
"@webcrack/eslint-config": "workspace:*",
"@webcrack/typescript-config": "workspace:*",
"esbuild": "^0.20.2",
"esbuild": "^0.21.4",
"typescript": "^5.4.5"
}
}
2 changes: 1 addition & 1 deletion packages/webcrack/src/unminify/transforms/json-parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
const parsed = parseExpression(string.current!);
path.replaceWith(parsed);
this.changes++;
} catch (error) {
} catch {
// ignore
}
}
Expand Down
13 changes: 0 additions & 13 deletions patches/[email protected]

This file was deleted.

Loading

0 comments on commit 12f4f47

Please sign in to comment.