@reach/descendants
Advanced tools
Comparing version 0.15.0 to 0.15.2
@@ -45,2 +45,4 @@ 'use strict'; | ||
var _excluded = ["element", "index"]; | ||
function createDescendantContext(name, initialValue) { | ||
@@ -138,3 +140,3 @@ if (initialValue === void 0) { | ||
explicitIndex = _ref2.index, | ||
rest = _objectWithoutPropertiesLoose(_ref2, ["element", "index"]); | ||
rest = _objectWithoutPropertiesLoose(_ref2, _excluded); | ||
@@ -141,0 +143,0 @@ if (!element) { |
@@ -45,2 +45,4 @@ 'use strict'; | ||
var _excluded = ["element", "index"]; | ||
function createDescendantContext(name, initialValue) { | ||
@@ -138,3 +140,3 @@ if (initialValue === void 0) { | ||
explicitIndex = _ref2.index, | ||
rest = _objectWithoutPropertiesLoose(_ref2, ["element", "index"]); | ||
rest = _objectWithoutPropertiesLoose(_ref2, _excluded); | ||
@@ -141,0 +143,0 @@ if (!element) { |
@@ -41,2 +41,4 @@ import { useContext, useState, useCallback, createElement, useMemo } from 'react'; | ||
var _excluded = ["element", "index"]; | ||
function createDescendantContext(name, initialValue) { | ||
@@ -134,3 +136,3 @@ if (initialValue === void 0) { | ||
explicitIndex = _ref2.index, | ||
rest = _objectWithoutPropertiesLoose(_ref2, ["element", "index"]); | ||
rest = _objectWithoutPropertiesLoose(_ref2, _excluded); | ||
@@ -137,0 +139,0 @@ if (!element) { |
{ | ||
"name": "@reach/descendants", | ||
"version": "0.15.0", | ||
"version": "0.15.2", | ||
"description": "A descendant index solution for better accessibility support in compound components", | ||
@@ -16,4 +16,4 @@ "author": "React Training <hello@reacttraining.com>", | ||
"dependencies": { | ||
"@reach/utils": "0.15.0", | ||
"tslib": "^2.1.0" | ||
"@reach/utils": "0.15.2", | ||
"tslib": "^2.3.0" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "1449650359c119c1afe25973aa7584e09e2c88bc" | ||
"gitHead": "353f409a296a648c4fe2c2d06b14a39b7b6dc3e1" | ||
} |
58501
1025
+ Added@reach/utils@0.15.2(transitive)
- Removed@reach/utils@0.15.0(transitive)
Updated@reach/utils@0.15.2
Updatedtslib@^2.3.0