@rindo/core 4.26.0 → 4.27.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/index.cjs +4 -4
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/rindo.js +1512 -1466
- 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 +4 -4
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +4 -4
- package/internal/app-data/index.cjs +3 -14
- package/internal/app-data/index.js +0 -11
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +235 -215
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +240 -218
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +6 -6
- package/internal/package.json +1 -1
- package/internal/rindo-private.d.ts +6 -13
- package/internal/testing/index.js +232 -218
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +231 -231
- package/mock-doc/index.js +228 -228
- package/mock-doc/package.json +1 -1
- package/package.json +2 -2
- package/screenshot/index.js +4 -4
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +3 -3
- package/sys/node/index.js +9 -9
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +9 -16
- package/testing/package.json +1 -1
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rindo/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.27.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./internal/rindo-core/index.cjs",
|
|
6
6
|
"module": "./internal/rindo-core/index.js",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"autoprefixer": "10.4.19",
|
|
149
149
|
"conventional-changelog-cli": "^5.0.0",
|
|
150
150
|
"dts-bundle-generator": "~9.5.0",
|
|
151
|
-
"esbuild": "^0.
|
|
151
|
+
"esbuild": "^0.25.0",
|
|
152
152
|
"esbuild-plugin-replace": "^1.4.0",
|
|
153
153
|
"eslint": "^8.23.1",
|
|
154
154
|
"eslint-config-prettier": "^9.0.0",
|
package/screenshot/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Rindo Screenshot v4.
|
|
2
|
+
Rindo Screenshot v4.27.0 | MIT Licensed | https://rindojs.web.app
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __create = Object.create;
|
|
@@ -31,12 +31,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
33
|
// src/screenshot/index.ts
|
|
34
|
-
var
|
|
35
|
-
__export(
|
|
34
|
+
var index_exports = {};
|
|
35
|
+
__export(index_exports, {
|
|
36
36
|
ScreenshotConnector: () => ScreenshotConnector,
|
|
37
37
|
ScreenshotLocalConnector: () => ScreenshotLocalConnector
|
|
38
38
|
});
|
|
39
|
-
module.exports = __toCommonJS(
|
|
39
|
+
module.exports = __toCommonJS(index_exports);
|
|
40
40
|
|
|
41
41
|
// src/screenshot/connector-base.ts
|
|
42
42
|
var import_os = require("os");
|
package/screenshot/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Rindo Screenshot Pixel Match v4.
|
|
2
|
+
Rindo Screenshot Pixel Match v4.27.0 | MIT Licensed | https://rindojs.web.app
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __create = Object.create;
|
|
@@ -1377,7 +1377,7 @@ var require_bitpacker = __commonJS({
|
|
|
1377
1377
|
options.colorType
|
|
1378
1378
|
) !== -1;
|
|
1379
1379
|
if (options.colorType === options.inputColorType) {
|
|
1380
|
-
let bigEndian = function() {
|
|
1380
|
+
let bigEndian = (function() {
|
|
1381
1381
|
let buffer = new ArrayBuffer(2);
|
|
1382
1382
|
new DataView(buffer).setInt16(
|
|
1383
1383
|
0,
|
|
@@ -1386,7 +1386,7 @@ var require_bitpacker = __commonJS({
|
|
|
1386
1386
|
/* littleEndian */
|
|
1387
1387
|
);
|
|
1388
1388
|
return new Int16Array(buffer)[0] !== 256;
|
|
1389
|
-
}();
|
|
1389
|
+
})();
|
|
1390
1390
|
if (options.bitDepth === 8 || options.bitDepth === 16 && bigEndian) {
|
|
1391
1391
|
return dataIn;
|
|
1392
1392
|
}
|