Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@rg-dev/stdlib

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rg-dev/stdlib - npm Package Compare versions

Comparing version
1.0.38
to
1.0.39
+4
-1
lib/node-env.cjs

@@ -356,3 +356,3 @@ var __create = Object.create;

const timestamp = Date.now();
const tempDirName = `temp_dir_${timestamp}`;
const tempDirName = `temp_dir_${timestamp}_${Math.random().toString(36).slice(2)}`;
const tempDirPath = import_path.default.join(tmpDir, tempDirName);

@@ -364,2 +364,5 @@ console.log("tempDir", tempDirPath);

function createTempFilePath(ext) {
if (ext.startsWith(".")) {
ext = ext.slice(1);
}
const name = `temp_file_${process.pid}_${Date.now()}_${Math.random().toString(36).slice(2)}${ext ? `.${ext}` : ""}`;

@@ -366,0 +369,0 @@ const fullPath = import_path.default.join(import_os.default.tmpdir(), name);

@@ -343,3 +343,3 @@ var __create = Object.create;

const timestamp = Date.now();
const tempDirName = `temp_dir_${timestamp}`;
const tempDirName = `temp_dir_${timestamp}_${Math.random().toString(36).slice(2)}`;
const tempDirPath = path.join(tmpDir, tempDirName);

@@ -351,2 +351,5 @@ console.log("tempDir", tempDirPath);

function createTempFilePath(ext) {
if (ext.startsWith(".")) {
ext = ext.slice(1);
}
const name = `temp_file_${process.pid}_${Date.now()}_${Math.random().toString(36).slice(2)}${ext ? `.${ext}` : ""}`;

@@ -353,0 +356,0 @@ const fullPath = path.join(os.tmpdir(), name);

+1
-1
{
"name": "@rg-dev/stdlib",
"version": "1.0.38",
"version": "1.0.39",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {