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

meteor-desktop-localstorage

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

meteor-desktop-localstorage - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

dist/index.js

@@ -39,3 +39,3 @@ 'use strict';

* @param {Object} modules - reference to all loaded modules
* @param {string} fileName - the name of the json file
* @param {PluginSettings} fileName - the name of the json file
* @param {Object} Module - reference to Module class

@@ -124,2 +124,2 @@ */

exports.default = LocalStorage;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJMb2NhbFN0b3JhZ2UiLCJjb25zdHJ1Y3RvciIsImxvZyIsInNrZWxldG9uQXBwIiwiYXBwU2V0dGluZ3MiLCJldmVudHNCdXMiLCJtb2R1bGVzIiwiZmlsZU5hbWUiLCJNb2R1bGUiLCJzdG9yYWdlTW9kdWxlIiwic3RvcmFnZUZpbGUiLCJqb2luIiwiZ2V0UGF0aCIsInN0b3JhZ2UiLCJpbml0RG9uZSIsImxvZ2dlcnMiLCJnZXQiLCJvbiIsImluaXQiLCJldmVudCIsImtleSIsInZhbHVlIiwiZmx1c2giLCJmZXRjaElkIiwidmVyYm9zZSIsInJlc3BvbmQiLCJ3cml0ZUZpbGUiLCJKU09OIiwic3RyaW5naWZ5IiwicmVhZEZpbGUiLCJlcnIiLCJkYXRhIiwicGFyc2UiLCJpbmZvIiwiZSIsIndhcm4iLCJPYmplY3QiLCJrZXlzIiwibGVuZ3RoIiwiYXNzaWduIiwiZW1pdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7O0FBQ0E7Ozs7QUFDQTs7Ozs7O0FBRUM7Ozs7OztBQU1EOzs7OztBQUtlLE1BQU1BLFlBQU4sQ0FBbUI7O0FBRTl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lsZSh0aGlzLnN0b3JhZ2VGaWxlLCAndXRmOCcsIChlcnIsIGRhdGEpID0+IHtcbiAgICAgICAgICAgIGlmIChlcnIpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmZsdXNoKCk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgIHN0b3JhZ2UgPSBKU09OLnBhcnNlKGRhdGEpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmxvZy5pbmZvKGBsb2FkZWQgc3RvcmFnZSBmaWxlICR7dGhpcy5zdG9yYWdlRmlsZX1gKTtcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubG9nLndhcm4oYGNvdWxkIG5vdCBwYXJzZSB0aGUgc3RvcmFnZSBmaWxlICR7dGhpcy5zdG9yYWdlRmlsZX1gKTtcbiAgICAgICAgICAgICAgICAgICAgLy8gTm90aGluZyB0byBkbyBoZXJlLiBXZSB3aWxsIHB1dCBhIGZyZXNoIGZpbGUgaW4gcGxhY2UgZmV3IGxpbmVzIGJlbG93LlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAoT2JqZWN0LmtleXModGhpcy5zdG9yYWdlKS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc3RvcmFnZSA9IE9iamVjdC5hc3NpZ24oc3RvcmFnZSwgdGhpcy5zdG9yYWdlKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnN0b3JhZ2UgPSBzdG9yYWdlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aGlzLmZsdXNoKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmluaXREb25lID0gdHJ1ZTtcbiAgICAgICAgICAgIHRoaXMubG9nLmluZm8oYGhhdmUgJHtPYm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hpcy5zdG9yYWdlRmlsZSA9IHBhdGguam9pbihhcHAuZ2V0UGF0aCgndXNlckRhdGEnKSwgZmlsZU5hbWUpO1xuICAgICAgICB0aGlzLnN0b3JhZ2UgPSB7fTtcbiAgICAgICAgdGhpcy5pbml0RG9uZSA9IGZhbHNlO1xuICAgICAgICB0aGlzLmV2ZW50c0J1cyA9IGV2ZW50c0J1cztcbiAgICAgICAgdGhpcy5sb2cgPSBsb2cubG9nZ2Vycy5nZXQoJ21ldGVvci1kZXNrdG9wLWxvY2Fsc3RvcmFnZScpO1xuXG4gICAgICAgIGV2ZW50c0J1cy5vbignYWZ0ZXJMb2FkaW5nJywgKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5pbml0KCk7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHN0b3JhZ2VNb2R1bGUub24oJ3NldCcsIChldmVudCwga2V5LCB2YWx1ZSkgPT4ge1xuICAgICAgICAgICAgdGhpcy5zdG9yYWdlW2tleV0gPSB2YWx1ZTtcbiAgICAgICAgICAgIGlmICh0aGlzLmluaXREb25lKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5mbHVzaCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcblxuICAgICAgICBzdG9yYWdlTW9kdWxlLm9uKCdjbGVhcicsICgpID0+IHtcbiAgICAgICAgICAgIHRoaXMuc3RvcmFnZSA9IHt9O1xuICAgICAgICAgICAgaWYgKHRoaXMuaW5pdERvbmUpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmZsdXNoKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHN0b3JhZ2VNb2R1bGUub24oJ3JlbW92ZScsIChldmVudCwga2V5KSA9PiB7XG4gICAgICAgICAgICBkZWxldGUgdGhpcy5zdG9yYWdlW2tleV07XG4gICAgICAgICAgICBpZiAodGhpcy5pbml0RG9uZSkge1xuICAgICAgICAgICAgICAgIHRoaXMuZmx1c2goKTtcbiAgICAgICAgICAgI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AgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgIHN0b3JhZ2UgPSBKU09OLnBhcnNlKGRhdGEpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmxvZy5pbmZvKGBsb2FkZWQgc3RvcmFnZSBmaWxlICR7dGhpcy5zdG9yYWdlRmlsZX1gKTtcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubG9nLndhcm4oYGNvdWxkIG5vdCBwYXJzZSB0aGUgc3RvcmFnZSBmaWxlICR7dGhpcy5zdG9yYWdlRmlsZX1gKTtcbiAgICAgICAgICAgICAgICAgICAgLy8gTm90aGluZyB0byBkbyBoZXJlLiBXZSB3aWxsIHB1dCBhIGZyZXNoIGZpbGUgaW4gcGxhY2UgZmV3IGxpbmVzIGJlbG93LlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAoT2JqZWN0LmtleXModGhpcy5zdG9yYWdlKS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc3RvcmFnZSA9IE9iamVjdC5hc3NpZ24oc3RvcmFnZSwgdGhpcy5zdG9yYWdlKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnN0b3JhZ2UgPSBzdG9yYWdlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aGlzLmZsdXNoKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmluaXREb25lID0gdHJ1ZTtcbiAgICAgICAgICAgIHRoaXMubG9nLmluZm8oYGhhdmUgJHtPYmplY3Qua2V5cyh0aGlzLnN0b3JhZ2UpLmxlbmd0aH0ga2V5c2ApO1xuICAgICAgICAgICAgdGhpcy5ldmVudHNCdXMuZW1pdCgnbG9jYWxTdG9yYWdlLmxvYWRlZCcpO1xuICAgICAgICB9KTtcbiAgICB9XG59XG4iXX0=
{
"name": "meteor-desktop-localstorage",
"version": "0.0.4",
"version": "0.0.5",
"engines": {

@@ -10,5 +10,5 @@ "node": ">=6.0.0"

"scripts": {
"test": "ava tests/functional/**/*.js --verbose -s",
"test-watch": "ava tests/functional/**/*.js --source dist/**/* --watch --verbose -s",
"lint": "eslint src tests",
"test": "ava tests/functional/**/*.js -s",
"test-watch": "ava tests/functional/**/*.js --watch --verbose -s",
"lint": "eslint src tests plugins",
"build": "babel src --out-dir dist --source-maps inline --copy-files",

@@ -26,11 +26,11 @@ "build-watch": "babel src --watch --out-dir dist --source-maps inline --copy-files",

"ava": "^0.16.0",
"babel-cli": "^6.16.0",
"babel-cli": "^6.18.0",
"babel-preset-node6": "^11.0.0",
"eslint": "^3.7.1",
"eslint-config-airbnb-base": "^8.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint": "^3.8.1",
"eslint-config-airbnb-base": "^9.0.0",
"eslint-plugin-import": "^2.0.1",
"spectron": "^3.4.0",
"shelljs": "^0.7.4",
"electron": "^1.4.2",
"meteor-desktop-plugin-test-suite": "0.0.12"
"electron": "^1.4.4",
"meteor-desktop-plugin-test-suite": "0.0.13"
},

@@ -37,0 +37,0 @@ "dependencies": {},

Package.describe({
name: 'omega:meteor-desktop-localstorage',
summary: 'Persistent localStorage for meteor-desktop',
version: '0.0.4',
version: '0.0.5',
git: 'https://github.com/wojtkowiak/meteor-desktop-localstorage',

@@ -6,0 +6,0 @@ documentation: 'README.md'

@@ -20,3 +20,3 @@ # Meteor Desktop localStorage [![npm version](https://img.shields.io/npm/v/meteor-desktop-localstorage.svg)](https://npmjs.org/package/meteor-desktop-localstorage)

"meteor-desktop-localstorage": {
"version": "0.0.3"
"version": "0.0.5"
}

@@ -34,3 +34,3 @@ }

"meteor-desktop-localstorage": {
"version": "0.0.3",
"version": "0.0.5",
"fileName": "myCustomName.json"

@@ -37,0 +37,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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