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.41
to
1.0.42
+5
-1
lib/node-env.cjs

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

isWindows: () => isWindows,
throwIfDirNotEmpty: () => throwIfDirNotEmpty
throwIfDirNotEmpty: () => throwIfDirNotEmpty,
typedSystemArch: () => typedSystemArch
});

@@ -331,2 +332,5 @@ module.exports = __toCommonJS(node_env_exports);

}
function typedSystemArch() {
return import_os.default.arch();
}
function chmodPlusX(filePath) {

@@ -333,0 +337,0 @@ if (import_os.default.platform() === "win32") {

+3
-1

@@ -31,2 +31,4 @@ import { Response } from 'express';

declare function isWindows(): boolean;
type SystemArch = "x64" | "arm64" | "arm" | "ia32" | "ppc64" | "s390x" | "loong64" | "riscv64";
declare function typedSystemArch(): SystemArch;
declare function chmodPlusX(filePath: string): void;

@@ -43,2 +45,2 @@ declare function checkIfDirExistsOrThrow(path: string): Promise<void>;

export { SSEClient, SSEResponse, checkCommandExistsOrThrow, checkIfDirExistsOrThrow, checkIfFileExistsOrThrow, chmodPlusX, createTempDir, createTempFilePath, isWindows, throwIfDirNotEmpty };
export { SSEClient, SSEResponse, type SystemArch, checkCommandExistsOrThrow, checkIfDirExistsOrThrow, checkIfFileExistsOrThrow, chmodPlusX, createTempDir, createTempFilePath, isWindows, throwIfDirNotEmpty, typedSystemArch };

@@ -31,2 +31,4 @@ import { Response } from 'express';

declare function isWindows(): boolean;
type SystemArch = "x64" | "arm64" | "arm" | "ia32" | "ppc64" | "s390x" | "loong64" | "riscv64";
declare function typedSystemArch(): SystemArch;
declare function chmodPlusX(filePath: string): void;

@@ -43,2 +45,2 @@ declare function checkIfDirExistsOrThrow(path: string): Promise<void>;

export { SSEClient, SSEResponse, checkCommandExistsOrThrow, checkIfDirExistsOrThrow, checkIfFileExistsOrThrow, chmodPlusX, createTempDir, createTempFilePath, isWindows, throwIfDirNotEmpty };
export { SSEClient, SSEResponse, type SystemArch, checkCommandExistsOrThrow, checkIfDirExistsOrThrow, checkIfFileExistsOrThrow, chmodPlusX, createTempDir, createTempFilePath, isWindows, throwIfDirNotEmpty, typedSystemArch };

@@ -317,2 +317,5 @@ var __create = Object.create;

}
function typedSystemArch() {
return os.arch();
}
function chmodPlusX(filePath) {

@@ -413,3 +416,4 @@ if (os.platform() === "win32") {

isWindows,
throwIfDirNotEmpty
throwIfDirNotEmpty,
typedSystemArch
};
{
"name": "@rg-dev/stdlib",
"version": "1.0.41",
"version": "1.0.42",
"description": "",

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