@jsenv/core 24.0.1 → 24.0.2

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.
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "24.0.1",
3
+ "version": "24.0.2",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -11,7 +11,8 @@
11
11
  "node": ">=14.9.0"
12
12
  },
13
13
  "publishConfig": {
14
- "access": "public"
14
+ "access": "public",
15
+ "registry": "https://registry.npmjs.org"
15
16
  },
16
17
  "type": "module",
17
18
  "exports": {
@@ -652,7 +652,8 @@ const setupServerSentEventsForLivereload = ({
652
652
  }
653
653
  }
654
654
  const isDependencyOf = (file, rootFile) => {
655
- return trackerMap.get(rootFile).set.has(file)
655
+ const depInfo = trackerMap.get(rootFile)
656
+ return depInfo && depInfo.set.has(file)
656
657
  }
657
658
  const markAsDependencyOf = (file, rootFile) => {
658
659
  trackerMap.get(rootFile).set.add(file)