@rsdoctor/graph 0.4.6 → 0.4.8

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.
@@ -79,8 +79,8 @@ class Package {
79
79
  }
80
80
  }
81
81
  contain(file) {
82
- const ifCotain = file.includes(this.root);
83
- if (!ifCotain) {
82
+ const ifContain = file.includes(this.root);
83
+ if (!ifContain) {
84
84
  return false;
85
85
  }
86
86
  const subPath = (0, import_path.relative)(this.root, file);
@@ -56,8 +56,8 @@ class Package {
56
56
  }
57
57
  }
58
58
  contain(file) {
59
- const ifCotain = file.includes(this.root);
60
- if (!ifCotain) {
59
+ const ifContain = file.includes(this.root);
60
+ if (!ifContain) {
61
61
  return false;
62
62
  }
63
63
  const subPath = relative(this.root, file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/graph",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -17,13 +17,13 @@
17
17
  "lodash": "^4.17.21",
18
18
  "socket.io": "4.7.2",
19
19
  "source-map": "^0.7.4",
20
- "@rsdoctor/types": "0.4.6",
21
- "@rsdoctor/utils": "0.4.6"
20
+ "@rsdoctor/types": "0.4.8",
21
+ "@rsdoctor/utils": "0.4.8"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/body-parser": "1.19.5",
25
25
  "@types/estree": "1.0.5",
26
- "@types/lodash": "^4.17.9",
26
+ "@types/lodash": "^4.17.10",
27
27
  "@types/node": "^16",
28
28
  "fs-extra": "^11.1.1",
29
29
  "tslib": "2.7.0",