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

@bscotch/pathy

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/pathy - npm Package Compare versions

Comparing version 2.10.0 to 2.10.1

4

dist/fsSafe.js

@@ -21,2 +21,3 @@ import fsp from 'node:fs/promises';

tries++;
error.tries = tries;
await new Promise((resolve) => setTimeout(resolve, retryDelayMillis));

@@ -41,2 +42,3 @@ continue;

tries++;
error.tries = tries;
await new Promise((resolve) => setTimeout(resolve, retryDelayMillis));

@@ -75,2 +77,3 @@ continue;

tries++;
error.tries = tries;
await new Promise((resolve) => setTimeout(resolve, retryDelayMillis));

@@ -101,2 +104,3 @@ continue;

tries++;
error.tries = tries;
await new Promise((resolve) => setTimeout(resolve, retryDelayMillis));

@@ -103,0 +107,0 @@ continue;

2

dist/pathy.static.d.ts

@@ -27,3 +27,3 @@ /// <reference types="node" resolution-mode="require"/>

*/
static replaceSeparator(path: string, separator?: "/" | "\\"): string;
static replaceSeparator(path: string, separator?: "\\" | "/"): string;
static basename(path: PathyOrString): string;

@@ -30,0 +30,0 @@ /**

@@ -80,3 +80,3 @@ /// <reference types="node" resolution-mode="require"/>

}
export interface PathyWriteOptions {
export interface PathyWriteOptions extends FileRetryOptions {
/**

@@ -83,0 +83,0 @@ * {@link Pathy} will attempt to serialize the file,

@@ -9,2 +9,3 @@ export type ArrayWrapped<T> = T extends any[] ? T : [T];

export declare class PathyError extends Error {
tries?: number;
constructor(message: string, cause?: any, asserter?: Function);

@@ -11,0 +12,0 @@ }

@@ -15,2 +15,3 @@ /**

export class PathyError extends Error {
tries;
constructor(message, cause, asserter) {

@@ -17,0 +18,0 @@ super(message);

{
"name": "@bscotch/pathy",
"version": "2.10.0",
"version": "2.10.1",
"description": "A toolkit for simplifying working with paths and files.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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