aberdeen 1.17.0 → 1.18.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 (76) hide show
  1. package/dist/src/aberdeen.js +11 -2
  2. package/dist/src/aberdeen.js.map +3 -3
  3. package/dist/tests/fakedom.js +12 -2
  4. package/dist/tests/fakedom.js.map +3 -3
  5. package/dist/tests/helpers.js +12 -2
  6. package/dist/tests/helpers.js.map +3 -3
  7. package/dist-docs/Tutorial/index.html +2 -2
  8. package/dist-docs/aberdeen/A/index.html +2 -2
  9. package/dist-docs/aberdeen/CUSTOM_DUMP/index.html +2 -2
  10. package/dist-docs/aberdeen/NO_COPY/index.html +2 -2
  11. package/dist-docs/aberdeen/OPAQUE/index.html +2 -2
  12. package/dist-docs/aberdeen/PromiseProxy/index.html +5 -5
  13. package/dist-docs/aberdeen/clean/index.html +2 -2
  14. package/dist-docs/aberdeen/clone/index.html +2 -2
  15. package/dist-docs/aberdeen/copy/index.html +3 -3
  16. package/dist-docs/aberdeen/count/index.html +2 -2
  17. package/dist-docs/aberdeen/cssVars/index.html +2 -2
  18. package/dist-docs/aberdeen/darkMode/index.html +2 -2
  19. package/dist-docs/aberdeen/default/index.html +2 -2
  20. package/dist-docs/aberdeen/derive/index.html +2 -2
  21. package/dist-docs/aberdeen/disableCreateDestroy/index.html +2 -2
  22. package/dist-docs/aberdeen/dump/index.html +2 -2
  23. package/dist-docs/aberdeen/index.html +2 -2
  24. package/dist-docs/aberdeen/insertCss/index.html +2 -2
  25. package/dist-docs/aberdeen/insertGlobalCss/index.html +2 -2
  26. package/dist-docs/aberdeen/invertString/index.html +2 -2
  27. package/dist-docs/aberdeen/isEmpty/index.html +2 -2
  28. package/dist-docs/aberdeen/map/index.html +4 -4
  29. package/dist-docs/aberdeen/merge/index.html +3 -3
  30. package/dist-docs/aberdeen/mount/index.html +2 -2
  31. package/dist-docs/aberdeen/multiMap/index.html +4 -4
  32. package/dist-docs/aberdeen/onEach/index.html +2 -2
  33. package/dist-docs/aberdeen/partition/index.html +4 -4
  34. package/dist-docs/aberdeen/peek/index.html +5 -5
  35. package/dist-docs/aberdeen/proxy/index.html +2 -2
  36. package/dist-docs/aberdeen/ref/index.html +2 -2
  37. package/dist-docs/aberdeen/runQueue/index.html +2 -2
  38. package/dist-docs/aberdeen/setErrorHandler/index.html +2 -2
  39. package/dist-docs/aberdeen/setSpacingCssVars/index.html +2 -2
  40. package/dist-docs/aberdeen/unmountAll/index.html +2 -2
  41. package/dist-docs/aberdeen/unproxy/index.html +2 -2
  42. package/dist-docs/assets/aberdeen/aberdeen.js +11 -2
  43. package/dist-docs/assets/aberdeen/aberdeen.js.map +3 -3
  44. package/dist-docs/dispatcher/Dispatcher/index.html +4 -4
  45. package/dist-docs/dispatcher/MATCH_FAILED/index.html +2 -2
  46. package/dist-docs/dispatcher/MATCH_REST/index.html +2 -2
  47. package/dist-docs/dispatcher/index.html +2 -2
  48. package/dist-docs/hierarchy.html +1 -1
  49. package/dist-docs/index.html +2 -2
  50. package/dist-docs/media/CHANGELOG.md +9 -1
  51. package/dist-docs/modules.html +1 -1
  52. package/dist-docs/prediction/applyCanon/index.html +2 -2
  53. package/dist-docs/prediction/applyPrediction/index.html +2 -2
  54. package/dist-docs/prediction/index.html +2 -2
  55. package/dist-docs/route/Route/index.html +9 -9
  56. package/dist-docs/route/back/index.html +2 -2
  57. package/dist-docs/route/current/index.html +2 -2
  58. package/dist-docs/route/go/index.html +2 -2
  59. package/dist-docs/route/index.html +2 -2
  60. package/dist-docs/route/interceptLinks/index.html +2 -2
  61. package/dist-docs/route/matchCurrent/index.html +2 -2
  62. package/dist-docs/route/persistScroll/index.html +2 -2
  63. package/dist-docs/route/push/index.html +2 -2
  64. package/dist-docs/route/setLog/index.html +2 -2
  65. package/dist-docs/route/up/index.html +2 -2
  66. package/dist-docs/sitemap.xml +59 -59
  67. package/dist-docs/transitions/grow/index.html +2 -2
  68. package/dist-docs/transitions/index.html +2 -2
  69. package/dist-docs/transitions/shrink/index.html +2 -2
  70. package/package.json +1 -1
  71. package/skill/aberdeen.md +54 -54
  72. package/skill/dispatcher.md +6 -6
  73. package/skill/prediction.md +3 -3
  74. package/skill/route.md +18 -18
  75. package/skill/transitions.md +3 -3
  76. package/src/aberdeen.ts +15 -4
@@ -1032,7 +1032,7 @@ var setHandler = {
1032
1032
  };
1033
1033
  var proxyMap = new WeakMap;
1034
1034
  function optProxy(value) {
1035
- if (typeof value !== "object" || !value || value[TARGET_SYMBOL] !== undefined || value[OPAQUE] || value instanceof Date) {
1035
+ if (typeof value !== "object" || value === null || value[TARGET_SYMBOL] !== undefined || value[OPAQUE]) {
1036
1036
  return value;
1037
1037
  }
1038
1038
  let proxied = proxyMap.get(value);
@@ -1233,6 +1233,15 @@ var COPY_EMIT = 64;
1233
1233
  var OPAQUE = Symbol("OPAQUE");
1234
1234
  var NO_COPY = OPAQUE;
1235
1235
  Promise.prototype[OPAQUE] = true;
1236
+ Date.prototype[OPAQUE] = true;
1237
+ Node.prototype[OPAQUE] = true;
1238
+ if (typeof Temporal !== "undefined") {
1239
+ for (const name of "Duration Instant PlainDate PlainDateTime PlainMonthDay PlainTime PlainYearMonth ZonedDateTime".split(" ")) {
1240
+ const cls = Temporal[name];
1241
+ if (cls)
1242
+ cls.prototype[OPAQUE] = true;
1243
+ }
1244
+ }
1236
1245
  var cssVars = optProxy({});
1237
1246
  function setSpacingCssVars(base = 1, unit = "rem") {
1238
1247
  for (let i = 0;i <= 12; i++) {
@@ -1974,5 +1983,5 @@ export {
1974
1983
  A
1975
1984
  };
1976
1985
 
1977
- //# debugId=28BFF8A898B656A464756E2164756E21
1986
+ //# debugId=F455E457CF1E8D7364756E2164756E21
1978
1987
  //# sourceMappingURL=aberdeen.js.map