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

@lskjs/env

Package Overview
Dependencies
Maintainers
11
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lskjs/env - npm Package Compare versions

Comparing version 2.8.0 to 2.23.0

6

env.d.ts

@@ -14,2 +14,5 @@ declare global {

export declare const stage: any;
export declare const version: any;
export declare const instance: any;
export declare const isMasterInstance: boolean;
declare const _default: {

@@ -22,3 +25,6 @@ isServer: boolean;

stage: any;
version: any;
instance: any;
isMasterInstance: boolean;
};
export default _default;

13

env.js

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

});
exports["default"] = exports.stage = exports.isDebug = exports.isProd = exports.isDev = exports.isClient = exports.isServer = void 0;
exports["default"] = exports.isMasterInstance = exports.instance = exports.version = exports.stage = exports.isDebug = exports.isProd = exports.isDev = exports.isClient = exports.isServer = void 0;

@@ -23,2 +23,8 @@ /* global window */

exports.stage = stage;
var version = isServer ? process.env.VERSION || process.env.__VERSION || process.env.__VERSION__ : window.env && window.env.version || '000000';
exports.version = version;
var instance = isServer ? process.env.INSTANCE || process.env.__INSTANCE || process.env.__INSTANCE__ : window.env && window.env.instance || '1';
exports.instance = instance;
var isMasterInstance = instance === '1';
exports.isMasterInstance = isMasterInstance;
var _default = {

@@ -30,5 +36,8 @@ isServer: isServer,

isDebug: isDebug,
stage: stage
stage: stage,
version: version,
instance: instance,
isMasterInstance: isMasterInstance
};
exports["default"] = _default;
//# sourceMappingURL=env.js.map

4

package.json
{
"name": "@lskjs/env",
"version": "2.8.0",
"version": "2.23.0",
"description": "LSK.js – env – Scripts for environment detecton",

@@ -26,3 +26,3 @@ "keywords": [],

},
"gitHead": "154cab089ac3ee71eb541f26fbb42f10a9f315b4"
"gitHead": "a45b526fb2492e27d5a439fec136a936cd18928c"
}

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