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

biewangle

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biewangle - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

lib/cjs/index.d.ts

2

lib/cjs/SettingField.d.ts

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

import { SettingType } from "./SettingManager";
import { SettingType } from "./SettingManagerFactory";
export declare type SettingFieldOption<T> = {

@@ -3,0 +3,0 @@ type: SettingTypeString;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseToSettingFieldOption = exports.isString = exports.isSettingFieldOption = exports.getSettingType = void 0;
const SettingManager_1 = require("./SettingManager");
const SettingManagerFactory_1 = require("./SettingManagerFactory");
function getSettingType(string) {
switch (string) {
case "Array":
return SettingManager_1.SettingType.Array;
return SettingManagerFactory_1.SettingType.Array;
case "Boolean":
return SettingManager_1.SettingType.Boolean;
return SettingManagerFactory_1.SettingType.Boolean;
case "Integer":
return SettingManager_1.SettingType.Integer;
return SettingManagerFactory_1.SettingType.Integer;
case "String":
return SettingManager_1.SettingType.String;
return SettingManagerFactory_1.SettingType.String;
}

@@ -16,0 +16,0 @@ }

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

import { SettingManager } from "./SettingManager";
export declare const LocalSettingManager: SettingManager;
import { SettingManagerFactory } from "./SettingManagerFactory";
export declare const LocalSettingManager: SettingManagerFactory;

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

const MutableSettingStorage_1 = require("./MutableSettingStorage");
const SettingManager_1 = require("./SettingManager");
exports.LocalSettingManager = new SettingManager_1.SettingManager(new MutableSettingStorage_1.LocalSettingStorage());
const SettingManagerFactory_1 = require("./SettingManagerFactory");
exports.LocalSettingManager = new SettingManagerFactory_1.SettingManagerFactory(new MutableSettingStorage_1.LocalSettingStorage());

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

import { SettingType } from "./SettingManager";
import { SettingType } from "./SettingManagerFactory";
export declare type SettingFieldOption<T> = {

@@ -3,0 +3,0 @@ type: SettingTypeString;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseToSettingFieldOption = exports.isString = exports.isSettingFieldOption = exports.getSettingType = void 0;
const SettingManager_1 = require("./SettingManager");
const SettingManagerFactory_1 = require("./SettingManagerFactory");
function getSettingType(string) {
switch (string) {
case "Array":
return SettingManager_1.SettingType.Array;
return SettingManagerFactory_1.SettingType.Array;
case "Boolean":
return SettingManager_1.SettingType.Boolean;
return SettingManagerFactory_1.SettingType.Boolean;
case "Integer":
return SettingManager_1.SettingType.Integer;
return SettingManagerFactory_1.SettingType.Integer;
case "String":
return SettingManager_1.SettingType.String;
return SettingManagerFactory_1.SettingType.String;
}

@@ -16,0 +16,0 @@ }

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

import { SettingManager } from "./SettingManager";
export declare const LocalSettingManager: SettingManager;
import { SettingManagerFactory } from "./SettingManagerFactory";
export declare const LocalSettingManager: SettingManagerFactory;

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

const MutableSettingStorage_1 = require("./MutableSettingStorage");
const SettingManager_1 = require("./SettingManager");
exports.LocalSettingManager = new SettingManager_1.SettingManager(new MutableSettingStorage_1.LocalSettingStorage());
const SettingManagerFactory_1 = require("./SettingManagerFactory");
exports.LocalSettingManager = new SettingManagerFactory_1.SettingManagerFactory(new MutableSettingStorage_1.LocalSettingStorage());
{
"name": "biewangle",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

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

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