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

@syntest/storage

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syntest/storage - npm Package Compare versions

Comparing version 0.3.0-beta.1 to 0.3.0-beta.2

dist/lib/Configuration.d.ts

2

dist/index.d.ts

@@ -1,3 +0,3 @@

export * from "./lib/util/Configuration";
export * from "./lib/Configuration";
export * from "./lib/StorageManager";
//# sourceMappingURL=index.d.ts.map

@@ -34,4 +34,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./lib/util/Configuration"), exports);
__exportStar(require("./lib/Configuration"), exports);
__exportStar(require("./lib/StorageManager"), exports);
//# sourceMappingURL=index.js.map

@@ -23,2 +23,3 @@ "use strict";

const path = require("node:path");
const diagnostics_1 = require("@syntest/diagnostics");
const logging_1 = require("@syntest/logging");

@@ -36,3 +37,3 @@ const fs_extra_1 = require("fs-extra");

if (pathPart.includes("/") || pathPart.includes("\\")) {
throw new Error("Storage path cannot contain any of the following characters /\\");
throw new diagnostics_1.IllegalArgumentError("Storage path cannot contain any of the following characters /\\");
}

@@ -109,7 +110,7 @@ }

if (fileName.includes("/") || fileName.includes("\\")) {
throw new Error("filename cannot contain any of the following characters /\\");
throw new diagnostics_1.IllegalArgumentError("Filename cannot contain any of the following characters /\\");
}
for (const pathPart of storagePath) {
if (pathPart.includes("/") || pathPart.includes("\\")) {
throw new Error("Storage path cannot contain any of the following characters /\\");
throw new diagnostics_1.IllegalArgumentError("Storage path cannot contain any of the following characters /\\");
}

@@ -116,0 +117,0 @@ }

{
"name": "@syntest/storage",
"version": "0.3.0-beta.1",
"version": "0.3.0-beta.2",
"description": "SynTest library for storing namespaced data in a file system",

@@ -47,3 +47,4 @@ "keywords": [

"dependencies": {
"@syntest/logging": "^0.2.0-beta.1",
"@syntest/diagnostics": "^0.1.0-beta.0",
"@syntest/logging": "^0.2.0-beta.2",
"fs-extra": "^11.1.1",

@@ -61,3 +62,3 @@ "yargs": "^17.7.1"

},
"gitHead": "62fc32cd877d4f37e335e5e21027b0913d7bcb75"
"gitHead": "3f6b9612c030ffc79d5e79c5c1c126ca816a87a6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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