Socket
Socket
Sign inDemoInstall

helmet-crossdomain

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helmet-crossdomain - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

4

CHANGELOG.md
# Changelog
## 0.5.0 - 2019-09-01
## Changed
- Dropped support for Node <8
## 0.4.0 - 2019-06-15

@@ -4,0 +8,0 @@ ### Added

4

dist/index.d.ts
/// <reference types="node" />
import { IncomingMessage, ServerResponse } from 'http';
interface CrossDomainOptions {
interface CrossdomainOptions {
permittedPolicies?: string;
}
declare const _default: (options?: CrossDomainOptions) => (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
declare const _default: (options?: CrossdomainOptions) => (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export = _default;

@@ -5,3 +5,3 @@ {

"description": "Set the X-Permitted-Cross-Domain-Policies header in Express apps",
"version": "0.4.0",
"version": "0.5.0",
"license": "MIT",

@@ -26,3 +26,3 @@ "keywords": [

"engines": {
"node": ">=4.0.0"
"node": ">=8.0.0"
},

@@ -48,14 +48,14 @@ "main": "./dist/index.js",

"@types/connect": "^3.4.32",
"@types/jest": "^24.0.14",
"@types/supertest": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"@types/jest": "^24.0.18",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"connect": "^3.7.0",
"eslint": "^5.16.0",
"eslint": "^6.3.0",
"eslint-config-helmet": "^0.2.0",
"jest": "^24.8.0",
"jest": "^24.9.0",
"supertest": "^4.0.2",
"ts-jest": "^24.0.2",
"typescript": "^3.5.2"
"typescript": "^3.6.2"
}
}
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