@stencil/core 2.17.1 → 2.17.2-0
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/cli/config-flags.d.ts +12 -4
- package/cli/index.cjs +23 -11
- package/cli/index.js +23 -11
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +62 -13
- package/compiler/stencil.min.js +2 -2
- package/dependencies.json +1 -1
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/css-shim.js +1 -1
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +1 -1
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +26 -3
- package/mock-doc/index.d.ts +10 -0
- package/mock-doc/index.js +26 -3
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/package.json +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +12 -4
- package/testing/package.json +1 -1
package/sys/node/index.js
CHANGED
package/sys/node/package.json
CHANGED
package/sys/node/worker.js
CHANGED
package/testing/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Testing v2.17.
|
|
2
|
+
Stencil Testing v2.17.2-0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
function _lazyRequire(e) {
|
|
5
5
|
return new Proxy({}, {
|
|
@@ -460,7 +460,7 @@ function mockConfig(e) {
|
|
|
460
460
|
enableCache: !1,
|
|
461
461
|
buildAppCore: !1,
|
|
462
462
|
buildDist: !0,
|
|
463
|
-
flags:
|
|
463
|
+
flags: createConfigFlags(),
|
|
464
464
|
bundles: null,
|
|
465
465
|
outputTargets: null,
|
|
466
466
|
buildEs5: !1,
|
|
@@ -2893,7 +2893,7 @@ const createSystem = e => {
|
|
|
2893
2893
|
u("/");
|
|
2894
2894
|
const S = {
|
|
2895
2895
|
name: "in-memory",
|
|
2896
|
-
version: "2.17.
|
|
2896
|
+
version: "2.17.2-0",
|
|
2897
2897
|
events: i,
|
|
2898
2898
|
access: async e => c(e),
|
|
2899
2899
|
accessSync: c,
|
|
@@ -3265,6 +3265,14 @@ class TestingLogger {
|
|
|
3265
3265
|
printDiagnostics(e) {}
|
|
3266
3266
|
}
|
|
3267
3267
|
|
|
3268
|
+
const createConfigFlags = (e = {}) => ({
|
|
3269
|
+
task: null,
|
|
3270
|
+
args: [],
|
|
3271
|
+
knownArgs: [],
|
|
3272
|
+
unknownArgs: [],
|
|
3273
|
+
...e
|
|
3274
|
+
});
|
|
3275
|
+
|
|
3268
3276
|
class EventSpy {
|
|
3269
3277
|
constructor(e) {
|
|
3270
3278
|
this.eventName = e, this.events = [], this.cursor = 0, this.queuedHandler = [];
|
|
@@ -3833,7 +3841,7 @@ exports.createJestPuppeteerEnvironment = function createJestPuppeteerEnvironment
|
|
|
3833
3841
|
}), exports.mockValidatedConfig = function mockValidatedConfig(e) {
|
|
3834
3842
|
return {
|
|
3835
3843
|
...mockConfig(e),
|
|
3836
|
-
flags:
|
|
3844
|
+
flags: createConfigFlags(),
|
|
3837
3845
|
logger: mockLogger()
|
|
3838
3846
|
};
|
|
3839
3847
|
}, exports.mockWindow = function mockWindow(e = null) {
|