Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-security-txt

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-security-txt - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

__tests__/formatPolicy.test.js

87

package.json
{
"name": "express-security-txt",
"version": "1.0.0",
"version": "1.0.1",
"description": "Express middleware that implements a security.txt path and policy",
"main": "index.js",
"scripts": {
"lint": "standard && eslint *.js",
"lint:fix": "standard --fix",
"test": "jest",
"test:watch": "jest --watch",
"coverage:view": "opn coverage/lcov-report/index.html",
"commit": "git-cz",
"docs": "yarn run docs:code && yarn run docs:api",
"docs:api": "doxdox *.js --layout bootstrap --output docs/index.html",
"docs:code": "docco *.js --output docs/code"
},
"author": "Liran Tal",
"license": "MIT"
"license": "MIT",
"devDependencies": {
"commitizen": "^2.9.5",
"cz-conventional-changelog": "^1.2.0",
"docco": "^0.7.0",
"doxdox": "^2.0.1",
"eslint": "^3.19.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-security": "^1.3.0",
"jest": "^21.1.0",
"opn-cli": "^3.1.0",
"standard": "^10.0.2"
},
"jest": {
"verbose": true,
"notify": true,
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"standard": {
"env": [
"node",
"jest"
]
},
"eslintConfig": {
"env": {
"node": true,
"es6": true,
"jest": true
},
"plugins": [
"node",
"security"
],
"extends": [
"plugin:node/recommended"
],
"rules": {
"node/no-unsupported-features": "off",
"node/no-unpublished-require": "off",
"security/detect-non-literal-fs-filename": "error",
"security/detect-unsafe-regex": "error",
"security/detect-buffer-noassert": "error",
"security/detect-child-process": "error",
"security/detect-disable-mustache-escape": "error",
"security/detect-eval-with-expression": "error",
"security/detect-no-csrf-before-method-override": "error",
"security/detect-non-literal-regexp": "error",
"security/detect-non-literal-require": "error",
"security/detect-object-injection": "error",
"security/detect-possible-timing-attacks": "error",
"security/detect-pseudoRandomBytes": "error"
},
"parserOptions": {
"ecmaFeatures": {
"impliedStrict": true
}
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc