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

@dbpath/files

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbpath/files - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

dist/src/files.js

@@ -57,7 +57,7 @@ "use strict";

return dir;
const file = Path.join(dir, filename);
const file = Path.join(dir, marker, filename);
try {
const contents = fs_1.default.readFileSync(file).toString('utf-8');
try {
return JSON.parse(contents).currentEnvironment;
return JSON.parse(contents);
}

@@ -64,0 +64,0 @@ catch (e) {

{
"name": "@dbpath/files",
"description": "",
"version": "0.2.0",
"version": "0.2.1",
"main": "dist/index",

@@ -6,0 +6,0 @@ "types": "dist/index",

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