@poppinss/utils
Advanced tools
Comparing version 6.5.1 to 6.6.0
@@ -26,1 +26,5 @@ /// <reference types="node" resolution-mode="require"/> | ||
export declare function getFilename(url: string | URL): string; | ||
/** | ||
* Joins the given URL or string with additional path segments. | ||
*/ | ||
export declare function join(url: string | URL, ...str: string[]): string; |
@@ -11,3 +11,3 @@ import { | ||
import { fileURLToPath as fileURLToPath3 } from "node:url"; | ||
import { dirname as pathDirname } from "node:path"; | ||
import { join as pathJoin, dirname as pathDirname } from "node:path"; | ||
@@ -354,2 +354,5 @@ // src/compose.ts | ||
} | ||
function join2(url, ...str) { | ||
return pathJoin(getDirname(url), ...str); | ||
} | ||
export { | ||
@@ -372,2 +375,3 @@ Exception, | ||
isScriptFile, | ||
join2 as join, | ||
naturalSort, | ||
@@ -374,0 +378,0 @@ safeEqual, |
{ | ||
"name": "@poppinss/utils", | ||
"version": "6.5.1", | ||
"version": "6.6.0", | ||
"description": "Handy utilities for repetitive work", | ||
@@ -53,16 +53,16 @@ "main": "build/index.js", | ||
"devDependencies": { | ||
"@adonisjs/eslint-config": "^1.1.6", | ||
"@adonisjs/prettier-config": "^1.1.6", | ||
"@adonisjs/tsconfig": "^1.1.6", | ||
"@commitlint/cli": "^18.2.0", | ||
"@commitlint/config-conventional": "^18.1.0", | ||
"@japa/assert": "^2.0.0", | ||
"@adonisjs/eslint-config": "^1.1.9", | ||
"@adonisjs/prettier-config": "^1.1.9", | ||
"@adonisjs/tsconfig": "^1.1.9", | ||
"@commitlint/cli": "^18.4.3", | ||
"@commitlint/config-conventional": "^18.4.3", | ||
"@japa/assert": "^2.0.1", | ||
"@japa/expect-type": "^2.0.0", | ||
"@japa/runner": "^3.0.4", | ||
"@swc/core": "^1.3.96", | ||
"@types/fs-extra": "^11.0.3", | ||
"@types/node": "^20.8.10", | ||
"c8": "^8.0.0", | ||
"@japa/runner": "^3.1.0", | ||
"@swc/core": "^1.3.99", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/node": "^20.10.0", | ||
"c8": "^8.0.1", | ||
"del-cli": "^5.1.0", | ||
"eslint": "^8.53.0", | ||
"eslint": "^8.54.0", | ||
"fs-extra": "^11.1.1", | ||
@@ -75,11 +75,11 @@ "github-label-sync": "^2.3.1", | ||
"np": "^8.0.4", | ||
"prettier": "^3.0.3", | ||
"prettier": "^3.1.0", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^7.1.0", | ||
"typescript": "^5.2.2" | ||
"tsup": "^8.0.1", | ||
"typescript": "~5.2.2" | ||
}, | ||
"dependencies": { | ||
"@lukeed/ms": "^2.0.1", | ||
"@types/bytes": "^3.1.3", | ||
"@types/pluralize": "^0.0.32", | ||
"@types/bytes": "^3.1.4", | ||
"@types/pluralize": "^0.0.33", | ||
"bytes": "^3.1.2", | ||
@@ -86,0 +86,0 @@ "case-anything": "^2.1.13", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
172781
1629
+ Added@types/pluralize@0.0.33(transitive)
- Removed@types/pluralize@0.0.32(transitive)
Updated@types/bytes@^3.1.4
Updated@types/pluralize@^0.0.33