Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
defiantly-patch-aws-cdk-lib
Advanced tools
This package patches the [aws-cdk-lib](https://www.npmjs.com/package/aws-cdk-lib)'s `package.json#exports` to add `core` as an individual export so that it can be imported without importing all libraries in the AWS CDK (which is crazy slow and resource in
aws-cdk-lib
😈This package patches the aws-cdk-lib's package.json#exports
to add core
as an individual export so that it can be imported without importing all libraries in the AWS CDK (which is crazy slow and resource intensive).
It runs a postinstall
script that discovers the installed aws-cdk-lib and hot-fixes its exports.
"exports": {
// ..
"./core": "./core/index.js"
}
Just add this package as a dependency alongside the aws-cdk-lib
and install.
{
"dependencies": {
"aws-cdk-lib": "*",
"defiantly-patch-aws-cdk-lib": "*"
}
}
Install using whatever your package manager's command is:
npm i
yarn
pnpm i
This is exceptionally bad practice and naughty 🙈, but AWS has rejected multiple one-line PRs attempting to contribute this fix to the core library with dogmatic reasoning. We love the capability provided to us by the CDK but have been disappointed with the lack of support from the AWS team in improving performance. This protest can hopefully catalyze the change we need.
Rejected PRs:
FAQs
This package patches the [aws-cdk-lib](https://www.npmjs.com/package/aws-cdk-lib)'s `package.json#exports` to add `core` as an individual export so that it can be imported without importing all libraries in the AWS CDK (which is crazy slow and resource in
The npm package defiantly-patch-aws-cdk-lib receives a total of 1 weekly downloads. As such, defiantly-patch-aws-cdk-lib popularity was classified as not popular.
We found that defiantly-patch-aws-cdk-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.