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
5
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.1.0 to 1.2.0

2

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

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

@@ -13,4 +13,6 @@ const path = require('path')

const rep = '_'
// replace all separators with _ or similar character
return filename
.replace(/\//g, rep)
.replace(/\\/g, rep)
.replace(/\./g, rep)

@@ -17,0 +19,0 @@ .replace(/-/g, rep)

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