@stencil/core 2.18.1 → 2.19.1-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.
Files changed (44) hide show
  1. package/cli/index.cjs +16 -14
  2. package/cli/index.d.ts +2 -0
  3. package/cli/index.js +16 -14
  4. package/cli/package.json +1 -1
  5. package/compiler/package.json +1 -1
  6. package/compiler/stencil.js +1527 -1207
  7. package/compiler/stencil.min.js +2 -2
  8. package/dependencies.json +1 -1
  9. package/dev-server/client/index.js +1 -1
  10. package/dev-server/client/package.json +1 -1
  11. package/dev-server/connector.html +2 -2
  12. package/dev-server/index.js +1 -1
  13. package/dev-server/package.json +1 -1
  14. package/dev-server/server-process.js +2 -2
  15. package/internal/app-data/package.json +1 -1
  16. package/internal/client/css-shim.js +1 -1
  17. package/internal/client/dom.js +1 -1
  18. package/internal/client/index.js +1 -1
  19. package/internal/client/package.json +1 -1
  20. package/internal/client/patch-browser.js +1 -1
  21. package/internal/client/patch-esm.js +1 -1
  22. package/internal/client/shadow-css.js +1 -1
  23. package/internal/hydrate/package.json +1 -1
  24. package/internal/hydrate/runner.d.ts +1 -1
  25. package/internal/package.json +1 -1
  26. package/internal/stencil-private.d.ts +31 -12
  27. package/internal/stencil-public-compiler.d.ts +10 -0
  28. package/internal/stencil-public-docs.d.ts +24 -0
  29. package/internal/stencil-public-runtime.d.ts +5 -0
  30. package/internal/testing/package.json +1 -1
  31. package/mock-doc/index.cjs +16 -6
  32. package/mock-doc/index.js +16 -6
  33. package/mock-doc/package.json +1 -1
  34. package/package.json +11 -12
  35. package/screenshot/package.json +1 -1
  36. package/sys/node/autoprefixer.js +5 -5
  37. package/sys/node/graceful-fs.js +1 -1
  38. package/sys/node/index.d.ts +2 -0
  39. package/sys/node/index.js +93 -95
  40. package/sys/node/package.json +1 -1
  41. package/sys/node/prompts.js +1 -1
  42. package/sys/node/worker.js +1 -1
  43. package/testing/index.js +131 -130
  44. package/testing/package.json +1 -1
