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.8.0 to 2.9.0

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 @@ /**

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

@@ -38,16 +38,16 @@ "keywords": [

"json5": "^2.2.3",
"tslib": "^2.5.0",
"yaml": "2.2.1",
"@bscotch/utility": "7.1.0"
"tslib": "^2.6.2",
"yaml": "2.3.2",
"@bscotch/utility": "7.2.0"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/fs-extra": "^11.0.1",
"@types/chai": "^4.3.6",
"@types/fs-extra": "^11.0.2",
"@types/mocha": "^10.0.1",
"chai": "^4.3.7",
"chai": "^4.3.8",
"mocha": "^10.2.0",
"rimraf": "^5.0.0",
"type-fest": "^3.8.0",
"typescript": "5.0.4",
"zod": "^3.21.4"
"rimraf": "^5.0.1",
"type-fest": "^4.3.1",
"typescript": "5.2.2",
"zod": "^3.22.2"
},

@@ -54,0 +54,0 @@ "publishConfig": {

@@ -1,2 +0,2 @@

# Pathy
# 🛣️ Pathy

@@ -7,4 +7,6 @@ Whether you're trying to normalize between POSIX-style and Windows-style separators, sort a bunch of path strings in a useful way, or easily find or read files... working with file paths is a huge pain.

## Features
## ✨ Features
See the [changelogs](https://github.com/bscotch/jslib/blob/develop/packages/pathy/CHANGELOG.md) for the latest updates.
- **Immutable**. All methods return new instances, so you can chain operations together without worrying about mutating the original.

@@ -11,0 +13,0 @@ - **TypeScript-friendly**. All methods are typed, and the class is generic so you can specify the type of the data that will be read from and written to files.

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