@hero-design/rn 7.14.1 → 7.14.2

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.
@@ -1,9 +1,9 @@
1
- @hero-design/rn:build: cache hit, replaying output 320379e0fb176734
2
- @hero-design/rn:build: $ yarn build:js && yarn build:types
3
- @hero-design/rn:build: $ rollup -c
4
- @hero-design/rn:build: 
5
- @hero-design/rn:build: src/index.ts → lib/index.js, es/index.js...
6
- @hero-design/rn:build: (!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
7
- @hero-design/rn:build: (!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/root/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
8
- @hero-design/rn:build: created lib/index.js, es/index.js in 21.6s
9
- @hero-design/rn:build: $ tsc --noEmit false --emitDeclarationOnly
1
+ @hero-design/rn:build: cache hit, replaying output b1037e4fa3f78ff8
2
+ @hero-design/rn:build: $ yarn build:js && yarn build:types
3
+ @hero-design/rn:build: $ rollup -c
4
+ @hero-design/rn:build: 
5
+ @hero-design/rn:build: src/index.ts → lib/index.js, es/index.js...
6
+ @hero-design/rn:build: (!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
7
+ @hero-design/rn:build: (!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/root/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning
8
+ @hero-design/rn:build: created lib/index.js, es/index.js in 22.2s
9
+ @hero-design/rn:build: $ tsc --noEmit false --emitDeclarationOnly
package/es/index.js CHANGED
@@ -1356,6 +1356,21 @@ function prefixer(element, index, children, callback) {
1356
1356
  }
1357
1357
  }
1358
1358
 
1359
+ var weakMemoize = function weakMemoize(func) {
1360
+ // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
1361
+ var cache = new WeakMap();
1362
+ return function (arg) {
1363
+ if (cache.has(arg)) {
1364
+ // $FlowFixMe
1365
+ return cache.get(arg);
1366
+ }
1367
+
1368
+ var ret = func(arg);
1369
+ cache.set(arg, ret);
1370
+ return ret;
1371
+ };
1372
+ };
1373
+
1359
1374
  var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
1360
1375
  var previous = 0;
1361
1376
  var character = 0;
@@ -1593,21 +1608,6 @@ function _extends$2() {
1593
1608
  return _extends$2.apply(this, arguments);
1594
1609
  }
1595
1610
 
1596
- var weakMemoize = function weakMemoize(func) {
1597
- // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
1598
- var cache = new WeakMap();
1599
- return function (arg) {
1600
- if (cache.has(arg)) {
1601
- // $FlowFixMe
1602
- return cache.get(arg);
1603
- }
1604
-
1605
- var ret = func(arg);
1606
- cache.set(arg, ret);
1607
- return ret;
1608
- };
1609
- };
1610
-
1611
1611
  var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
1612
1612
  // because this module is primarily intended for the browser and node
1613
1613
  // but it's also required in react native and similar environments sometimes
package/lib/index.js CHANGED
@@ -1384,6 +1384,21 @@ function prefixer(element, index, children, callback) {
1384
1384
  }
1385
1385
  }
1386
1386
 
1387
+ var weakMemoize = function weakMemoize(func) {
1388
+ // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
1389
+ var cache = new WeakMap();
1390
+ return function (arg) {
1391
+ if (cache.has(arg)) {
1392
+ // $FlowFixMe
1393
+ return cache.get(arg);
1394
+ }
1395
+
1396
+ var ret = func(arg);
1397
+ cache.set(arg, ret);
1398
+ return ret;
1399
+ };
1400
+ };
1401
+
1387
1402
  var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
1388
1403
  var previous = 0;
1389
1404
  var character = 0;
@@ -1621,21 +1636,6 @@ function _extends$2() {
1621
1636
  return _extends$2.apply(this, arguments);
1622
1637
  }
1623
1638
 
1624
- var weakMemoize = function weakMemoize(func) {
1625
- // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
1626
- var cache = new WeakMap();
1627
- return function (arg) {
1628
- if (cache.has(arg)) {
1629
- // $FlowFixMe
1630
- return cache.get(arg);
1631
- }
1632
-
1633
- var ret = func(arg);
1634
- cache.set(arg, ret);
1635
- return ret;
1636
- };
1637
- };
1638
-
1639
1639
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
1640
1640
  // because this module is primarily intended for the browser and node
1641
1641
  // but it's also required in react native and similar environments sometimes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "7.14.1",
3
+ "version": "7.14.2",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@emotion/native": "^11.9.3",
23
23
  "@emotion/react": "^11.9.3",
24
- "@hero-design/colors": "7.14.1",
24
+ "@hero-design/colors": "7.14.2",
25
25
  "date-fns": "^2.16.1",
26
26
  "events": "^3.2.0",
27
27
  "hero-editor": "^1.9.9"