New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@apex-pub/convector-core-storage

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apex-pub/convector-core-storage - npm Package Compare versions

Comparing version 1.4.1-4-alpha.6064f94c to 1.4.1-4-alpha.71b29c8b

21

dist/src/base-storage.js

@@ -1,12 +0,16 @@

import * as g from 'window-or-global';
import { createNamespace } from 'cls-hooked';
export const BaseStorageNamespace = g.BaseStorageNamespace || createNamespace('@apex-pub/convector-core-storage');
g.BaseStorageNamespace = BaseStorageNamespace;
export class BaseStorage {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseStorage = exports.BaseStorageNamespace = void 0;
const tslib_1 = require("tslib");
const g = tslib_1.__importStar(require("window-or-global"));
const cls_hooked_1 = require("cls-hooked");
exports.BaseStorageNamespace = g.BaseStorageNamespace || (0, cls_hooked_1.createNamespace)('@apex-pub/convector-core-storage');
g.BaseStorageNamespace = exports.BaseStorageNamespace;
class BaseStorage {
static get current() {
return BaseStorageNamespace.active ? BaseStorageNamespace.get('current') : this._currentStorage;
return exports.BaseStorageNamespace.active ? exports.BaseStorageNamespace.get('current') : this._currentStorage;
}
static set current(storage) {
if (BaseStorageNamespace.active) {
BaseStorageNamespace.set('current', storage);
if (exports.BaseStorageNamespace.active) {
exports.BaseStorageNamespace.set('current', storage);
}

@@ -18,2 +22,3 @@ else {

}
exports.BaseStorage = BaseStorage;
//# sourceMappingURL=base-storage.js.map

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

export * from './base-storage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./base-storage"), exports);
//# sourceMappingURL=index.js.map
{
"name": "@apex-pub/convector-core-storage",
"version": "1.4.1-4-alpha.6064f94c",
"version": "1.4.1-4-alpha.71b29c8b",
"description": "Convector Core Storage class. This is not intended to be used as a provider but as an abstract interface of one",

@@ -43,3 +43,3 @@ "license": "Apache-2.0",

"dependencies": {
"@apex-pub/convector-core-errors": "1.4.1-4-alpha.6064f94c",
"@apex-pub/convector-core-errors": "1.4.1-4-alpha.71b29c8b",
"@types/cls-hooked": "^4.3.1",

@@ -46,0 +46,0 @@ "cls-hooked": "git+https://github.com/rodolfoleal/cls-hooked.git",

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