@mangos/filepath 1.0.3 → 1.0.4
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/dist/Token.d.ts +1 -0
- package/dist/Token.js +3 -0
- package/package.json +2 -2
package/dist/Token.d.ts
CHANGED
package/dist/Token.js
CHANGED
|
@@ -16,6 +16,9 @@ class Token {
|
|
|
16
16
|
isRoot() {
|
|
17
17
|
return this.token === TokenEnum.ROOT;
|
|
18
18
|
}
|
|
19
|
+
equals(ot) {
|
|
20
|
+
return ot.token === this.token && ot.value === this.value && ot.start === this.start && ot.end === this.end && ot.error === this.error;
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
export {
|
|
21
24
|
Token
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mangos/filepath",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"author": "jacob bogers <jkfbogers@gmail.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"file system",
|
|
49
49
|
"lfs"
|
|
50
50
|
],
|
|
51
|
-
"license": "
|
|
51
|
+
"license": "Apache License 2.0",
|
|
52
52
|
"scripts": {
|
|
53
53
|
"prebuild": "npm run lint",
|
|
54
54
|
"build": "vite build && tsc",
|