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

localstorage-migrator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

localstorage-migrator - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/index.js

@@ -23,5 +23,5 @@ "use strict";

var appliedMigrations = getAppliedMigrations();
migrator.migrate(migrations, appliedMigrations);
storeAppliedMigrations(appliedMigrations);
var appliedMigrationsThisTime = migrator.migrate(migrations, appliedMigrations);
storeAppliedMigrations(appliedMigrations.concat(appliedMigrationsThisTime));
}
exports.migrate = migrate;
{
"name": "localstorage-migrator",
"version": "1.0.3",
"version": "1.0.4",
"description": "A library for applying migrations to localstorage.",

@@ -10,3 +10,8 @@ "main": "lib/index.js",

"lint": "tslint -p tsconfig.json",
"test": "jest --config jest.config.json"
"test": "jest --config jest.config.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},

@@ -36,2 +41,3 @@ "files": [

"jest": "^24.8.0",
"jest-localstorage-mock": "^2.4.0",
"prettier": "^1.18.2",

@@ -44,4 +50,4 @@ "ts-jest": "^24.0.2",

"dependencies": {
"rstolsmark-json-migrator": "^1.0.5"
"rstolsmark-json-migrator": "^1.0.6"
}
}
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