native-document 1.0.69 → 1.0.70

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/.npmrc.example CHANGED
File without changes
package/components.js ADDED
File without changes
@@ -2394,7 +2394,7 @@ var NativeDocument = (function (exports) {
2394
2394
  );
2395
2395
  }
2396
2396
 
2397
- function In(observableOrArray){
2397
+ function inArray(observableOrArray){
2398
2398
  return createFilter(observableOrArray, (value, arr) => arr.includes(value));
2399
2399
  }
2400
2400
 
@@ -2541,12 +2541,14 @@ var NativeDocument = (function (exports) {
2541
2541
 
2542
2542
  const timeAfter = (observableOrValue) => {
2543
2543
  return createFilter(observableOrValue, (value, target) => {
2544
+ if (!value || !target) return false;
2544
2545
  return getSecondsOfDay(value) > getSecondsOfDay(target);
2545
2546
  });
2546
2547
  };
2547
2548
 
2548
2549
  const timeBefore = (observableOrValue) => {
2549
2550
  return createFilter(observableOrValue, (value, target) => {
2551
+ if (!value || !target) return false;
2550
2552
  return getSecondsOfDay(value) < getSecondsOfDay(target);
2551
2553
  });
2552
2554
  };
@@ -2625,7 +2627,6 @@ var NativeDocument = (function (exports) {
2625
2627
 
2626
2628
  var index = /*#__PURE__*/Object.freeze({
2627
2629
  __proto__: null,
2628
- In: In,
2629
2630
  all: all,
2630
2631
  and: and,
2631
2632
  any: any,
@@ -2650,6 +2651,7 @@ var NativeDocument = (function (exports) {
2650
2651
  greaterThanOrEqual: greaterThanOrEqual,
2651
2652
  gt: gt,
2652
2653
  gte: gte,
2654
+ inArray: inArray,
2653
2655
  includes: includes,
2654
2656
  isEmpty: isEmpty,
2655
2657
  isNotEmpty: isNotEmpty,