package/testing/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Testing v2.18.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Testing v2.19.1-0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  function _lazyRequire(e) {
5
5
  return new Proxy({}, {
@@ -198,7 +198,7 @@ async function runJest(e, t) {
198
198
  e.flags.ci || e.flags.e2e ? t.__STENCIL_DEFAULT_TIMEOUT__ = "30000" : t.__STENCIL_DEFAULT_TIMEOUT__ = "15000",
199
199
  e.flags.devtools && (t.__STENCIL_DEFAULT_TIMEOUT__ = "300000000"), e.logger.debug(`default timeout: ${t.__STENCIL_DEFAULT_TIMEOUT__}`);
200
200
  const n = function n(e) {
201
- const t = require("yargs"), r = [ ...e.flags.unknownArgs.slice(), ...e.flags.knownArgs.slice() ];
201
+ const t = require("yargs"), r = [ ...e.flags.knownArgs.slice(), ...e.flags.unknownArgs.slice() ];
202
202
  r.some((e => e.startsWith("--max-workers") || e.startsWith("--maxWorkers"))) || r.push(`--max-workers=${e.maxConcurrentWorkers}`),
203
203
  e.flags.devtools && r.push("--runInBand"), e.logger.info(e.logger.magenta(`jest args: ${r.join(" ")}`));
204
204
  let s = t(r).argv;
@@ -2766,7 +2766,8 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
2766
2766
  console.error(e);
2767
2767
  }
2768
2768
  }, createSystem = e => {
2769
- const t = e && e.logger ? e.logger : (() => {
2769
+ var t;
2770
+ const r = null !== (t = null == e ? void 0 : e.logger) && void 0 !== t ? t : (() => {
2770
2771
  let e = IS_BROWSER_ENV, t = "info";
2771
2772
  return {
2772
2773
  enableColors: t => e = t,
@@ -2808,15 +2809,15 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
2808
2809
  })(t, e)));
2809
2810
  }
2810
2811
  };
2811
- })(), r = new Map, s = new Set, n = e => s.add(e), o = e => s.delete(e), i = buildEvents(), a = IS_BROWSER_ENV && navigator.hardwareConcurrency || 1, l = e => {
2812
+ })(), s = new Map, n = new Set, o = e => n.add(e), i = e => n.delete(e), a = buildEvents(), l = IS_BROWSER_ENV && navigator.hardwareConcurrency || 1, c = e => {
2812
2813
  if ("/" === e || "" === e) return "/";
2813
2814
  const t = path$2.dirname(e), r = path$2.basename(e);
2814
2815
  return t.endsWith("/") ? normalizePath(`${t}${r}`) : normalizePath(`${t}/${r}`);
2815
- }, c = e => {
2816
- const t = r.get(l(e));
2816
+ }, u = e => {
2817
+ const t = s.get(c(e));
2817
2818
  return !(!t || !(t.isDirectory || t.isFile && "string" == typeof t.data));
2818
- }, u = (e, t) => {
2819
- e = l(e);
2819
+ }, d = (e, t) => {
2820
+ e = c(e);
2820
2821
  const r = {
2821
2822
  basename: path$2.basename(e),
2822
2823
  dirname: path$2.dirname(e),
@@ -2824,60 +2825,60 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
2824
2825
  newDirs: [],
2825
2826
  error: null
2826
2827
  };
2827
- return d(e, t, r), r;
2828
- }, d = (e, t, s) => {
2828
+ return h(e, t, r), r;
2829
+ }, h = (e, t, r) => {
2829
2830
  const n = path$2.dirname(e);
2830
- t && t.recursive && !(e => "/" === e || windowsPathRegex.test(e))(n) && d(n, t, s);
2831
- const o = r.get(e);
2832
- o ? (o.isDirectory = !0, o.isFile = !1) : (r.set(e, {
2831
+ t && t.recursive && !(e => "/" === e || windowsPathRegex.test(e))(n) && h(n, t, r);
2832
+ const o = s.get(e);
2833
+ o ? (o.isDirectory = !0, o.isFile = !1) : (s.set(e, {
2833
2834
  basename: path$2.basename(e),
2834
2835
  dirname: n,
2835
2836
  isDirectory: !0,
2836
2837
  isFile: !1,
2837
2838
  watcherCallbacks: null,
2838
2839
  data: void 0
2839
- }), s.newDirs.push(e), v(e, new Set));
2840
- }, h = e => {
2841
- e = l(e);
2842
- const t = [], s = r.get(e);
2843
- return s && s.isDirectory && r.forEach(((r, s) => {
2840
+ }), r.newDirs.push(e), b(e, new Set));
2841
+ }, p = e => {
2842
+ e = c(e);
2843
+ const t = [], r = s.get(e);
2844
+ return r && r.isDirectory && s.forEach(((r, s) => {
2844
2845
  "/" !== s && (r.isDirectory || r.isFile && "string" == typeof r.data) && (e.endsWith("/") && `${e}${r.basename}` === s || `${e}/${r.basename}` === s) && t.push(s);
2845
2846
  })), t.sort();
2846
- }, p = e => {
2847
- e = l(e);
2848
- const t = r.get(e);
2847
+ }, f = e => {
2848
+ e = c(e);
2849
+ const t = s.get(e);
2849
2850
  if (t && t.isFile) return t.data;
2850
- }, f = e => ({
2851
- path: l(e),
2851
+ }, m = e => ({
2852
+ path: c(e),
2852
2853
  error: null
2853
- }), m = (e, t, s) => {
2854
- const n = w(e);
2855
- if (!n.error && !s.error) if (n.isFile) {
2856
- const n = path$2.dirname(t), o = u(n, {
2854
+ }), g = (e, t, r) => {
2855
+ const n = _(e);
2856
+ if (!n.error && !r.error) if (n.isFile) {
2857
+ const n = path$2.dirname(t), o = d(n, {
2857
2858
  recursive: !0
2858
- }), i = r.get(e).data, a = b(t, i);
2859
- s.newDirs.push(...o.newDirs), s.renamed.push({
2859
+ }), i = s.get(e).data, a = E(t, i);
2860
+ r.newDirs.push(...o.newDirs), r.renamed.push({
2860
2861
  oldPath: e,
2861
2862
  newPath: t,
2862
2863
  isDirectory: !1,
2863
2864
  isFile: !0
2864
- }), a.error ? s.error = a.error : s.newFiles.push(t);
2865
+ }), a.error ? r.error = a.error : r.newFiles.push(t);
2865
2866
  } else if (n.isDirectory) {
2866
- const r = h(e), n = u(t, {
2867
+ const s = p(e), n = d(t, {
2867
2868
  recursive: !0
2868
2869
  });
2869
- s.newDirs.push(...n.newDirs), s.renamed.push({
2870
+ r.newDirs.push(...n.newDirs), r.renamed.push({
2870
2871
  oldPath: e,
2871
2872
  newPath: t,
2872
2873
  isDirectory: !0,
2873
2874
  isFile: !1
2874
2875
  });
2875
- for (const n of r) {
2876
- const r = n.replace(e, t);
2877
- m(n, r, s);
2876
+ for (const n of s) {
2877
+ const s = n.replace(e, t);
2878
+ g(n, s, r);
2878
2879
  }
2879
2880
  }
2880
- }, g = (e, t = {}) => {
2881
+ }, y = (e, t = {}) => {
2881
2882
  const r = {
2882
2883
  basename: path$2.basename(e),
2883
2884
  dirname: path$2.dirname(e),
@@ -2886,23 +2887,23 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
2886
2887
  removedFiles: [],
2887
2888
  error: null
2888
2889
  };
2889
- return y(e, t, r), r;
2890
- }, y = (e, t, s) => {
2891
- if (!s.error) {
2892
- e = l(e);
2893
- const n = h(e);
2890
+ return w(e, t, r), r;
2891
+ }, w = (e, t, r) => {
2892
+ if (!r.error) {
2893
+ e = c(e);
2894
+ const n = p(e);
2894
2895
  if (t && t.recursive) for (const e of n) {
2895
- const n = r.get(e);
2896
- if (n) if (n.isDirectory) y(e, t, s); else if (n.isFile) {
2897
- const t = _(e);
2898
- t.error ? s.error = t.error : s.removedFiles.push(e);
2896
+ const n = s.get(e);
2897
+ if (n) if (n.isDirectory) w(e, t, r); else if (n.isFile) {
2898
+ const t = v(e);
2899
+ t.error ? r.error = t.error : r.removedFiles.push(e);
2899
2900
  }
2900
- } else if (n.length > 0) return void (s.error = "cannot delete directory that contains files/subdirectories");
2901
- r.delete(e), v(e, new Set), s.removedDirs.push(e);
2901
+ } else if (n.length > 0) return void (r.error = "cannot delete directory that contains files/subdirectories");
2902
+ s.delete(e), b(e, new Set), r.removedDirs.push(e);
2902
2903
  }
2903
- }, w = e => {
2904
- e = l(e);
2905
- const t = r.get(e);
2904
+ }, _ = e => {
2905
+ e = c(e);
2906
+ const t = s.get(e);
2906
2907
  return t && (t.isDirectory || t.isFile && "string" == typeof t.data) ? {
2907
2908
  isDirectory: t.isDirectory,
2908
2909
  isFile: t.isFile,
@@ -2916,52 +2917,52 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
2916
2917
  size: 0,
2917
2918
  error: `ENOENT: no such file or directory, statSync '${e}'`
2918
2919
  };
2919
- }, _ = e => {
2920
- e = l(e);
2920
+ }, v = e => {
2921
+ e = c(e);
2921
2922
  const t = {
2922
2923
  basename: path$2.basename(e),
2923
2924
  dirname: path$2.dirname(e),
2924
2925
  path: e,
2925
2926
  error: null
2926
- }, s = r.get(e);
2927
- if (s) {
2928
- if (s.watcherCallbacks) for (const t of s.watcherCallbacks) t(e, "fileDelete");
2929
- r.delete(e), v(e, new Set);
2927
+ }, r = s.get(e);
2928
+ if (r) {
2929
+ if (r.watcherCallbacks) for (const t of r.watcherCallbacks) t(e, "fileDelete");
2930
+ s.delete(e), b(e, new Set);
2930
2931
  }
2931
2932
  return t;
2932
- }, v = (e, t) => {
2933
- const s = l(path$2.dirname(e)), n = r.get(s);
2934
- if (n && n.isDirectory && n.watcherCallbacks) for (const t of n.watcherCallbacks) t(e, null);
2935
- t.has(s) || (t.add(s), v(s, t));
2936
2933
  }, b = (e, t) => {
2937
- const s = {
2938
- path: e = l(e),
2934
+ const r = c(path$2.dirname(e)), n = s.get(r);
2935
+ if (n && n.isDirectory && n.watcherCallbacks) for (const t of n.watcherCallbacks) t(e, null);
2936
+ t.has(r) || (t.add(r), b(r, t));
2937
+ }, E = (e, t) => {
2938
+ const r = {
2939
+ path: e = c(e),
2939
2940
  error: null
2940
- }, n = r.get(e);
2941
+ }, n = s.get(e);
2941
2942
  if (n) {
2942
2943
  const r = n.data !== t;
2943
2944
  if (n.data = t, r && n.watcherCallbacks) for (const t of n.watcherCallbacks) t(e, "fileUpdate");
2944
- } else r.set(e, {
2945
+ } else s.set(e, {
2945
2946
  basename: path$2.basename(e),
2946
2947
  dirname: path$2.dirname(e),
2947
2948
  isDirectory: !1,
2948
2949
  isFile: !0,
2949
2950
  watcherCallbacks: null,
2950
2951
  data: t
2951
- }), v(e, new Set);
2952
- return s;
2953
- }, E = "undefined" != typeof self ? null === self || void 0 === self ? void 0 : self.fetch : "undefined" != typeof window ? null === window || void 0 === window ? void 0 : window.fetch : "undefined" != typeof global ? null === global || void 0 === global ? void 0 : global.fetch : void 0, T = Promise.resolve();
2954
- u("/");
2955
- const S = {
2952
+ }), b(e, new Set);
2953
+ return r;
2954
+ }, T = "undefined" != typeof self ? null === self || void 0 === self ? void 0 : self.fetch : "undefined" != typeof window ? null === window || void 0 === window ? void 0 : window.fetch : "undefined" != typeof global ? null === global || void 0 === global ? void 0 : global.fetch : void 0, S = Promise.resolve();
2955
+ d("/");
2956
+ const C = {
2956
2957
  name: "in-memory",
2957
- version: "2.18.1",
2958
- events: i,
2959
- access: async e => c(e),
2960
- accessSync: c,
2961
- addDestory: n,
2962
- copyFile: async (e, t) => (b(t, p(e)), !0),
2963
- createDir: async (e, t) => u(e, t),
2964
- createDirSync: u,
2958
+ version: "2.19.1-0",
2959
+ events: a,
2960
+ access: async e => u(e),
2961
+ accessSync: u,
2962
+ addDestory: o,
2963
+ copyFile: async (e, t) => (E(t, f(e)), !0),
2964
+ createDir: async (e, t) => d(e, t),
2965
+ createDirSync: d,
2965
2966
  homeDir: () => os__namespace.homedir(),
2966
2967
  isTTY: () => {
2967
2968
  var e;
@@ -2970,19 +2971,19 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
2970
2971
  getEnvironmentVar: e => null == process__namespace ? void 0 : process__namespace.env[e],
2971
2972
  destroy: async () => {
2972
2973
  const e = [];
2973
- s.forEach((r => {
2974
+ n.forEach((t => {
2974
2975
  try {
2975
- const t = r();
2976
- t && t.then && e.push(t);
2976
+ const r = t();
2977
+ r && r.then && e.push(r);
2977
2978
  } catch (e) {
2978
- t.error(`stencil sys destroy: ${e}`);
2979
+ r.error(`stencil sys destroy: ${e}`);
2979
2980
  }
2980
- })), await Promise.all(e), s.clear();
2981
+ })), await Promise.all(e), n.clear();
2981
2982
  },
2982
2983
  encodeToBase64: e => btoa(unescape(encodeURIComponent(e))),
2983
- exit: async e => t.warn(`exit ${e}`),
2984
+ exit: async e => r.warn(`exit ${e}`),
2984
2985
  getCurrentDirectory: () => "/",
2985
- getCompilerExecutingPath: () => IS_WEB_WORKER_ENV ? location.href : S.getRemoteModuleUrl({
2986
+ getCompilerExecutingPath: () => IS_WEB_WORKER_ENV ? location.href : C.getRemoteModuleUrl({
2986
2987
  moduleId: "@stencil/core",
2987
2988
  path: "compiler/stencil.min.js"
2988
2989
  }),
@@ -2991,18 +2992,18 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
2991
2992
  const t = `${e.moduleId}${e.version ? "@" + e.version : ""}/${e.path}`;
2992
2993
  return new URL(t, "https://cdn.jsdelivr.net/npm/").href;
2993
2994
  },
2994
- hardwareConcurrency: a,
2995
+ hardwareConcurrency: l,
2995
2996
  isSymbolicLink: async e => !1,
2996
- nextTick: e => T.then(e),
2997
- normalizePath: l,
2997
+ nextTick: e => S.then(e),
2998
+ normalizePath: c,
2998
2999
  platformPath: pathBrowserify,
2999
- readDir: async e => h(e),
3000
- readDirSync: h,
3001
- readFile: async e => p(e),
3002
- readFileSync: p,
3003
- realpath: async e => f(e),
3004
- realpathSync: f,
3005
- removeDestory: o,
3000
+ readDir: async e => p(e),
3001
+ readDirSync: p,
3002
+ readFile: async e => f(e),
3003
+ readFileSync: f,
3004
+ realpath: async e => m(e),
3005
+ realpathSync: m,
3006
+ removeDestory: i,
3006
3007
  rename: async (e, t) => {
3007
3008
  const r = {
3008
3009
  oldPath: e = normalizePath(e),
@@ -3015,39 +3016,39 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
3015
3016
  isFile: !1,
3016
3017
  isDirectory: !1,
3017
3018
  error: null
3018
- }, s = w(e);
3019
+ }, s = _(e);
3019
3020
  if (s.error) r.error = `${e} does not exist`; else if (s.isFile ? r.isFile = !0 : s.isDirectory && (r.isDirectory = !0),
3020
- m(e, t, r), !r.error) if (r.isDirectory) {
3021
- const t = g(e, {
3021
+ g(e, t, r), !r.error) if (r.isDirectory) {
3022
+ const t = y(e, {
3022
3023
  recursive: !0
3023
3024
  });
3024
3025
  t.error ? r.error = t.error : (r.oldDirs.push(...t.removedDirs), r.oldFiles.push(...t.removedFiles));
3025
3026
  } else if (r.isFile) {
3026
- const t = _(e);
3027
+ const t = v(e);
3027
3028
  t.error ? r.error = t.error : r.oldFiles.push(e);
3028
3029
  }
3029
3030
  return r;
3030
3031
  },
3031
- fetch: E,
3032
- resolvePath: e => l(e),
3033
- removeDir: async (e, t = {}) => g(e, t),
3034
- removeDirSync: g,
3035
- stat: async e => w(e),
3036
- statSync: w,
3032
+ fetch: T,
3033
+ resolvePath: e => c(e),
3034
+ removeDir: async (e, t = {}) => y(e, t),
3035
+ removeDirSync: y,
3036
+ stat: async e => _(e),
3037
+ statSync: _,
3037
3038
  tmpDirSync: () => "/.tmp",
3038
- removeFile: async e => _(e),
3039
- removeFileSync: _,
3039
+ removeFile: async e => v(e),
3040
+ removeFileSync: v,
3040
3041
  watchDirectory: (e, t) => {
3041
- e = l(e);
3042
- const s = r.get(e), i = () => {
3043
- const s = r.get(e);
3044
- if (s && s.watcherCallbacks) {
3045
- const e = s.watcherCallbacks.indexOf(t);
3046
- e > -1 && s.watcherCallbacks.splice(e, 1);
3042
+ e = c(e);
3043
+ const r = s.get(e), n = () => {
3044
+ const r = s.get(e);
3045
+ if (r && r.watcherCallbacks) {
3046
+ const e = r.watcherCallbacks.indexOf(t);
3047
+ e > -1 && r.watcherCallbacks.splice(e, 1);
3047
3048
  }
3048
3049
  };
3049
- return n(i), s ? (s.isDirectory = !0, s.isFile = !1, s.watcherCallbacks = s.watcherCallbacks || [],
3050
- s.watcherCallbacks.push(t)) : r.set(e, {
3050
+ return o(n), r ? (r.isDirectory = !0, r.isFile = !1, r.watcherCallbacks = r.watcherCallbacks || [],
3051
+ r.watcherCallbacks.push(t)) : s.set(e, {
3051
3052
  basename: path$2.basename(e),
3052
3053
  dirname: path$2.dirname(e),
3053
3054
  isDirectory: !0,
@@ -3056,21 +3057,21 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
3056
3057
  data: void 0
3057
3058
  }), {
3058
3059
  close() {
3059
- o(i), i();
3060
+ i(n), n();
3060
3061
  }
3061
3062
  };
3062
3063
  },
3063
3064
  watchFile: (e, t) => {
3064
- e = l(e);
3065
- const s = r.get(e), i = () => {
3066
- const s = r.get(e);
3067
- if (s && s.watcherCallbacks) {
3068
- const e = s.watcherCallbacks.indexOf(t);
3069
- e > -1 && s.watcherCallbacks.splice(e, 1);
3065
+ e = c(e);
3066
+ const r = s.get(e), n = () => {
3067
+ const r = s.get(e);
3068
+ if (r && r.watcherCallbacks) {
3069
+ const e = r.watcherCallbacks.indexOf(t);
3070
+ e > -1 && r.watcherCallbacks.splice(e, 1);
3070
3071
  }
3071
3072
  };
3072
- return n(i), s ? (s.isDirectory = !1, s.isFile = !0, s.watcherCallbacks = s.watcherCallbacks || [],
3073
- s.watcherCallbacks.push(t)) : r.set(e, {
3073
+ return o(n), r ? (r.isDirectory = !1, r.isFile = !0, r.watcherCallbacks = r.watcherCallbacks || [],
3074
+ r.watcherCallbacks.push(t)) : s.set(e, {
3074
3075
  basename: path$2.basename(e),
3075
3076
  dirname: path$2.dirname(e),
3076
3077
  isDirectory: !1,
@@ -3079,13 +3080,13 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
3079
3080
  data: void 0
3080
3081
  }), {
3081
3082
  close() {
3082
- o(i), i();
3083
+ i(n), n();
3083
3084
  }
3084
3085
  };
3085
3086
  },
3086
3087
  watchTimeout: 32,
3087
- writeFile: async (e, t) => b(e, t),
3088
- writeFileSync: b,
3088
+ writeFile: async (e, t) => E(e, t),
3089
+ writeFileSync: E,
3089
3090
  generateContentHash: async (e, t) => {
3090
3091
  const r = await crypto.subtle.digest("SHA-256", (new TextEncoder).encode(e));
3091
3092
  let s = Array.from(new Uint8Array(r)).map((e => e.toString(16).padStart(2, "0"))).join("");
@@ -3156,7 +3157,7 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
3156
3157
  },
3157
3158
  maxWorkers: u
3158
3159
  };
3159
- })(S, e) : null,
3160
+ })(C, e) : null,
3160
3161
  details: {
3161
3162
  cpuModel: "",
3162
3163
  freemem: () => 0,
@@ -3164,13 +3165,13 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
3164
3165
  release: "",
3165
3166
  totalmem: 0
3166
3167
  },
3167
- copy: async (e, r) => (t.info("todo, copy task", e.length, r), {
3168
+ copy: async (e, t) => (r.info("todo, copy task", e.length, t), {
3168
3169
  diagnostics: [],
3169
3170
  dirPaths: [],
3170
3171
  filePaths: []
3171
3172
  })
3172
3173
  };
3173
- return S.resolveModuleId = e => ((e, t, r) => {
3174
+ return C.resolveModuleId = e => ((e, t, r) => {
3174
3175
  const s = ((e, t, r) => ({
3175
3176
  async isFile(s, n) {
3176
3177
  const o = normalizeFsPath(s);
@@ -3222,7 +3223,7 @@ const COMMON_DIR_MODULE_EXTS = [ ".tsx", ".ts", ".mjs", ".js", ".jsx", ".json",
3222
3223
  }
3223
3224
  }));
3224
3225
  }));
3225
- })(S, 0, e), S;
3226
+ })(C, 0, e), C;
3226
3227
  }, createTestingSystem = () => {
3227
3228
  let e = 0, t = 0;
3228
3229
  const r = createSystem();
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/testing",
3
- "version": "2.18.1",
3
+ "version": "2.19.1-0",
4
4
  "description": "Stencil testing suite.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",