@2toad/profanity
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "@2toad/profanity", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A JavaScript profanity filter", | ||
@@ -16,9 +16,10 @@ "homepage": "https://github.com/2Toad/Profanity", | ||
"lint": "npx eslint src --cache", | ||
"lint:fix": "eslint src --cache --fix", | ||
"lint:fix": "npx eslint src --cache --fix", | ||
"prettier": "npx prettier --write .", | ||
"test": "mocha -r ts-node/register src/**/*.spec.ts", | ||
"prepare": "husky install", | ||
"clean": "npx rimraf dist", | ||
"build": "npm run clean && npx tsc", | ||
"deploy": "npm publish" | ||
"deploy": "npm publish", | ||
"postinstall": "husky install", | ||
"prepublishOnly": "npm run lint && npm run test && npm run build" | ||
}, | ||
@@ -25,0 +26,0 @@ "repository": { |
@@ -82,3 +82,3 @@ # Profanity | ||
When specifying a `CensoryType` other than `CensorType.Word`, this is the character used by the `censor` function. | ||
When specifying a `CensorType` other than `CensorType.Word`, this is the character used by the `censor` function. | ||
@@ -85,0 +85,0 @@ By default this is set to `*`: |
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
50709
33
827
1
1