feature-policy
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -5,3 +5,3 @@ { | ||
"description": "Middleware to set the Feature-Policy HTTP header", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"license": "MIT", | ||
@@ -15,2 +15,3 @@ "keywords": [ | ||
], | ||
"homepage": "https://helmetjs.github.io/docs/feature-policy/", | ||
"repository": { | ||
@@ -20,22 +21,43 @@ "type": "git", | ||
}, | ||
"bugs": "https://github.com/helmetjs/feature-policy/issues", | ||
"bugs": { | ||
"url": "https://github.com/helmetjs/feature-policy/issues", | ||
"email": "me@evanhahn.com" | ||
}, | ||
"scripts": { | ||
"pretest": "standard --fix", | ||
"test": "mocha" | ||
"pretest": "npm run lint", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint --fix '**/*.ts'", | ||
"test": "jest --config test/jest-config.json", | ||
"clean": "rm -rf dist", | ||
"build": "npm run clean && tsc" | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
}, | ||
"main": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"files": [ | ||
"CHANGELOG.md", | ||
"LICENSE", | ||
"README.md", | ||
"dist/index.js", | ||
"dist/index.d.ts" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@types/connect": "^3.4.32", | ||
"@types/dashify": "^1.0.0", | ||
"@types/jest": "^24.0.12", | ||
"@types/supertest": "^2.0.7", | ||
"@typescript-eslint/eslint-plugin": "^1.7.0", | ||
"@typescript-eslint/parser": "^1.7.0", | ||
"connect": "^3.6.6", | ||
"dasherize": "^2.0.0", | ||
"mocha": "^5.2.0", | ||
"standard": "^12.0.1", | ||
"supertest": "^3.3.0" | ||
}, | ||
"standard": { | ||
"globals": [ | ||
"describe", | ||
"beforeEach", | ||
"it" | ||
] | ||
"dashify": "^2.0.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-helmet": "^0.2.0", | ||
"jest": "^24.8.0", | ||
"supertest": "^4.0.2", | ||
"ts-jest": "^24.0.2", | ||
"typescript": "^3.4.5" | ||
} | ||
} |
@@ -5,4 +5,2 @@ Feature Policy | ||
[_Looking for a changelog?_](https://github.com/helmetjs/helmet/blob/master/HISTORY.md) | ||
This is Express middleware to set the `Feature-Policy` header. You can read more about it [here](https://scotthelme.co.uk/a-new-security-header-feature-policy/) and [here](https://developers.google.com/web/updates/2018/06/feature-policy). | ||
@@ -29,18 +27,35 @@ | ||
* `accelerometer` | ||
* `ambientLightSensor` | ||
* `autoplay` | ||
* `camera` | ||
* `documentDomain` | ||
* `documentWrite` | ||
* `encryptedMedia` | ||
* `fontDisplayLateSwap` | ||
* `fullscreen` | ||
* `geolocation` | ||
* `gyroscope` | ||
* `layoutAnimations` | ||
* `legacyImageFormats` | ||
* `loadingFrameDefaultEager` | ||
* `magnetometer` | ||
* `microphone` | ||
* `midi` | ||
* `notifications` | ||
* `push` | ||
* `oversizedImages` | ||
* `payment` | ||
* `pictureInPicture` | ||
* `serial` | ||
* `speaker` | ||
* `syncScript` | ||
* `syncXhr` | ||
* `microphone` | ||
* `camera` | ||
* `magnetometer` | ||
* `gyroscope` | ||
* `speaker` | ||
* `unoptimizedImages` | ||
* `unoptimizedLosslessImages` | ||
* `unoptimizedLossyImages` | ||
* `unsizedMedia` | ||
* `usb` | ||
* `verticalScroll` | ||
* `vibrate` | ||
* `fullscreen` | ||
* `payment` | ||
* `accelerometer` | ||
* `usb` | ||
* `vr` | ||
* `autoplay` | ||
* `wakeLock` | ||
* `xr` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
8926
108
0
60
14
6
1