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

@cypress/env-or-json-file

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress/env-or-json-file - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "@cypress/env-or-json-file",
"description": "Loads JSON object from environment string or local file",
"version": "1.0.0",
"version": "1.0.1",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/cypress-io/env-or-json-file/issues",

@@ -27,2 +27,7 @@ # @cypress/env-or-json-file

const config = configFromEnvOrJsonFile('foo.json')
if (config) {
// ok, loaded somehow
} else {
console.error('Missing config...')
}
```

@@ -29,0 +34,0 @@

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