@rickcedwhat/playwright-smart-table 6.8.0 → 6.8.1
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/dist/engine/tableIteration.js +4 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/packageVersion.d.ts +6 -0
- package/dist/packageVersion.js +9 -0
- package/package.json +4 -2
|
@@ -43,7 +43,10 @@ function runMap(env_1, callback_1) {
|
|
|
43
43
|
options.parallel === false ? 'sequential' :
|
|
44
44
|
env.config.concurrency || defaultMode);
|
|
45
45
|
const useBarrier = concurrency !== 'sequential';
|
|
46
|
-
|
|
46
|
+
// Mutex must not pair with the navigation barrier: synchronized mode needs every row
|
|
47
|
+
// to enter barrier.sync concurrently; serializing callbacks here deadlocks (first row waits
|
|
48
|
+
// for batchSize peers that never reach the barrier).
|
|
49
|
+
const useMutex = concurrency === 'sequential';
|
|
47
50
|
const useBulk = (_c = options.useBulkPagination) !== null && _c !== void 0 ? _c : false;
|
|
48
51
|
const tracker = new elementTracker_1.ElementTracker(label);
|
|
49
52
|
log(env.config, `${label}: starting (maxPages=${effectiveMaxPages}, mode=${concurrency}, dedupe=${!!dedupeStrategy})`);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { PLAYWRIGHT_SMART_TABLE_VERSION } from './packageVersion';
|
|
1
2
|
export { useTable } from './useTable';
|
|
2
3
|
export type { TableConfig, TableResult, SmartRow, Selector, FilterValue, PaginationPrimitives, SortingStrategy, FillOptions, RowIterationContext, RowIterationOptions, TableContext, StrategyContext, BeforeCellReadFn, GetCellLocatorFn, GetActiveCellFn, DebugConfig, } from './types';
|
|
3
4
|
export { Strategies } from './strategies';
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.Plugins = exports.presets = exports.Strategies = exports.useTable = void 0;
|
|
36
|
+
exports.Plugins = exports.presets = exports.Strategies = exports.useTable = exports.PLAYWRIGHT_SMART_TABLE_VERSION = void 0;
|
|
37
|
+
var packageVersion_1 = require("./packageVersion");
|
|
38
|
+
Object.defineProperty(exports, "PLAYWRIGHT_SMART_TABLE_VERSION", { enumerable: true, get: function () { return packageVersion_1.PLAYWRIGHT_SMART_TABLE_VERSION; } });
|
|
37
39
|
var useTable_1 = require("./useTable");
|
|
38
40
|
Object.defineProperty(exports, "useTable", { enumerable: true, get: function () { return useTable_1.useTable; } });
|
|
39
41
|
// Export namespace-like strategy collections
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PLAYWRIGHT_SMART_TABLE_VERSION = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* 🤖 AUTO-GENERATED FILE. DO NOT EDIT.
|
|
6
|
+
* Generated by scripts/embed-version.mjs from package.json
|
|
7
|
+
*/
|
|
8
|
+
/** Semver of this package. Use in logs or diagnostics to confirm the installed build. */
|
|
9
|
+
exports.PLAYWRIGHT_SMART_TABLE_VERSION = "6.8.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rickcedwhat/playwright-smart-table",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Smart, column-aware table interactions for Playwright",
|
|
5
5
|
"author": "Cedrick Catalan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
"update-all-api-signatures": "node scripts/update-all-api-signatures.mjs",
|
|
26
26
|
"docs:dev": "vitepress dev docs",
|
|
27
27
|
"docs:build": "vitepress build docs",
|
|
28
|
-
"
|
|
28
|
+
"docs:verify-links": "node scripts/verify-vitepress-links.mjs",
|
|
29
|
+
"embed-version": "node scripts/embed-version.mjs",
|
|
30
|
+
"build": "npm run embed-version && npm run generate-types && npm run generate-config-types && npm run generate-docs && npm run generate-all-api-docs && npm run update-all-api-signatures && tsc",
|
|
29
31
|
"prepublishOnly": "npm run build",
|
|
30
32
|
"clean-port": "lsof -ti:3000 | xargs kill -9 || true",
|
|
31
33
|
"pretest": "npm run clean-port",
|