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

@ctx-core/env

Package Overview
Dependencies
Maintainers
1
Versions
970
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctx-core/env - npm Package Compare versions

Comparing version 6.0.80 to 7.0.1

2

env.js

@@ -25,3 +25,3 @@ import { _has__dom } from '@ctx-core/dom'

${name__env} environment variable not set.
development: make sure ${name__env} is set in your .env file
dev: make sure ${name__env} is set in your .env file
heroku: make sure ${name__env} is set using \`heroku config:set\`

@@ -28,0 +28,0 @@ `.trim()

{
"name": "@ctx-core/env",
"version": "6.0.80",
"version": "7.0.1",
"description": "ctx-core env",

@@ -28,9 +28,9 @@ "main": "env.js",

"devDependencies": {
"@ctx-core/error": "^5.1.7",
"@ctx-core/logger": "^3.0.73",
"@ctx-core/object": "^6.0.33",
"@ctx-core/error": "^5.1.8",
"@ctx-core/logger": "^3.0.74",
"@ctx-core/object": "^6.0.34",
"@ctx-core/package": "^3.0.26",
"dotenv": "^8.1.0"
},
"gitHead": "568b0e6fcc54273e6d28fbea9956c8e328b609be"
"gitHead": "2a507f9805d0ee2084b2a33c26086f280bf6e451"
}

@@ -9,7 +9,13 @@ import { writable, derived } from 'svelte/store'

|| Math.random())
export const __is__production =
derived(__NODE_ENV, NODE_ENV => NODE_ENV === 'production')
export const __is__prod =
derived(__NODE_ENV,
NODE_ENV =>
NODE_ENV === 'prod'
|| NODE_ENV === 'production')
export const __is__staging =
derived(__NODE_ENV, NODE_ENV => NODE_ENV === 'staging')
export const __is__development =
derived(__NODE_ENV, NODE_ENV => NODE_ENV === 'development')
export const __is__dev =
derived(__NODE_ENV,
NODE_ENV =>
NODE_ENV === 'dev'
|| NODE_ENV === 'development')
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