Skip to content

Commit

Permalink
3PP - update 3rd party deps to remove security vulns (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwilaby authored Aug 30, 2024
1 parent b4b7dec commit e72053c
Show file tree
Hide file tree
Showing 6 changed files with 3,632 additions and 1,479 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@
],
"plugins": ["oclif"],
"rules": {
// Remove these and fix lint errors
"padding-line-between-statements": "warn",
"prefer-destructuring": "warn",
"perfectionist/sort-objects": "warn",
"import/no-named-as-default": "warn",
"perfectionist/sort-union-types": "warn",
"perfectionist/sort-classes": "warn",
"perfectionist/sort-imports": "warn",
"unicorn/prefer-optional-catch-binding": "warn",
"unicorn/prefer-node-protocol": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"unicorn/prefer-spread": "warn",
"unicorn/prefer-module": "warn"
},
"ignorePatterns": ["lib/**/*"]
}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile
- run: yarn --frozen-lockfile --ignore-engines
- run: yarn test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
lib
node_modules
.idea
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,22 @@
"http-call": "^5.3.0"
},
"devDependencies": {
"@types/chai": "^4.3.14",
"@oclif/test": "^1.2.4",
"@types/chai": "^4.3.14",
"@types/mocha": "^10.0.6",
"@types/node": "16.11.7",
"@types/supports-color": "^5.3.0",
"chai": "^4.4.1",
"eslint": "^7.0.0",
"eslint-config-oclif": "^3.1.0",
"eslint-config-oclif-typescript": "^0.2.0",
"eslint": "8.x",
"eslint-config-oclif": "^5.2.1",
"eslint-config-oclif-typescript": "^3.1.9",
"eslint-plugin-oclif": "^0.1.0",
"globby": "^8.0.1",
"globby": "^14.0.2",
"mocha": "^10.4.0",
"nock": "^13.5.1",
"oclif": "^4.14.26",
"ts-node": "^9.0.0",
"typescript": "3.8.3"
"typescript": "5.5.4"
},
"files": [
"oclif.manifest.json",
Expand Down Expand Up @@ -67,7 +68,8 @@
"postpublish": "rm oclif.manifest.json",
"posttest": "yarn lint && tsc --noEmit -p test",
"prepare": "rm -rf lib && tsc",
"prepublishOnly": "oclif-dev manifest",
"prepack": "tsc && oclif manifest",
"pretest": "tsc && oclif manifest",
"test": "mocha test/**/*.test.ts",
"version": "oclif-dev readme && git add README.md"
}
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"module": "commonjs",
"skipLibCheck": true,
"useUnknownInCatchVariables": false,
"outDir": "./lib",
"pretty": true,
"rootDirs": [
Expand Down
Loading

0 comments on commit e72053c

Please sign in to comment.