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

tslint-immutable

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-immutable - npm Package Compare versions

Comparing version 0.2.3 to 1.0.0

8

package.json
{
"name": "tslint-immutable",
"version": "0.2.3",
"version": "1.0.0",
"description": "TSLint rules to disable all mutation in TypeScript.",

@@ -9,5 +9,5 @@ "main": "index.js",

"build": "tsc -p tsconfig.prod.json",
"publish:major": "npm run build && node scripts/publish.js major",
"publish:minor": "npm run build && node scripts/publish.js minor",
"publish:patch": "npm run build && node scripts/publish.js patch"
"publish:major": "rm -rf rules && npm run build && node scripts/publish.js major",
"publish:minor": "rm -rf rules && npm run build && node scripts/publish.js minor",
"publish:patch": "rm -rf rules && npm run build && node scripts/publish.js patch"
},

@@ -14,0 +14,0 @@ "repository": {

@@ -5,3 +5,3 @@ require("shelljs/global");

console.log(`Incrementing the ${versionPart} part of version in package.json...`);
const newVersion = incrementVersion(versionPart);
const newVersion = "1.0.0"; //incrementVersion(versionPart);
console.log(`New version is ${newVersion}, commiting rules, package.json...`);

@@ -13,4 +13,13 @@ commit(newVersion);

push();
console.log(`Publishing on npm...`);
publish();
console.log(`Publish of new ${versionPart} versioned ${newVersion} completed successfully`);
function publish() {
if (exec(`npm publish`).code !== 0) {
echo("Error: Npm publish failed");
exit(1);
}
}
function push() {

@@ -17,0 +26,0 @@ if (exec(`git push --follow-tags`).code !== 0) {

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