@trendmicro/react-interpolate
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -11,5 +11,5 @@ 'use strict'; | ||
var _omit = require('lodash/omit'); | ||
var _lodash = require('lodash.omit'); | ||
var _omit2 = _interopRequireDefault(_omit); | ||
var _lodash2 = _interopRequireDefault(_lodash); | ||
@@ -59,3 +59,3 @@ var _propTypes = require('prop-types'); | ||
var props = (0, _omit2.default)(this.props, ['parent', 'prefix', 'suffix', 'replacement']); | ||
var props = (0, _lodash2.default)(this.props, ['parent', 'prefix', 'suffix', 'replacement']); | ||
var matches = []; | ||
@@ -86,3 +86,3 @@ var children = []; | ||
props = (0, _omit2.default)(props, matches); | ||
props = (0, _lodash2.default)(props, matches); | ||
@@ -89,0 +89,0 @@ return _react2.default.createElement.apply(this, [parent, props].concat(children)); |
{ | ||
"name": "@trendmicro/react-interpolate", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "A React component that renders elements into a format string containing replacement fields.", | ||
@@ -48,2 +48,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"lodash.omit": "^4.5.0", | ||
"prop-types": "^15.5.8" | ||
@@ -50,0 +51,0 @@ }, |
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
11613
3
+ Addedlodash.omit@^4.5.0
+ Addedlodash.omit@4.5.0(transitive)