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

data-storager

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-storager - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "data-storager",
"version": "1.0.0",
"version": "1.0.1",
"description": "Implementation of an interface for saving and restoring small data",

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

@@ -1,4 +0,1 @@

/* eslint-disable class-methods-use-this */
/* eslint-disable no-multi-assign */
/* eslint-disable no-console */
/**

@@ -5,0 +2,0 @@ *

@@ -1,2 +0,1 @@

/* eslint-disable no-console */
const path = require('path');

@@ -26,3 +25,2 @@ const fs = require('fs');

this.path = (typeof storragePath === "string") ? storragePath : "./";
console.log(this.path);
if (!fs.existsSync(this.path))

@@ -29,0 +27,0 @@ throw new Error(`"${this.path}" folder does not exist`);

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