@jsenv/core 29.3.1 → 29.3.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.
package/dist/main.js CHANGED
@@ -15313,7 +15313,7 @@ const jsenvPluginAsJsClassicLibrary = ({
15313
15313
  } else if (context.scenarios.build) {
15314
15314
  jsModuleBundledUrlInfo.sourceUrls.forEach(sourceUrl => {
15315
15315
  const sourceUrlInfo = context.urlGraph.getUrlInfo(sourceUrl);
15316
- if (sourceUrlInfo.dependents.size === 0) {
15316
+ if (sourceUrlInfo && sourceUrlInfo.dependents.size === 0) {
15317
15317
  context.urlGraph.deleteUrlInfo(sourceUrl);
15318
15318
  }
15319
15319
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "29.3.1",
3
+ "version": "29.3.2",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -66,8 +66,7 @@ The logo is composed by the name at the center and two circles orbiting around i
66
66
 
67
67
  # See also
68
68
 
69
- | Link | Description |
70
- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
71
- | [@jsenv/assert](https://github.com/jsenv/assert) | NPM package to write assertions |
72
- | [I am too lazy for a test framework](https://dev.to/dmail/i-am-too-lazy-for-a-test-framework-92f) | Article presenting a straightforward testing experience |
73
- | [@jsenv/template-pwa](https://github.com/jsenv/jsenv-template-pwa) | GitHub repository template for a progressive web application |
69
+ | Link | Description |
70
+ | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
71
+ | [@jsenv/assert](./packages/assert) | NPM package to write assertions |
72
+ | [I am too lazy for a test framework](https://dev.to/dmail/i-am-too-lazy-for-a-test-framework-92f) | Article presenting a straightforward testing experience |
@@ -68,7 +68,7 @@ export const jsenvPluginAsJsClassicLibrary = ({
68
68
  } else if (context.scenarios.build) {
69
69
  jsModuleBundledUrlInfo.sourceUrls.forEach((sourceUrl) => {
70
70
  const sourceUrlInfo = context.urlGraph.getUrlInfo(sourceUrl)
71
- if (sourceUrlInfo.dependents.size === 0) {
71
+ if (sourceUrlInfo && sourceUrlInfo.dependents.size === 0) {
72
72
  context.urlGraph.deleteUrlInfo(sourceUrl)
73
73
  }
74
74
  })