@mangos/filepath 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ Most of the time you will be using <a href="#fn-resolve"><code>resolve</code></a
|
|
|
65
65
|
|
|
66
66
|
<h3 id="infer-path-options">Type <code>InferPathOptions</code></h3>
|
|
67
67
|
|
|
68
|
-
The functions <a href="fn-all-path"><code>allPath</code></a> and <a href="fn-first-path"><code>firstPath</code></a> will try to tokenize a path string based on options object specified as the second argument.
|
|
68
|
+
The functions <a href="#fn-all-path"><code>allPath</code></a> and <a href="#fn-first-path"><code>firstPath</code></a> will try to tokenize a path string based on options object specified as the second argument.
|
|
69
69
|
|
|
70
70
|
```typescript
|
|
71
71
|
type InferPathOptions = {
|
|
@@ -204,7 +204,7 @@ function resolve(fromStr: string, ...toFragments: string[]): ParsedPath | Parsed
|
|
|
204
204
|
|
|
205
205
|
<h5 id="fn-resolve-arguments">Arguments:</h5>
|
|
206
206
|
|
|
207
|
-
- <code>fromStr: <i>string</i> optional</code>: A path according to a <a href="#
|
|
207
|
+
- <code>fromStr: <i>string</i> optional</code>: A path according to a <a href="#supported-path">path type</a>. Defaults to current working directory if absent/undefined.
|
|
208
208
|
- <code>toFragments: <i>string[]</i></code>: A sequence of paths or path segments.
|
|
209
209
|
|
|
210
210
|
<h5 id="fn-resolve-return">Return:</h5>
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mangos/filepath",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"author": "jacob bogers <jkfbogers@gmail.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/R-js/mangos.git",
|
|
7
|
+
"url": "git+https://github.com/R-js/mangos.git",
|
|
8
8
|
"directory": "packages/filepath"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|