@dsmjs/components
Advanced tools
Comparing version 5.2.49 to 5.2.50
@@ -498,17 +498,2 @@ 'use strict'; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
function ownKeys(object, enumerableOnly) { | ||
@@ -519,5 +504,9 @@ var keys = Object.keys(object); | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
if (enumerableOnly) symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
if (enumerableOnly) { | ||
symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
} | ||
keys.push.apply(keys, symbols); | ||
@@ -549,2 +538,17 @@ } | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
function _slicedToArray(arr, i) { | ||
@@ -551,0 +555,0 @@ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); |
@@ -485,17 +485,2 @@ import React from 'react'; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
function ownKeys(object, enumerableOnly) { | ||
@@ -506,5 +491,9 @@ var keys = Object.keys(object); | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
if (enumerableOnly) symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
if (enumerableOnly) { | ||
symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
} | ||
keys.push.apply(keys, symbols); | ||
@@ -536,2 +525,17 @@ } | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
function _slicedToArray(arr, i) { | ||
@@ -538,0 +542,0 @@ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "5.2.49", | ||
"version": "5.2.50", | ||
"main": "lib/components.cjs.js", | ||
@@ -51,3 +51,3 @@ "module": "lib/components.es.js", | ||
"@dsmjs/babel-preset": "1.0.58", | ||
"@dsmjs/eslint-config": "1.0.67", | ||
"@dsmjs/eslint-config": "1.0.68", | ||
"@dsmjs/eslint-config-mocha": "1.0.12", | ||
@@ -65,3 +65,3 @@ "@dsmjs/eslint-config-react": "1.1.43", | ||
"chai": "^4.2.0", | ||
"codecov": "3.8.1", | ||
"codecov": "3.8.2", | ||
"commitlint-config-dsmjs": "1.0.26", | ||
@@ -72,3 +72,3 @@ "cz-conventional-changelog": "3.3.0", | ||
"husky": "6.0.0", | ||
"mocha": "8.3.2", | ||
"mocha": "8.4.0", | ||
"netlify-cli": "^3.0.0", | ||
@@ -78,3 +78,3 @@ "npm-run-all": "4.1.5", | ||
"react": "^16.10.2", | ||
"react-dom": "^16.10.2", | ||
"react-dom": "^17.0.2", | ||
"remark": "^13.0.0", | ||
@@ -81,0 +81,0 @@ "remark-cli": "^9.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
238612
2356