files-from-path
Advanced tools
Comparing version 1.0.2 to 1.0.4
{ | ||
"name": "files-from-path", | ||
"version": "1.0.2", | ||
"version": "1.0.4", | ||
"description": "Expand paths to file-like objects with name, readable stream and size.", | ||
"main": "src/index.js", | ||
"main": "./cjs/src/index.js", | ||
"types": "./types/index.d.ts", | ||
"type": "module", | ||
"author": "vasco-santos", | ||
"license": "Apache-2.0 OR MIT", | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "npm run build:js && npm run build:types", | ||
@@ -30,4 +28,5 @@ "build:js": "ipjs build --main && npm run build:copy", | ||
".": { | ||
"browser": "./src/index.browser.js", | ||
"import": "./src/index.js" | ||
"browser": "./esm/src/index.browser.js", | ||
"require": "./cjs/src/index.js", | ||
"import": "./esm/src/index.js" | ||
} | ||
@@ -49,3 +48,8 @@ }, | ||
"node": ">=18" | ||
}, | ||
"browser": { | ||
".": "./cjs/src/index.browser.js", | ||
"./esm/src/index.js": "./esm/src/index.browser.js", | ||
"./cjs/src/index.js": "./cjs/src/index.browser.js" | ||
} | ||
} | ||
} |
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
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
32316
20
473
0
No