@jsenv/core 24.4.1 → 24.4.6
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/browser_runtime/asset-manifest.json +3 -0
- package/dist/browser_runtime/{browser_runtime-fbd309a1.js → browser_runtime-c7288751.js} +44 -3
- package/dist/browser_runtime/{browser_runtime-fbd309a1.js.map → browser_runtime-c7288751.js.map} +6 -3
- package/dist/build_manifest.js +5 -5
- package/dist/compile_proxy/asset-manifest.json +4 -0
- package/dist/compile_proxy/assets/{s.js-749702e8.map → s.js-fcba0e35.map} +8 -4
- package/dist/compile_proxy/{compile_proxy-405777e6.html → compile_proxy-e666f204.html} +49 -6
- package/dist/compile_proxy/{compile_proxy.html__inline__20-39c0801c.js.map → compile_proxy.html__inline__20-672ba17c.js.map} +0 -0
- package/dist/event_source_client/asset-manifest.json +3 -0
- package/dist/redirector/asset-manifest.json +4 -0
- package/dist/{toolbar/assets/s.js-749702e8.map → redirector/assets/s.js-fcba0e35.map} +8 -4
- package/dist/redirector/{redirector-237cd168.html → redirector-bee67b92.html} +49 -6
- package/dist/redirector/{redirector.html__inline__15-33acb0b9.js.map → redirector.html__inline__15-4d453af0.js.map} +0 -0
- package/dist/toolbar/asset-manifest.json +13 -0
- package/dist/{redirector/assets/s.js-749702e8.map → toolbar/assets/s.js-fcba0e35.map} +8 -4
- package/dist/toolbar/{toolbar-29e91dcd.html → toolbar-3e2e70d3.html} +51 -5
- package/dist/toolbar/{toolbar.main-53e1ab2b.js.map → toolbar.main-b23f63e6.js.map} +3 -3
- package/dist/toolbar_injector/asset-manifest.json +4 -0
- package/dist/toolbar_injector/{toolbar_injector-0af91b43.js → toolbar_injector-69fc0515.js} +2 -2
- package/dist/toolbar_injector/{toolbar_injector-0af91b43.js.map → toolbar_injector-69fc0515.js.map} +4 -4
- package/package.json +10 -17
- package/src/internal/building/buildUsingRollup.js +2 -2
- package/src/internal/building/createJsenvRollupPlugin.js +67 -41
- package/src/internal/building/css/parseCssRessource.js +4 -1
- package/src/internal/building/html/parseHtmlRessource.js +16 -3
- package/src/internal/building/js/parseJsRessource.js +2 -0
- package/src/internal/building/ressource_builder.js +27 -37
- package/src/internal/building/ressource_builder_util.js +10 -137
- package/src/internal/building/svg/parseSvgRessource.js +2 -0
- package/src/internal/building/url_loader.js +3 -1
- package/src/internal/building/webmanifest/parseWebmanifestRessource.js +2 -1
- package/src/internal/dev_server/toolbar/util/dom.js +5 -0
- package/src/internal/runtime/s.js +42 -2
- package/dist/browser_system/browser_system-29eda202.js +0 -5160
- package/dist/browser_system/browser_system-29eda202.js.map +0 -1065
|
@@ -4127,15 +4127,17 @@
|
|
|
4127
4127
|
var systemRegister = systemJSPrototype.register;
|
|
4128
4128
|
var inlineScriptCount = 0;
|
|
4129
4129
|
|
|
4130
|
-
systemJSPrototype.register = function (deps, declare) {
|
|
4130
|
+
systemJSPrototype.register = function (deps, declare, autoUrl) {
|
|
4131
4131
|
if (hasDocument && document.readyState === 'loading' && typeof deps !== 'string') {
|
|
4132
4132
|
var scripts = document.querySelectorAll('script[src]');
|
|
4133
4133
|
var lastScript = scripts[scripts.length - 1];
|
|
4134
4134
|
var lastAutoImportUrl;
|
|
4135
4135
|
lastAutoImportDeps = deps;
|
|
4136
4136
|
|
|
4137
|
-
if (lastScript) {
|
|
4137
|
+
if (lastScript && lastScript.src) {
|
|
4138
4138
|
lastAutoImportUrl = lastScript.src;
|
|
4139
|
+
} else if (autoUrl) {
|
|
4140
|
+
lastAutoImportUrl = autoUrl;
|
|
4139
4141
|
} else {
|
|
4140
4142
|
inlineScriptCount++;
|
|
4141
4143
|
lastAutoImportUrl = document.location.href + "__inline_script__" + inlineScriptCount;
|
|
@@ -4255,6 +4257,45 @@
|
|
|
4255
4257
|
};
|
|
4256
4258
|
})();
|
|
4257
4259
|
|
|
4260
|
+
(function () {
|
|
4261
|
+
var envGlobal = typeof self !== 'undefined' ? self : global;
|
|
4262
|
+
var System = envGlobal.System;
|
|
4263
|
+
var register = System.register;
|
|
4264
|
+
var registerRegistry = Object.create(null);
|
|
4265
|
+
|
|
4266
|
+
System.register = function (name, deps, declare) {
|
|
4267
|
+
if (typeof name !== 'string') return register.apply(this, arguments);
|
|
4268
|
+
var define = [deps, declare];
|
|
4269
|
+
return System.prepareImport().then(function () {
|
|
4270
|
+
var url = System.resolve("./".concat(name));
|
|
4271
|
+
registerRegistry[url] = define;
|
|
4272
|
+
return register.call(System, deps, declare, url);
|
|
4273
|
+
});
|
|
4274
|
+
};
|
|
4275
|
+
|
|
4276
|
+
var instantiate = System.instantiate;
|
|
4277
|
+
|
|
4278
|
+
System.instantiate = function (url, firstParentUrl) {
|
|
4279
|
+
var result = registerRegistry[url];
|
|
4280
|
+
|
|
4281
|
+
if (result) {
|
|
4282
|
+
registerRegistry[url] = null;
|
|
4283
|
+
return result;
|
|
4284
|
+
} else {
|
|
4285
|
+
return instantiate.call(this, url, firstParentUrl);
|
|
4286
|
+
}
|
|
4287
|
+
};
|
|
4288
|
+
|
|
4289
|
+
var getRegister = System.getRegister;
|
|
4290
|
+
|
|
4291
|
+
System.getRegister = function (url) {
|
|
4292
|
+
// Calling getRegister() because other extras need to know it was called so they can perform side effects
|
|
4293
|
+
var register = getRegister.call(this, url);
|
|
4294
|
+
var result = registerRegistry[url] || register;
|
|
4295
|
+
return result;
|
|
4296
|
+
};
|
|
4297
|
+
})();
|
|
4298
|
+
|
|
4258
4299
|
/* eslint-env browser */
|
|
4259
4300
|
|
|
4260
4301
|
function _await$2(value, then, direct) {
|
|
@@ -5134,4 +5175,4 @@
|
|
|
5134
5175
|
|
|
5135
5176
|
})();
|
|
5136
5177
|
|
|
5137
|
-
//# sourceMappingURL=browser_runtime-
|
|
5178
|
+
//# sourceMappingURL=browser_runtime-c7288751.js.map
|