@plasmicapp/react-web 0.2.298 → 0.2.300

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.
@@ -42,7 +42,7 @@ export declare function assert<T>(cond: T, msg?: StringGen): asserts cond;
42
42
  */
43
43
  export declare function set(obj: any, keys: any, val: any): void;
44
44
  /**
45
- * Forked from https://github.com/jamesfoster/DeepEqual
45
+ * Forked from https://github.com/epoberezkin/fast-deep-equal/blob/master/src/index.jst
46
46
  * Changes: removed the comparison between constructors and instanceof objects
47
47
  * because they are dependent on the window object
48
48
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.298",
3
+ "version": "0.2.300",
4
4
  "description": "plasmic library for rendering in the presentational style",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
@@ -157,5 +157,5 @@
157
157
  "react": ">=16.8.0",
158
158
  "react-dom": ">=16.8.0"
159
159
  },
160
- "gitHead": "e509f855bddb2f2a527bbf0b4fc5fed35e607e5c"
160
+ "gitHead": "c3bd8ab8e96e1193be3e4984bd271b72af5cf1fd"
161
161
  }
@@ -1633,7 +1633,7 @@ var isRegExp = function (a) {
1633
1633
  return Object.prototype.toString.call(a) === "[object RegExp]";
1634
1634
  };
1635
1635
  /**
1636
- * Forked from https://github.com/jamesfoster/DeepEqual
1636
+ * Forked from https://github.com/epoberezkin/fast-deep-equal/blob/master/src/index.jst
1637
1637
  * Changes: removed the comparison between constructors and instanceof objects
1638
1638
  * because they are dependent on the window object
1639
1639
  */
@@ -1710,10 +1710,10 @@ function deepEqual(a, b) {
1710
1710
  // if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
1711
1711
  if (isRegExp(a) && isRegExp(b))
1712
1712
  return a.source === b.source && a.flags === b.flags;
1713
- if (a.valueOf !== Object.prototype.valueOf)
1714
- return a.valueOf() === b.valueOf();
1715
- if (a.toString !== Object.prototype.toString)
1716
- return a.toString() === b.toString();
1713
+ // if (a.valueOf !== Object.prototype.valueOf)
1714
+ // return a.valueOf() === b.valueOf();
1715
+ // if (a.toString !== Object.prototype.toString)
1716
+ // return a.toString() === b.toString();
1717
1717
  keys = Object.keys(a);
1718
1718
  length = keys.length;
1719
1719
  if (length !== Object.keys(b).length)