Skip to content

Commit

Permalink
Remove unused packages
Browse files Browse the repository at this point in the history
Fix long suggestion text
Bump package version
Add repository and homepage to package json
  • Loading branch information
bsShoham committed Jan 18, 2024
1 parent 9dbf719 commit 9217416
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 24 deletions.
2 changes: 1 addition & 1 deletion lib/rules/no-unsafe-object-assign.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
},
messages: {
avoidObjectAssign: 'Avoid unsafe usage of Object.assign',
mitigateObjectAssign: 'Use the spread operator instead, or use Object.assign with an object literal as the first argument (Object.assign({}, obj1, obj2))',
mitigateObjectAssign: 'Use Object.assign with an object literal as the first argument',
customMessage: "{{customMessage}}",
},
hasSuggestions: true,
Expand Down
23 changes: 3 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "eslint-plugin-prototype-pollution",
"version": "0.1.2",
"version": "0.1.3",
"description": "Detect the use of prototype pollution vulnerabilities",
"homepage": "https://github.com/bsShoham/eslint-plugin-prototype-pollution",
"repository": {
"type": "git",
"url": "git+https://github.com/bsShoham/eslint-plugin-prototype-pollution.git"
},
"keywords": [
"eslint",
"eslintplugin",
Expand All @@ -22,7 +27,6 @@
"requireindex": "^1.2.0"
},
"devDependencies": {
"@types/eslint": "^8.56.2",
"eslint": "^8.56.0",
"eslint-doc-generator": "^1.6.2",
"eslint-plugin-eslint-plugin": "^5.2.1",
Expand All @@ -36,5 +40,5 @@
"peerDependencies": {
"eslint": ">=7"
},
"license": "ISC"
"license": "MIT"
}

0 comments on commit 9217416

Please sign in to comment.