New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ampproject/toolbox-cors

Package Overview
Dependencies
Maintainers
8
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ampproject/toolbox-cors - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0-alpha.0

2

lib/cors.js

@@ -51,2 +51,4 @@ /**

options.verifyOrigin = false;
// email doesn't support AMP-Redirect-To
options.enableAmpRedirectTo = false;
}

@@ -53,0 +55,0 @@ return async (request, response, next) => {

13

package.json
{
"name": "@ampproject/toolbox-cors",
"version": "1.1.1",
"version": "2.0.0-alpha.0",
"description": "An express middleware implementing the AMP CORS protocol",

@@ -16,3 +16,4 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/ampproject/amp-toolbox.git"
"url": "git+https://github.com/ampproject/amp-toolbox.git",
"directory": "packages/cors"
},

@@ -22,5 +23,5 @@ "author": "AMPHTML Team",

"dependencies": {
"@ampproject/toolbox-cache-list": "^1.1.1",
"@ampproject/toolbox-cache-url": "^1.1.1",
"@ampproject/toolbox-core": "^1.1.1"
"@ampproject/toolbox-cache-list": "^2.0.0-alpha.0",
"@ampproject/toolbox-cache-url": "^2.0.0-alpha.0",
"@ampproject/toolbox-core": "^2.0.0-alpha.0"
},

@@ -31,3 +32,3 @@ "bugs": {

"homepage": "https://github.com/ampproject/amp-toolbox/tree/master/packages/cors",
"gitHead": "6ce20613dba3e66b7722df599f62f35dc6391962"
"gitHead": "6140009b75eaa18afeaccf0a5f1996f490dcebfb"
}
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