Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@ms-cloudpack/package-overrides
Advanced tools
Provides overrides for package.json to polyfill missing parts, such as exports maps.
Readme
Provides package.json patches for packages, which allows for providing missing parts such as exports maps. The @ms-cloudpack/package-utilities
package uses this package to fill in missing details for common packages.
applyOverrides(definition: PackageJson): PackageJson
Returns a new definition which merges the given definition and overrides (if available.)
Exports maps and other missing data are welcome to be added under the src/packages/{packageName}/overrides.json
files. The format is simple:
[
{
"version": "<1", // semver range match,
"overrides": { ... } // package.json definition merged on top of the definition.
}
]
Sometimes overrides are required but specific to an application, and don't belong in this package. In these cases, you can provide your own per-package overrides in your application's package.json
file:
{
"name": "my-app",
"version": "1.0.0",
"cloudpack": {
"packageOverrides": {
"react": [
{
"version": "^16",
"overrides": { ... }
}
]
}
}
}
FAQs
Provides overrides for package.json to polyfill missing parts, such as exports maps.
The npm package @ms-cloudpack/package-overrides receives a total of 885 weekly downloads. As such, @ms-cloudpack/package-overrides popularity was classified as not popular.
We found that @ms-cloudpack/package-overrides demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.