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

@nexssp/const

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexssp/const - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

src/const.js

8

package.json
{
"name": "@nexssp/const",
"version": "1.0.12",
"version": "1.0.13",
"description": "Global and Object constants the easy way. NEW: hidden constant.",
"main": "dist/const.js",
"main": "src/const.js",
"files": [
"dist/const.js"
"src/const.js"
],

@@ -37,3 +37,3 @@ "homepage": "https://nexss.com",

"@nexssp/ansi": "^1.1.1",
"@nexssp/stack": "^1.0.8"
"@nexssp/stack": "^1.0.9"
},

@@ -40,0 +40,0 @@ "funding": [

# @nexssp/const
- **NEW 1.0.13** - function which list the defined constants: **getConstants()**
- **NEW 1.0.11** - now 2 functions **nConst** and **hConst**. hConst will be hidden. So when the for example `Object.keys` will be used will not be displayed however constant is there.

@@ -38,2 +39,4 @@ - **NEW 1.0.10** - now with stack display..

console.log(getConstants()); // Will display defined constants
const myConfig = {};

@@ -40,0 +43,0 @@ nConst("MyObjectCONST", "My old object const", myConfig);

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