Skip to content

Commit 9217416

Browse files
committed
Remove unused packages
Fix long suggestion text Bump package version Add repository and homepage to package json
1 parent 9dbf719 commit 9217416

File tree

3 files changed

+11
-24
lines changed

3 files changed

+11
-24
lines changed

lib/rules/no-unsafe-object-assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
},
1111
messages: {
1212
avoidObjectAssign: 'Avoid unsafe usage of Object.assign',
13-
mitigateObjectAssign: 'Use the spread operator instead, or use Object.assign with an object literal as the first argument (Object.assign({}, obj1, obj2))',
13+
mitigateObjectAssign: 'Use Object.assign with an object literal as the first argument',
1414
customMessage: "{{customMessage}}",
1515
},
1616
hasSuggestions: true,

package-lock.json

Lines changed: 3 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
22
"name": "eslint-plugin-prototype-pollution",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Detect the use of prototype pollution vulnerabilities",
5+
"homepage": "https://github.com/bsShoham/eslint-plugin-prototype-pollution",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/bsShoham/eslint-plugin-prototype-pollution.git"
9+
},
510
"keywords": [
611
"eslint",
712
"eslintplugin",
@@ -22,7 +27,6 @@
2227
"requireindex": "^1.2.0"
2328
},
2429
"devDependencies": {
25-
"@types/eslint": "^8.56.2",
2630
"eslint": "^8.56.0",
2731
"eslint-doc-generator": "^1.6.2",
2832
"eslint-plugin-eslint-plugin": "^5.2.1",
@@ -36,5 +40,5 @@
3640
"peerDependencies": {
3741
"eslint": ">=7"
3842
},
39-
"license": "ISC"
43+
"license": "MIT"
4044
}

0 commit comments

Comments
 (0)