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.37
to
1.0.38
+2
-2
lib/node-env.cjs

@@ -362,4 +362,4 @@ var __create = Object.create;

}
function createTempFilePath() {
const name = `temp_file_${process.pid}_${Date.now()}_${Math.random().toString(36).slice(2)}`;
function createTempFilePath(ext) {
const name = `temp_file_${process.pid}_${Date.now()}_${Math.random().toString(36).slice(2)}${ext ? `.${ext}` : ""}`;
const fullPath = import_path.default.join(import_os.default.tmpdir(), name);

@@ -366,0 +366,0 @@ return {

@@ -34,3 +34,3 @@ import { Response } from 'express';

declare function createTempDir(): string;
declare function createTempFilePath(): {
declare function createTempFilePath(ext?: string): {
getName: () => string;

@@ -37,0 +37,0 @@ cleanUp: () => void;

@@ -34,3 +34,3 @@ import { Response } from 'express';

declare function createTempDir(): string;
declare function createTempFilePath(): {
declare function createTempFilePath(ext?: string): {
getName: () => string;

@@ -37,0 +37,0 @@ cleanUp: () => void;

@@ -349,4 +349,4 @@ var __create = Object.create;

}
function createTempFilePath() {
const name = `temp_file_${process.pid}_${Date.now()}_${Math.random().toString(36).slice(2)}`;
function createTempFilePath(ext) {
const name = `temp_file_${process.pid}_${Date.now()}_${Math.random().toString(36).slice(2)}${ext ? `.${ext}` : ""}`;
const fullPath = path.join(os.tmpdir(), name);

@@ -353,0 +353,0 @@ return {

{
"name": "@rg-dev/stdlib",
"version": "1.0.37",
"version": "1.0.38",
"description": "",

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