victory-line
Advanced tools
Comparing version 36.8.4 to 36.8.5-next.0
# victory-line | ||
## 36.8.5-next.0 | ||
### Patch Changes | ||
- c8c2eb2f5: Replace instances of lodash.assign with Object.assign | ||
- Updated dependencies [c8c2eb2f5] | ||
- Updated dependencies [0f3abe234] | ||
- victory-core@36.8.5-next.0 | ||
- victory-vendor@36.8.5-next.0 | ||
## 36.8.4 | ||
@@ -4,0 +14,0 @@ |
@@ -0,0 +0,0 @@ import React from "react"; |
@@ -1,3 +0,1 @@ | ||
import _assign from "lodash/assign"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
@@ -24,3 +22,3 @@ | ||
var id = Helpers.evaluateProp(props.id, props); | ||
var style = Helpers.evaluateStyle(_assign({ | ||
var style = Helpers.evaluateStyle(Object.assign({ | ||
fill: "none", | ||
@@ -31,3 +29,3 @@ stroke: "black", | ||
var tabIndex = Helpers.evaluateProp(props.tabIndex, props); | ||
return _assign({}, props, { | ||
return Object.assign({}, props, { | ||
ariaLabel: ariaLabel, | ||
@@ -34,0 +32,0 @@ id: id, |
export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any; | ||
//# sourceMappingURL=helper-methods.d.ts.map |
import _isNil from "lodash/isNil"; | ||
import _assign from "lodash/assign"; | ||
import { Helpers, LabelHelpers, Data, Domain, Scale } from "victory-core"; | ||
@@ -38,5 +37,3 @@ | ||
var modifiedProps = Helpers.modifyProps(initialProps, fallbackProps, "line"); | ||
var props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var props = Object.assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var data = props.data, | ||
@@ -43,0 +40,0 @@ domain = props.domain, |
export * from "./victory-line"; | ||
export * from "./curve"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ import PropTypes from "prop-types"; |
@@ -0,0 +0,0 @@ import React from "react"; |
@@ -8,4 +8,2 @@ "use strict"; | ||
var _assign2 = _interopRequireDefault(require("lodash/assign")); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -37,3 +35,3 @@ | ||
var style = _victoryCore.Helpers.evaluateStyle((0, _assign2.default)({ | ||
var style = _victoryCore.Helpers.evaluateStyle(Object.assign({ | ||
fill: "none", | ||
@@ -46,3 +44,3 @@ stroke: "black", | ||
return (0, _assign2.default)({}, props, { | ||
return Object.assign({}, props, { | ||
ariaLabel: ariaLabel, | ||
@@ -49,0 +47,0 @@ id: id, |
export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any; | ||
//# sourceMappingURL=helper-methods.d.ts.map |
@@ -10,4 +10,2 @@ "use strict"; | ||
var _assign2 = _interopRequireDefault(require("lodash/assign")); | ||
var _victoryCore = require("victory-core"); | ||
@@ -54,3 +52,3 @@ | ||
var props = (0, _assign2.default)({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var props = Object.assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
var data = props.data, | ||
@@ -57,0 +55,0 @@ domain = props.domain, |
export * from "./victory-line"; | ||
export * from "./curve"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,0 +0,0 @@ import PropTypes from "prop-types"; |
{ | ||
"name": "victory-line", | ||
"version": "36.8.4", | ||
"version": "36.8.5-next.0", | ||
"description": "Line Component for Victory", | ||
@@ -25,4 +25,4 @@ "keywords": [ | ||
"prop-types": "^15.8.1", | ||
"victory-core": "^36.8.4", | ||
"victory-vendor": "^36.8.4" | ||
"victory-core": "^36.8.5-next.0", | ||
"victory-vendor": "^36.8.5-next.0" | ||
}, | ||
@@ -33,7 +33,7 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"victory-chart": "*", | ||
"victory-line": "*" | ||
"victory-chart": "36.8.5-next.0", | ||
"victory-line": "36.8.5-next.0" | ||
}, | ||
"publishConfig": { | ||
"provenance": true | ||
"provenance": false | ||
}, | ||
@@ -40,0 +40,0 @@ "wireit": { |
@@ -1,2 +0,2 @@ | ||
import { assign, isNil } from "lodash"; | ||
import { isNil } from "lodash"; | ||
import { Helpers, LabelHelpers, Data, Domain, Scale } from "victory-core"; | ||
@@ -42,3 +42,7 @@ | ||
); | ||
const props = assign({}, modifiedProps, getCalculatedValues(modifiedProps)); | ||
const props = Object.assign( | ||
{}, | ||
modifiedProps, | ||
getCalculatedValues(modifiedProps), | ||
); | ||
const { | ||
@@ -45,0 +49,0 @@ data, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1430633
23282
2
3
Updatedvictory-core@^36.8.5-next.0