Comparing version 0.0.1 to 0.1.0
{ | ||
"name": "bfs-path", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "An emulation of Node's path module. Used in BrowserFS.", | ||
"main": "index.js", | ||
"main": "js/path.js", | ||
"typings": "js/path", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"prepublish": "node prepublish.js" | ||
}, | ||
@@ -18,6 +19,7 @@ "repository": { | ||
}, | ||
"peerDependencies": { | ||
"browserfs": "~0.4" | ||
}, | ||
"homepage": "https://github.com/jvilk/bfs-path#readme" | ||
"homepage": "https://github.com/jvilk/bfs-path#readme", | ||
"devDependencies": { | ||
"tsd": "^0.6.5", | ||
"typescript": "^1.6.2" | ||
} | ||
} |
@@ -1,7 +0,22 @@ | ||
# BrowserFS Path | ||
# BrowserFS Path 0.1.0 | ||
> An emulation of NodeJS's `path` module. Used in [BrowserFS](https://github.com/jvilk/BrowserFS). | ||
An emulation of NodeJS's Path module. Used in [BrowserFS](https://github.com/jvilk/BrowserFS). | ||
## Features | ||
Currently, this repository is a simple wrapper around functionality provided in the monolithic BrowserFS library. | ||
* Compatible with NodeJS's `path` module. | ||
* Passes all of Node's `path` unit tests! See [BrowserFS](https://github.com/jvilk/BrowserFS)'s repository for tests. | ||
* Supports resolving paths relative to `.`! | ||
* In conjunction with [bfs-process](https://github.com/jvilk/bfs-process) and [BrowserFS](https://github.com/jvilk/bfs-process). | ||
In the future, the actual source code of BrowserFS's Path implementation will be moved here. | ||
## Using with Browserify | ||
You can use `bfs-path` in Browserify! Here's the relevant configuration snippet: | ||
```{js} | ||
{ | ||
builtins: | ||
{ | ||
"path": require.resolve("bfs-path") | ||
} | ||
} | ||
``` |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
52575
0
11
1080
1
23
2
2