commit 13c6d5bc7d759367be5c7796782937cdc8b59509 Author: Helloyunho Date: Sat Dec 20 12:28:28 2025 +0900 chore: initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5b7495 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# macOS related thing (i dont like it) +.DS_Store + +# Node.js dependencies +node_modules + +# Node.js package lock files +package-lock.json +yarn.lock +pnpm-lock.yaml +bun.lock +bun.lockb + +# Build output +dist \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a881d50 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# vue-after-free + +A PlayStation Vue exploit. \ No newline at end of file diff --git a/eslint.config.ts b/eslint.config.ts new file mode 100644 index 0000000..a7bc437 --- /dev/null +++ b/eslint.config.ts @@ -0,0 +1,15 @@ +import js from "@eslint/js"; +import globals from "globals"; +import tseslint from "typescript-eslint"; +import { defineConfig } from "eslint/config"; +import neostandard from 'neostandard' + +export default defineConfig([ + { files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.browser } }, + { files: ["**/*.js"], languageOptions: { sourceType: "script" } }, + tseslint.configs.recommended, + neostandard({ + ts: true, + env: ['browser', 'es2025'], + }) +]); diff --git a/package.json b/package.json new file mode 100644 index 0000000..b87d80e --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "vue-after-free", + "module": "index.ts", + "type": "module", + "private": true, + "peerDependencies": { + "typescript": "^5" + }, + "devDependencies": { + "@eslint/js": "^9.39.2", + "eslint": "^9.39.2", + "globals": "^16.5.0", + "typescript-eslint": "^8.50.0" + }, + "dependencies": { + "jiti": "^2.6.1", + "neostandard": "^0.12.2" + } +} \ No newline at end of file diff --git a/src/.gitkeep b/src/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..53ee185 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + // Environment setup & latest features + "lib": ["ES2015"], + "target": "ES2015", + "module": "Preserve", + "moduleDetection": "force", + "allowJs": true, + + // Bundler mode + "moduleResolution": "bundler", + "verbatimModuleSyntax": true, + "outDir": "./dist", + + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false + } +}