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

@aws-cdk/core

Package Overview
Dependencies
Maintainers
5
Versions
248
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/core - npm Package Compare versions

Comparing version 1.36.0 to 1.36.1

9

lib/private/runtime-info.js

@@ -60,2 +60,9 @@ "use strict";

const mod = require.cache[fileName];
if (!mod.paths) {
// sometimes this can be undefined. for example when querying for .json modules
// inside a jest runtime environment.
// see https://github.com/aws/aws-cdk/issues/7657
// potentially we can remove this if it turns out to be a bug in how jest implemented the 'require' module.
return undefined;
}
const paths = mod.paths.map(stripNodeModules);

@@ -94,2 +101,2 @@ try {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVudGltZS1pbmZvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicnVudGltZS1pbmZvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsaURBQTJEO0FBRTNELDZGQUE2RjtBQUM3RixNQUFNLGdCQUFnQixHQUFHLENBQUMsVUFBVSxFQUFFLHlCQUF5QixDQUFDLENBQUM7QUFFakU7O0dBRUc7QUFDSCxTQUFnQix5QkFBeUI7SUFDdkMsTUFBTSxTQUFTLEdBQStCLEVBQUUsQ0FBQztJQUVqRCxLQUFLLE1BQU0sUUFBUSxJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFO1FBQ2pELE1BQU0sR0FBRyxHQUFHLGNBQWMsQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUNyQyxJQUFJLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxPQUFPLEVBQUU7WUFDdkIsU0FBUyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsR0FBRyxHQUFHLENBQUMsT0FBTyxDQUFDO1NBQ25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M7XG4gIH1cbn1cblxuZnVuY3Rpb24gZ2V0SnNpaUFnZW50VmVyc2lvbigpIHtcbiAgbGV0IGpzaWlBZ2VudCA9IHByb2Nlc3MuZW52LkpTSUlfQUdFTlQ7XG5cbiAgLy8gaWYgSlNJSV9BR0VOVCBpcyBub3Qgc3BlY2lmaWVkLCB3ZSB3aWxsIGFzc3VtZSB0aGlzIGlzIGEgbm9kZS5qcyBydW50aW1lXG4gIC8vIGFuZCBwbHVnIGluIG91ciBub2RlLmpzIHZlcnNpb25cbiAgaWYgKCFqc2lpQWdlbnQpIHtcbiAgICBqc2lpQWdlbnQgPSBgbm9kZS5qcy8ke3Byb2Nlc3MudmVyc2lvbn1gO1xuICB9XG5cbiAgcmV0dXJuIGpzaWlBZ2VudDtcbn1cbiJdfQ==

16

package.json
{
"name": "@aws-cdk/core",
"version": "1.36.0",
"version": "1.36.1",
"description": "AWS Cloud Development Kit Core Library",

@@ -142,12 +142,12 @@ "main": "lib/index.js",

"@types/nodeunit": "^0.0.30",
"cdk-build-tools": "1.36.0",
"cfn2ts": "1.36.0",
"cdk-build-tools": "1.36.1",
"cfn2ts": "1.36.1",
"fast-check": "^1.24.2",
"lodash": "^4.17.15",
"nodeunit": "^0.11.3",
"pkglint": "1.36.0"
"pkglint": "1.36.1"
},
"dependencies": {
"@aws-cdk/cx-api": "1.36.0",
"@aws-cdk/cloud-assembly-schema": "1.36.0",
"@aws-cdk/cx-api": "1.36.1",
"@aws-cdk/cloud-assembly-schema": "1.36.1",
"constructs": "^3.0.2"

@@ -157,4 +157,4 @@ },

"peerDependencies": {
"@aws-cdk/cx-api": "1.36.0",
"@aws-cdk/cloud-assembly-schema": "1.36.0",
"@aws-cdk/cx-api": "1.36.1",
"@aws-cdk/cloud-assembly-schema": "1.36.1",
"constructs": "^3.0.2"

@@ -161,0 +161,0 @@ },

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