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

@alma-cdk/origin-verify

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alma-cdk/origin-verify - npm Package Compare versions

Comparing version 0.0.31 to 0.0.32

2

lib/construct.js

@@ -162,5 +162,5 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
OriginVerify[_a] = { fqn: "@alma-cdk/origin-verify.OriginVerify", version: "0.0.31" };
OriginVerify[_a] = { fqn: "@alma-cdk/origin-verify.OriginVerify", version: "0.0.32" };
/** Origin Request Header Default Name */
OriginVerify.OriginVerifyHeader = 'x-origin-verify';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RydWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NvbnN0cnVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZDQUFpRDtBQUlqRCx1RUFBd0Q7QUFDeEQscURBQXdFO0FBQ3hFLDJDQUF1QztBQUV2QyxzQ0FBd0M7QUFHeEM7OztHQUdHO0FBQ0gsTUFBYSxZQUFhLFNBQVEsc0JBQVM7SUFxQnpDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7T0EyQkc7SUFDSCxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQXdCO1FBQ2hFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsd0NBQXdDO1FBQ3hDLE1BQU0sV0FBVyxHQUFHLElBQUksQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLFdBQVcsQ0FBQyxDQUFDO1FBQzFELE1BQU0sWUFBWSxHQUFrQjtZQUNsQyxVQUFVLEVBQUUsS0FBSyxDQUFDLFVBQVUsSUFB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vbkxvYWRCYWxhbmNlciBvciBBcHBTeW5jIENmbkdyYXBoUUxBcGknKTtcbiAgICByZXR1cm4gJyc7XG4gIH1cblxuICAvKiogRm9ybWF0ZXMgQVBJIEdhdGV3YXkgU3RhZ2UgQVJOLiAqL1xuICBwcml2YXRlIHJlc29sdmVTdGFnZUFybihzdGFnZTogSVN0YWdlKTogc3RyaW5nIHtcbiAgICBjb25zdCByZWdpb24gPSBTdGFjay5vZihzdGFnZSkucmVnaW9uO1xuICAgIGNvbnN0IGFwaUlkID0gc3RhZ2UucmVzdEFwaS5yZXN0QXBpSWQ7XG4gICAgY29uc3Qgc3RhZ2VOYW1lID0gc3RhZ2Uuc3RhZ2VOYW1lO1xuICAgIHJldHVybiBgYXJuOmF3czphcGlnYXRld2F5OiR7cmVnaW9ufTo6L3Jlc3RhcGlzLyR7YXBpSWR9L3N0YWdlcy8ke3N0YWdlTmFtZX1gO1xuICB9XG5cbn1cblxuIl19

@@ -84,3 +84,3 @@ {

},
"version": "0.0.31",
"version": "0.0.32",
"jest": {

@@ -87,0 +87,0 @@ "testMatch": [

Sorry, the diff of this file is not supported yet

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