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

awscdk-81-patch

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awscdk-81-patch

The `@aws-cdk/aws-eks` and `@aws-cdk/aws-s3-deployment` modules are broken in v1.81.0 of the AWS CDK due to a missing file in the npm bundle.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Patch for AWS CDK 1.81.0

The @aws-cdk/aws-eks and @aws-cdk/aws-s3-deployment modules are broken in v1.81.0 of the AWS CDK due to a missing file in the npm bundle.

Tracking issue: https://github.com/aws/aws-cdk/issues/12291

We apologize for this. Until we are able to release a patch, you can use this tool to apply a patch to the relevant modules. This patch will only work if you are using v1.81.0 and will need to get removed in the future.

Usage

This patch is provided for all CDK programming languages.

JavaScript/TypeScript

Install using npm/yarn:

npm install awscdk-81-patch

Add this to your main file (before the App construct is created):

import { Patch } from 'awscdk-81-patch';
Patch.apply();

const app = new cdk.App();
// ....

Python

Add this to your requirements.txt:

awscdk-81-patch

Add this to your app.py:

from awscdk_81_patch import Patch
Patch.apply()


app = core.App()
# ...

Java

Add this to your pom.xml file:

<dependencies>
  <dependency>
      <groupId>com.github.eladb</groupId>
      <artifactId>awscdk-81-patch</artifactId>
      <version>1.0.0</version>
  </dependency>
</dependencies>

Apply first thing in your main() method:

import com.github.eladb.awscdk81patch.Patch;

public static void main(final String[] args) { {
  Patch.apply();

  App app = new App();
  // ...
}

.NET

Install this module:

dotnet add package Eladb.AwsCdk81Patch

In Program.cs, add this:

using Eladb.AwsCdk81Patch;

public static void Main(string[] args)
{
    Patch.apply();

    var app = new App();
    // ...
}

License

Distributed under the Apache 2.0 license.

FAQs

Package last updated on 31 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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