Skip to content

Commit

Permalink
fix: up deps, fix some vuls
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 9, 2022
1 parent 4d4e2cf commit 80fa330
Show file tree
Hide file tree
Showing 3 changed files with 1,029 additions and 964 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"prebuild": "yarn clean && npm_config_yes=true npx buildstamp --git --out.path buildstamp.json",
"build": "npm-run-all -p -l build:es6 build:ts build:bundle docs && yarn build:fix",
"build:es6": "mkdirp target/es6 && tsc -p tsconfig.es6.json",
"build:ts": "cpy src/main/ts/ target/ts/",
"build:ts": "cpy ./src/main/ts ./target/ts --flat",
"build:bundle": "microbundle --tsconfig tsconfig.es6.json build src/main/ts/index.ts -o target/bundle",
"build:fix": "node scripts/js/build-fix.js",
"docs": "typedoc",
Expand All @@ -54,32 +54,32 @@
},
"dependencies": {
"@types/fs-extra": "^9.0.13",
"fs-extra": "^10.0.0",
"globby": "^13.0.0",
"fs-extra": "^10.0.1",
"globby": "^13.1.1",
"json5": "^2.2.0",
"meow": "^10.1.2",
"tslib": "^2.3.1"
},
"devDependencies": {
"@qiwi/npm-run-all": "^4.1.7",
"@types/jest": "^27.0.3",
"@types/node": "^17.0.5",
"cpy-cli": "^3.1.1",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"cpy-cli": "^4.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-qiwi": "^1.15.3",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-qiwi": "^1.16.1",
"glob-runner": "^1.0.5",
"jest": "^27.4.5",
"jest": "^27.5.1",
"microbundle": "^0.14.2",
"mkdirp": "^1.0.4",
"prettier": "^2.5.1",
"prettier-config-qiwi": "^1.5.0",
"prettier-config-qiwi": "^1.6.1",
"rimraf": "^3.0.2",
"tempy": "^2.0.0",
"terser": "^5.10.0",
"ts-jest": "^27.1.2",
"typedoc": "^0.22.10",
"terser": "^5.12.0",
"ts-jest": "^27.1.3",
"typedoc": "^0.22.13",
"typescript": "4.6"
},
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions src/main/ts/fix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const fixContents = (

const getExtModulesWithPkgJsonExports = (cwd: string): Promise<string[]> =>
globby(['node_modules/*/package.json'], {
cwd: cwd,
cwd,
onlyFiles: true,
absolute: true,
}).then((files: string[]) =>
Expand All @@ -150,7 +150,7 @@ const getExtModules = async (cwd: string): Promise<string[]> =>
),
],
{
cwd: cwd,
cwd,
onlyFiles: true,
absolute: true,
},
Expand All @@ -173,7 +173,7 @@ export const fix = async (opts?: IFixOptions): Promise<void> => {
: targets.map((target) => `${target}/**/*.js`)

const names = await globby(patterns, {
cwd: cwd,
cwd,
onlyFiles: true,
absolute: true,
})
Expand Down
Loading

0 comments on commit 80fa330

Please sign in to comment.