@jsenv/core 29.3.0 → 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/js/ribbon.js
CHANGED
|
@@ -42,7 +42,7 @@ const injectRibbon = ({
|
|
|
42
42
|
const html = /* html */`<div id="jsenv_ribbon_container">
|
|
43
43
|
<style>${css}</style>
|
|
44
44
|
<div id="jsenv_ribbon">
|
|
45
|
-
<div id="jsenv_ribbon_text">${text}</
|
|
45
|
+
<div id="jsenv_ribbon_text">${text}</div>
|
|
46
46
|
</div>
|
|
47
47
|
</div>`;
|
|
48
48
|
const node = document.createElement("div");
|
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
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](
|
|
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 |
|
|
@@ -41,7 +41,7 @@ export const injectRibbon = ({ text }) => {
|
|
|
41
41
|
const html = /* html */ `<div id="jsenv_ribbon_container">
|
|
42
42
|
<style>${css}</style>
|
|
43
43
|
<div id="jsenv_ribbon">
|
|
44
|
-
<div id="jsenv_ribbon_text">${text}</
|
|
44
|
+
<div id="jsenv_ribbon_text">${text}</div>
|
|
45
45
|
</div>
|
|
46
46
|
</div>`
|
|
47
47
|
|
|
@@ -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
|
})
|