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
7
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 2.2.0 to 2.3.0

10

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

@@ -22,5 +22,5 @@ "main": "index.js",

"dependencies": {
"@ampproject/toolbox-cache-list": "^2.2.0",
"@ampproject/toolbox-cache-url": "^2.2.0",
"@ampproject/toolbox-core": "^2.2.0"
"@ampproject/toolbox-cache-list": "^2.3.0",
"@ampproject/toolbox-cache-url": "^2.3.0",
"@ampproject/toolbox-core": "^2.3.0"
},

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

"homepage": "https://github.com/ampproject/amp-toolbox/tree/master/packages/cors",
"gitHead": "e2bea7ac7d4cb6a57d196e124ee8a5f818123a02"
"gitHead": "bb7eaa6c720044e84f01c6406f5f0805dc637923"
}

@@ -110,3 +110,3 @@ # AMP CORS Middleware

See [express.js](demo/express.js) for a sample implementation. There are two scenarios in which the AMP CORS header will be added:
See [express.js](/packages/cors/demo/express.js) for a sample implementation. There are two scenarios in which the AMP CORS header will be added:

@@ -113,0 +113,0 @@ 1. AMP CORS header will be set if the `__amp_source_origin` query parameter is set together with the `AMP-SAME-ORIGIN` header:

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