
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@adorsys-gis/cloning-decorator
Advanced tools
A TypeScript decorator library for deep cloning method arguments to prevent side effects, enhancing immutability in class methods.
This library was generated with Nx.
npm i
To build the library and ensure everything is set up correctly without code errors, you can follow these steps:
This will compile your TypeScript code based on the tsconfig.lib.json
file.
npm run build
"scripts": {
"build": "tsc -p packages/cloning-decorator/tsconfig.lib.json"
}
Linting will check for any stylistic or programming errors based on your ESLint configuration.
npm run lint
"scripts": {
"lint": "eslint packages/cloning-decorator/src --ext .ts"
}
This will run the tests for the library project using Jest.
npm run test
"scripts": {
"test": "jest"
}
Jest will execute tests found in files matching the pattern */.spec.ts.
FAQs
A TypeScript decorator library for deep cloning method arguments to prevent side effects, enhancing immutability in class methods.
We found that @adorsys-gis/cloning-decorator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.