##// END OF EJS Templates
Fixed scheduleRender context restoration
cin -
r122:fb2ea4d6aaba v1.6.3 default
parent child
Show More
@@ -18,7 +18,7
18 "@typescript-eslint/eslint-plugin": "^5.23.0",
18 "@typescript-eslint/eslint-plugin": "^5.23.0",
19 "@typescript-eslint/parser": "^5.23.0",
19 "@typescript-eslint/parser": "^5.23.0",
20 "dojo": "1.16.0",
20 "dojo": "1.16.0",
21 "eslint": "^8.23.0",
21 "eslint": "^8.28.0",
22 "eslint-config-standard": "^17.0.0",
22 "eslint-config-standard": "^17.0.0",
23 "eslint-plugin-import": "^2.26.0",
23 "eslint-plugin-import": "^2.26.0",
24 "eslint-plugin-n": "^15.2.0",
24 "eslint-plugin-n": "^15.2.0",
@@ -369,9 +369,9
369 }
369 }
370 },
370 },
371 "node_modules/@eslint/eslintrc": {
371 "node_modules/@eslint/eslintrc": {
372 "version": "1.3.1",
372 "version": "1.3.3",
373 "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.1.tgz",
373 "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz",
374 "integrity": "sha512-OhSY22oQQdw3zgPOOwdoj01l/Dzl1Z+xyUP33tkSN+aqyEhymJCcPHyXt+ylW8FSe0TfRC2VG+ROQOapD0aZSQ==",
374 "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==",
375 "dev": true,
375 "dev": true,
376 "dependencies": {
376 "dependencies": {
377 "ajv": "^6.12.4",
377 "ajv": "^6.12.4",
@@ -410,29 +410,19
410 }
410 }
411 },
411 },
412 "node_modules/@humanwhocodes/config-array": {
412 "node_modules/@humanwhocodes/config-array": {
413 "version": "0.10.4",
413 "version": "0.11.7",
414 "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz",
414 "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz",
415 "integrity": "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==",
415 "integrity": "sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==",
416 "dev": true,
416 "dev": true,
417 "dependencies": {
417 "dependencies": {
418 "@humanwhocodes/object-schema": "^1.2.1",
418 "@humanwhocodes/object-schema": "^1.2.1",
419 "debug": "^4.1.1",
419 "debug": "^4.1.1",
420 "minimatch": "^3.0.4"
420 "minimatch": "^3.0.5"
421 },
421 },
422 "engines": {
422 "engines": {
423 "node": ">=10.10.0"
423 "node": ">=10.10.0"
424 }
424 }
425 },
425 },
426 "node_modules/@humanwhocodes/gitignore-to-minimatch": {
427 "version": "1.0.2",
428 "resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz",
429 "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==",
430 "dev": true,
431 "funding": {
432 "type": "github",
433 "url": "https://github.com/sponsors/nzakas"
434 }
435 },
436 "node_modules/@humanwhocodes/module-importer": {
426 "node_modules/@humanwhocodes/module-importer": {
437 "version": "1.0.1",
427 "version": "1.0.1",
438 "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
428 "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
@@ -911,9 +901,9
911 }
901 }
912 },
902 },
913 "node_modules/acorn": {
903 "node_modules/acorn": {
914 "version": "8.8.0",
904 "version": "8.8.1",
915 "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz",
905 "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
916 "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==",
906 "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",
917 "dev": true,
907 "dev": true,
918 "bin": {
908 "bin": {
919 "acorn": "bin/acorn"
909 "acorn": "bin/acorn"
@@ -1579,15 +1569,15
1579 }
1569 }
1580 },
1570 },
1581 "node_modules/eslint": {
1571 "node_modules/eslint": {
1582 "version": "8.23.0",
1572 "version": "8.28.0",
1583 "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.23.0.tgz",
1573 "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz",
1584 "integrity": "sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA==",
1574 "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==",
1585 "dev": true,
1575 "dev": true,
1586 "dependencies": {
1576 "dependencies": {
1587 "@eslint/eslintrc": "^1.3.1",
1577 "@eslint/eslintrc": "^1.3.3",
1588 "@humanwhocodes/config-array": "^0.10.4",
1578 "@humanwhocodes/config-array": "^0.11.6",
1589 "@humanwhocodes/gitignore-to-minimatch": "^1.0.2",
1590 "@humanwhocodes/module-importer": "^1.0.1",
1579 "@humanwhocodes/module-importer": "^1.0.1",
1580 "@nodelib/fs.walk": "^1.2.8",
1591 "ajv": "^6.10.0",
1581 "ajv": "^6.10.0",
1592 "chalk": "^4.0.0",
1582 "chalk": "^4.0.0",
1593 "cross-spawn": "^7.0.2",
1583 "cross-spawn": "^7.0.2",
@@ -1603,15 +1593,15
1603 "fast-deep-equal": "^3.1.3",
1593 "fast-deep-equal": "^3.1.3",
1604 "file-entry-cache": "^6.0.1",
1594 "file-entry-cache": "^6.0.1",
1605 "find-up": "^5.0.0",
1595 "find-up": "^5.0.0",
1606 "functional-red-black-tree": "^1.0.1",
1596 "glob-parent": "^6.0.2",
1607 "glob-parent": "^6.0.1",
1608 "globals": "^13.15.0",
1597 "globals": "^13.15.0",
1609 "globby": "^11.1.0",
1610 "grapheme-splitter": "^1.0.4",
1598 "grapheme-splitter": "^1.0.4",
1611 "ignore": "^5.2.0",
1599 "ignore": "^5.2.0",
1612 "import-fresh": "^3.0.0",
1600 "import-fresh": "^3.0.0",
1613 "imurmurhash": "^0.1.4",
1601 "imurmurhash": "^0.1.4",
1614 "is-glob": "^4.0.0",
1602 "is-glob": "^4.0.0",
1603 "is-path-inside": "^3.0.3",
1604 "js-sdsl": "^4.1.4",
1615 "js-yaml": "^4.1.0",
1605 "js-yaml": "^4.1.0",
1616 "json-stable-stringify-without-jsonify": "^1.0.1",
1606 "json-stable-stringify-without-jsonify": "^1.0.1",
1617 "levn": "^0.4.1",
1607 "levn": "^0.4.1",
@@ -2185,9 +2175,9
2185 }
2175 }
2186 },
2176 },
2187 "node_modules/espree": {
2177 "node_modules/espree": {
2188 "version": "9.4.0",
2178 "version": "9.4.1",
2189 "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz",
2179 "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz",
2190 "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==",
2180 "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==",
2191 "dev": true,
2181 "dev": true,
2192 "dependencies": {
2182 "dependencies": {
2193 "acorn": "^8.8.0",
2183 "acorn": "^8.8.0",
@@ -2578,9 +2568,9
2578 }
2568 }
2579 },
2569 },
2580 "node_modules/globals": {
2570 "node_modules/globals": {
2581 "version": "13.17.0",
2571 "version": "13.18.0",
2582 "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
2572 "resolved": "https://registry.npmjs.org/globals/-/globals-13.18.0.tgz",
2583 "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
2573 "integrity": "sha512-/mR4KI8Ps2spmoc0Ulu9L7agOF0du1CZNQ3dke8yItYlyKNmGrkONemBbd6V8UTc1Wgcqn21t3WYB7dbRmh6/A==",
2584 "dev": true,
2574 "dev": true,
2585 "dependencies": {
2575 "dependencies": {
2586 "type-fest": "^0.20.2"
2576 "type-fest": "^0.20.2"
@@ -2737,9 +2727,9
2737 }
2727 }
2738 },
2728 },
2739 "node_modules/import-fresh": {
2729 "node_modules/import-fresh": {
2740 "version": "3.2.1",
2730 "version": "3.3.0",
2741 "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
2731 "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
2742 "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
2732 "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
2743 "dev": true,
2733 "dev": true,
2744 "dependencies": {
2734 "dependencies": {
2745 "parent-module": "^1.0.0",
2735 "parent-module": "^1.0.0",
@@ -2747,6 +2737,9
2747 },
2737 },
2748 "engines": {
2738 "engines": {
2749 "node": ">=6"
2739 "node": ">=6"
2740 },
2741 "funding": {
2742 "url": "https://github.com/sponsors/sindresorhus"
2750 }
2743 }
2751 },
2744 },
2752 "node_modules/imurmurhash": {
2745 "node_modules/imurmurhash": {
@@ -2942,6 +2935,15
2942 "url": "https://github.com/sponsors/ljharb"
2935 "url": "https://github.com/sponsors/ljharb"
2943 }
2936 }
2944 },
2937 },
2938 "node_modules/is-path-inside": {
2939 "version": "3.0.3",
2940 "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
2941 "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
2942 "dev": true,
2943 "engines": {
2944 "node": ">=8"
2945 }
2946 },
2945 "node_modules/is-regex": {
2947 "node_modules/is-regex": {
2946 "version": "1.1.4",
2948 "version": "1.1.4",
2947 "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
2949 "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
@@ -3172,6 +3174,16
3172 "node": ">=8"
3174 "node": ">=8"
3173 }
3175 }
3174 },
3176 },
3177 "node_modules/js-sdsl": {
3178 "version": "4.2.0",
3179 "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz",
3180 "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==",
3181 "dev": true,
3182 "funding": {
3183 "type": "opencollective",
3184 "url": "https://opencollective.com/js-sdsl"
3185 }
3186 },
3175 "node_modules/js-tokens": {
3187 "node_modules/js-tokens": {
3176 "version": "4.0.0",
3188 "version": "4.0.0",
3177 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
3189 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -6980,9 +6992,9
6980 }
6992 }
6981 },
6993 },
6982 "@eslint/eslintrc": {
6994 "@eslint/eslintrc": {
6983 "version": "1.3.1",
6995 "version": "1.3.3",
6984 "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.1.tgz",
6996 "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz",
6985 "integrity": "sha512-OhSY22oQQdw3zgPOOwdoj01l/Dzl1Z+xyUP33tkSN+aqyEhymJCcPHyXt+ylW8FSe0TfRC2VG+ROQOapD0aZSQ==",
6997 "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==",
6986 "dev": true,
6998 "dev": true,
6987 "requires": {
6999 "requires": {
6988 "ajv": "^6.12.4",
7000 "ajv": "^6.12.4",
@@ -7014,21 +7026,15
7014 }
7026 }
7015 },
7027 },
7016 "@humanwhocodes/config-array": {
7028 "@humanwhocodes/config-array": {
7017 "version": "0.10.4",
7029 "version": "0.11.7",
7018 "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz",
7030 "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz",
7019 "integrity": "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==",
7031 "integrity": "sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==",
7020 "dev": true,
7032 "dev": true,
7021 "requires": {
7033 "requires": {
7022 "@humanwhocodes/object-schema": "^1.2.1",
7034 "@humanwhocodes/object-schema": "^1.2.1",
7023 "debug": "^4.1.1",
7035 "debug": "^4.1.1",
7024 "minimatch": "^3.0.4"
7036 "minimatch": "^3.0.5"
7025 }
7037 }
7026 },
7027 "@humanwhocodes/gitignore-to-minimatch": {
7028 "version": "1.0.2",
7029 "resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz",
7030 "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==",
7031 "dev": true
7032 },
7038 },
7033 "@humanwhocodes/module-importer": {
7039 "@humanwhocodes/module-importer": {
7034 "version": "1.0.1",
7040 "version": "1.0.1",
@@ -7357,9 +7363,9
7357 }
7363 }
7358 },
7364 },
7359 "acorn": {
7365 "acorn": {
7360 "version": "8.8.0",
7366 "version": "8.8.1",
7361 "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz",
7367 "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
7362 "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==",
7368 "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",
7363 "dev": true
7369 "dev": true
7364 },
7370 },
7365 "acorn-jsx": {
7371 "acorn-jsx": {
@@ -7853,15 +7859,15
7853 "dev": true
7859 "dev": true
7854 },
7860 },
7855 "eslint": {
7861 "eslint": {
7856 "version": "8.23.0",
7862 "version": "8.28.0",
7857 "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.23.0.tgz",
7863 "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz",
7858 "integrity": "sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA==",
7864 "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==",
7859 "dev": true,
7865 "dev": true,
7860 "requires": {
7866 "requires": {
7861 "@eslint/eslintrc": "^1.3.1",
7867 "@eslint/eslintrc": "^1.3.3",
7862 "@humanwhocodes/config-array": "^0.10.4",
7868 "@humanwhocodes/config-array": "^0.11.6",
7863 "@humanwhocodes/gitignore-to-minimatch": "^1.0.2",
7864 "@humanwhocodes/module-importer": "^1.0.1",
7869 "@humanwhocodes/module-importer": "^1.0.1",
7870 "@nodelib/fs.walk": "^1.2.8",
7865 "ajv": "^6.10.0",
7871 "ajv": "^6.10.0",
7866 "chalk": "^4.0.0",
7872 "chalk": "^4.0.0",
7867 "cross-spawn": "^7.0.2",
7873 "cross-spawn": "^7.0.2",
@@ -7877,15 +7883,15
7877 "fast-deep-equal": "^3.1.3",
7883 "fast-deep-equal": "^3.1.3",
7878 "file-entry-cache": "^6.0.1",
7884 "file-entry-cache": "^6.0.1",
7879 "find-up": "^5.0.0",
7885 "find-up": "^5.0.0",
7880 "functional-red-black-tree": "^1.0.1",
7886 "glob-parent": "^6.0.2",
7881 "glob-parent": "^6.0.1",
7882 "globals": "^13.15.0",
7887 "globals": "^13.15.0",
7883 "globby": "^11.1.0",
7884 "grapheme-splitter": "^1.0.4",
7888 "grapheme-splitter": "^1.0.4",
7885 "ignore": "^5.2.0",
7889 "ignore": "^5.2.0",
7886 "import-fresh": "^3.0.0",
7890 "import-fresh": "^3.0.0",
7887 "imurmurhash": "^0.1.4",
7891 "imurmurhash": "^0.1.4",
7888 "is-glob": "^4.0.0",
7892 "is-glob": "^4.0.0",
7893 "is-path-inside": "^3.0.3",
7894 "js-sdsl": "^4.1.4",
7889 "js-yaml": "^4.1.0",
7895 "js-yaml": "^4.1.0",
7890 "json-stable-stringify-without-jsonify": "^1.0.1",
7896 "json-stable-stringify-without-jsonify": "^1.0.1",
7891 "levn": "^0.4.1",
7897 "levn": "^0.4.1",
@@ -8284,9 +8290,9
8284 "dev": true
8290 "dev": true
8285 },
8291 },
8286 "espree": {
8292 "espree": {
8287 "version": "9.4.0",
8293 "version": "9.4.1",
8288 "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz",
8294 "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz",
8289 "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==",
8295 "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==",
8290 "dev": true,
8296 "dev": true,
8291 "requires": {
8297 "requires": {
8292 "acorn": "^8.8.0",
8298 "acorn": "^8.8.0",
@@ -8571,9 +8577,9
8571 }
8577 }
8572 },
8578 },
8573 "globals": {
8579 "globals": {
8574 "version": "13.17.0",
8580 "version": "13.18.0",
8575 "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
8581 "resolved": "https://registry.npmjs.org/globals/-/globals-13.18.0.tgz",
8576 "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
8582 "integrity": "sha512-/mR4KI8Ps2spmoc0Ulu9L7agOF0du1CZNQ3dke8yItYlyKNmGrkONemBbd6V8UTc1Wgcqn21t3WYB7dbRmh6/A==",
8577 "dev": true,
8583 "dev": true,
8578 "requires": {
8584 "requires": {
8579 "type-fest": "^0.20.2"
8585 "type-fest": "^0.20.2"
@@ -8681,9 +8687,9
8681 "dev": true
8687 "dev": true
8682 },
8688 },
8683 "import-fresh": {
8689 "import-fresh": {
8684 "version": "3.2.1",
8690 "version": "3.3.0",
8685 "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
8691 "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
8686 "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
8692 "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
8687 "dev": true,
8693 "dev": true,
8688 "requires": {
8694 "requires": {
8689 "parent-module": "^1.0.0",
8695 "parent-module": "^1.0.0",
@@ -8823,6 +8829,12
8823 "has-tostringtag": "^1.0.0"
8829 "has-tostringtag": "^1.0.0"
8824 }
8830 }
8825 },
8831 },
8832 "is-path-inside": {
8833 "version": "3.0.3",
8834 "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
8835 "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
8836 "dev": true
8837 },
8826 "is-regex": {
8838 "is-regex": {
8827 "version": "1.1.4",
8839 "version": "1.1.4",
8828 "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
8840 "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
@@ -8992,6 +9004,12
8992 "cliui": "^7.0.4"
9004 "cliui": "^7.0.4"
8993 }
9005 }
8994 },
9006 },
9007 "js-sdsl": {
9008 "version": "4.2.0",
9009 "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz",
9010 "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==",
9011 "dev": true
9012 },
8995 "js-tokens": {
9013 "js-tokens": {
8996 "version": "4.0.0",
9014 "version": "4.0.0",
8997 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
9015 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -29,7 +29,7
29 "@implab/dojo-typings": "1.0.3",
29 "@implab/dojo-typings": "1.0.3",
30 "@typescript-eslint/eslint-plugin": "^5.23.0",
30 "@typescript-eslint/eslint-plugin": "^5.23.0",
31 "@typescript-eslint/parser": "^5.23.0",
31 "@typescript-eslint/parser": "^5.23.0",
32 "eslint": "^8.23.0",
32 "eslint": "^8.28.0",
33 "eslint-config-standard": "^17.0.0",
33 "eslint-config-standard": "^17.0.0",
34 "eslint-plugin-import": "^2.26.0",
34 "eslint-plugin-import": "^2.26.0",
35 "eslint-plugin-n": "^15.2.0",
35 "eslint-plugin-n": "^15.2.0",
@@ -15,9 +15,9 export interface OnLoad {
15 }
15 }
16
16
17 export const bundle = <T extends object>(nls: T, locales?: Record<string, () => PromiseOrValue<object>>) : {
17 export const bundle = <T extends object>(nls: T, locales?: Record<string, () => PromiseOrValue<object>>) : {
18 i18n: (locale?: string) => T;
18 i18n: (this: void, locale?: string) => T;
19 define: (pack: Partial<T>) => object;
19 define: (this: void, pack: Partial<T>) => object;
20 load: (id: string, require: Require, cb: OnLoad, config: {isBuild?: boolean}) => void;
20 load: (this: void, id: string, require: Require, cb: OnLoad, config: {isBuild?: boolean}) => void;
21 } => {
21 } => {
22 const nlsBundle = new NlsBundle(nls, locales);
22 const nlsBundle = new NlsBundle(nls, locales);
23
23
@@ -32,6 +32,7 export const bundle = <T extends object>
32 };
32 };
33
33
34 fn.i18n = fn;
34 fn.i18n = fn;
35 fn.nls = fn;
35 fn.define = (pack: Partial<T>): object => pack;
36 fn.define = (pack: Partial<T>): object => pack;
36 fn.load = async (id: string, require: Require, cb: OnLoad, config: {isBuild?: boolean}) => {
37 fn.load = async (id: string, require: Require, cb: OnLoad, config: {isBuild?: boolean}) => {
37 const locale = id || sysLocale;
38 const locale = id || sysLocale;
@@ -72,7 +72,6 export const beginRender = (scope = getS
72 * @returns
72 * @returns
73 */
73 */
74 export const scheduleRender = async (scope = getScope()) => {
74 export const scheduleRender = async (scope = getScope()) => {
75 const prev = _context;
76 _renderCount++;
75 _renderCount++;
77 const renderId = _renderId ++;
76 const renderId = _renderId ++;
78 trace.debug("scheduleRender [{0}], pending = {1}", renderId, _renderCount);
77 trace.debug("scheduleRender [{0}], pending = {1}", renderId, _renderCount);
@@ -83,6 +82,8 export const scheduleRender = async (sco
83
82
84 return () => {
83 return () => {
85 trace.debug("beginRender [{0}], pending = {1}", renderId, _renderCount);
84 trace.debug("beginRender [{0}], pending = {1}", renderId, _renderCount);
85 const prev = _context;
86
86 _context = {
87 _context = {
87 scope,
88 scope,
88 hooks: []
89 hooks: []
@@ -30,7 +30,7
30 },
30 },
31 "../djx/build/npm/package": {
31 "../djx/build/npm/package": {
32 "name": "@implab/djx",
32 "name": "@implab/djx",
33 "version": "1.6.2",
33 "version": "1.6.3",
34 "dev": true,
34 "dev": true,
35 "license": "BSD-2-Clause",
35 "license": "BSD-2-Clause",
36 "peerDependencies": {
36 "peerDependencies": {
General Comments 0
You need to be logged in to leave comments. Login now