@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/sys/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Node System v2.17.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System v2.17.2-0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  function _interopDefaultLegacy(e) {
5
5
  return e && "object" == typeof e && "default" in e ? e : {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/sys/node",
3
- "version": "2.17.1",
3
+ "version": "2.17.2-0",
4
4
  "description": "Stencil Node System.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Node System Worker v2.17.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System Worker v2.17.2-0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  function _interopNamespace(e) {
5
5
  if (e && e.__esModule) return e;
package/testing/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Testing v2.17.1 | MIT Licensed | https://stenciljs.com
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.1",
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) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/testing",
3
- "version": "2.17.1",
3
+ "version": "2.17.2-0",
4
4
  "description": "Stencil testing suite.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",