Skip to content

Commit f61418d

Browse files
authored
Merge pull request #15 from single9/fix/CVE-2025-7783
fix(deps): update axios to version 1.11.0 and form-data to version 4.0.4
2 parents 103aee8 + bd21ec3 commit f61418d

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
],
3131
"license": "MIT",
3232
"dependencies": {
33-
"axios": "^1.8.4"
33+
"axios": "^1.11.0"
3434
},
3535
"devDependencies": {
3636
"@types/mocha": "^9.0.0",

tsconfig.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"exclude":[
3-
"node_modules",
4-
"test"
5-
],
2+
"exclude": ["node_modules", "test"],
63
"compilerOptions": {
74
/* Basic Options */
8-
"target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
9-
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
10-
"lib": ["es6"], /* Specify library files to be included in the compilation. */
5+
"target": "ES2018" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
6+
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
7+
"lib": [
8+
"es6",
9+
"DOM"
10+
] /* Specify library files to be included in the compilation. */,
1111
// "allowJs": true, /* Allow javascript files to be compiled. */
1212
// "checkJs": true, /* Report errors in .js files. */
1313
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
14-
"declaration": true, /* Generates corresponding '.d.ts' file. */
14+
"declaration": true /* Generates corresponding '.d.ts' file. */,
1515
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1616
// "sourceMap": true, /* Generates corresponding '.map' file. */
1717
// "outFile": "./", /* Concatenate and emit output to single file. */
18-
"outDir": "./dist", /* Redirect output structure to the directory. */
19-
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
18+
"outDir": "./dist" /* Redirect output structure to the directory. */,
19+
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
2020
// "composite": true, /* Enable project compilation */
2121
// "incremental": true, /* Enable incremental compilation */
2222
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
@@ -27,7 +27,7 @@
2727
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
2828

2929
/* Strict Type-Checking Options */
30-
"strict": true, /* Enable all strict type-checking options. */
30+
"strict": true /* Enable all strict type-checking options. */,
3131
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
3232
// "strictNullChecks": true, /* Enable strict null checks. */
3333
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
@@ -43,14 +43,14 @@
4343
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
4444

4545
/* Module Resolution Options */
46-
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
46+
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
4747
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
4848
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
4949
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
5050
// "typeRoots": [], /* List of folders to include type definitions from. */
5151
// "types": [], /* Type declaration files to be included in compilation. */
5252
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
53-
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
53+
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
5454
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
5555

5656
/* Source Map Options */
@@ -65,5 +65,5 @@
6565
},
6666
"ts-node": {
6767
"transpileOnly": true
68-
},
68+
}
6969
}

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -633,13 +633,13 @@ asynckit@^0.4.0:
633633
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
634634
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
635635

636-
axios@^1.8.4:
637-
version "1.8.4"
638-
resolved "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz#78990bb4bc63d2cae072952d374835950a82f447"
639-
integrity sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==
636+
axios@^1.11.0:
637+
version "1.11.0"
638+
resolved "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz#c2ec219e35e414c025b2095e8b8280278478fdb6"
639+
integrity sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==
640640
dependencies:
641641
follow-redirects "^1.15.6"
642-
form-data "^4.0.0"
642+
form-data "^4.0.4"
643643
proxy-from-env "^1.1.0"
644644

645645
balanced-match@^1.0.0:
@@ -1188,9 +1188,9 @@ foreground-child@^2.0.0:
11881188
cross-spawn "^7.0.0"
11891189
signal-exit "^3.0.2"
11901190

1191-
form-data@^4.0.0:
1191+
form-data@^4.0.4:
11921192
version "4.0.4"
1193-
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
1193+
resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
11941194
integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
11951195
dependencies:
11961196
asynckit "^0.4.0"

0 commit comments

Comments
 (0)