@stencil/core 4.9.0-dev.1703209691.c710375 → 4.9.0-dev.1703480509.a69b4d6

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal",
3
- "version": "4.9.0-dev.1703209691.c710375",
3
+ "version": "4.9.0-dev.1703480509.a69b4d6",
4
4
  "description": "Stencil internals only to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "4.9.0-dev.1703209691.c710375",
3
+ "version": "4.9.0-dev.1703480509.a69b4d6",
4
4
  "description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "private": true
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc (CommonJS) v4.9.0-dev.1703209691.c710375 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.9.0-dev.1703480509.a69b4d6 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  var mockDoc = (function(exports) {
5
5
  'use strict';
package/mock-doc/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc v4.9.0-dev.1703209691.c710375 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v4.9.0-dev.1703480509.a69b4d6 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  const CONTENT_REF_ID = 'r';
5
5
  const ORG_LOCATION_ID = 'o';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.9.0-dev.1703209691.c710375",
3
+ "version": "4.9.0-dev.1703480509.a69b4d6",
4
4
  "description": "Mock window, document and DOM outside of a browser environment.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "4.9.0-dev.1703209691.c710375",
3
+ "version": "4.9.0-dev.1703480509.a69b4d6",
4
4
  "license": "MIT",
5
5
  "main": "./internal/stencil-core/index.cjs",
6
6
  "module": "./internal/stencil-core/index.js",
@@ -125,7 +125,7 @@
125
125
  "terser": "5.26.0",
126
126
  "typescript": "~5.2.2",
127
127
  "webpack": "^5.75.0",
128
- "ws": "8.14.2"
128
+ "ws": "8.15.1"
129
129
  },
130
130
  "engines": {
131
131
  "node": ">=16.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/screenshot",
3
- "version": "4.9.0-dev.1703209691.c710375",
3
+ "version": "4.9.0-dev.1703480509.a69b4d6",
4
4
  "description": "Stencil Screenshot.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/sys/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Node System v4.9.0-dev.1703209691.c710375 | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System v4.9.0-dev.1703480509.a69b4d6 | 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": "4.9.0-dev.1703209691.c710375",
3
+ "version": "4.9.0-dev.1703480509.a69b4d6",
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 v4.9.0-dev.1703209691.c710375 | MIT Licensed | https://stenciljs.com
2
+ Stencil Node System Worker v4.9.0-dev.1703480509.a69b4d6 | 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 v4.9.0-dev.1703209691.c710375 | MIT Licensed | https://stenciljs.com
2
+ Stencil Testing v4.9.0-dev.1703480509.a69b4d6 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  function _lazyRequire(e) {
5
5
  return new Proxy({}, {
@@ -2284,13 +2284,13 @@ async function compareScreenshot(e, t, r, n, s, o, i, a) {
2284
2284
  const n = require$$3.createHash("md5");
2285
2285
  return n.update(`${e}:${t}:${r}`), n.digest("hex").slice(0, 10);
2286
2286
  }(w.diff.imageA, w.diff.imageB, a);
2287
- const e = t.cache[w.diff.cacheKey];
2288
- if ("number" != typeof e || isNaN(e)) {
2289
- const e = {
2287
+ const r = t.cache[w.diff.cacheKey];
2288
+ if ("number" != typeof r || isNaN(r)) {
2289
+ const r = Math.round(e.viewport.width * e.viewport.deviceScaleFactor), n = Math.round(e.viewport.height * e.viewport.deviceScaleFactor), s = {
2290
2290
  imageAPath: path$3.join(t.imagesDir, w.diff.imageA),
2291
2291
  imageBPath: path$3.join(t.imagesDir, w.diff.imageB),
2292
- width: s,
2293
- height: o,
2292
+ width: r,
2293
+ height: n,
2294
2294
  pixelmatchThreshold: a
2295
2295
  };
2296
2296
  w.diff.mismatchedPixels = await async function T(e, t) {
@@ -2321,8 +2321,8 @@ async function compareScreenshot(e, t, r, n, s, o, i, a) {
2321
2321
  clearTimeout(o), n(`getMismatchedPixels error: ${e}`);
2322
2322
  }
2323
2323
  }));
2324
- }(t.pixelmatchModulePath, e);
2325
- } else w.diff.mismatchedPixels = e;
2324
+ }(t.pixelmatchModulePath, s);
2325
+ } else w.diff.mismatchedPixels = r;
2326
2326
  }
2327
2327
  return await writeScreenshotData(t.currentBuildDir, w), w.diff;
2328
2328
  }
@@ -12221,7 +12221,7 @@ const createSystem = e => {
12221
12221
  u("/");
12222
12222
  const T = {
12223
12223
  name: "in-memory",
12224
- version: "4.9.0-dev.1703209691.c710375",
12224
+ version: "4.9.0-dev.1703480509.a69b4d6",
12225
12225
  events: a,
12226
12226
  access: async e => c(e),
12227
12227
  accessSync: c,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/testing",
3
- "version": "4.9.0-dev.1703209691.c710375",
3
+ "version": "4.9.0-dev.1703480509.a69b4d6",
4
4
  "description": "Stencil testing suite.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",