Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-line

Package Overview
Dependencies
Maintainers
21
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-line - npm Package Compare versions

Comparing version 36.8.4 to 36.8.5-next.0

10

CHANGELOG.md
# 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

es/curve.d.ts

@@ -0,0 +0,0 @@ import React from "react";

6

es/curve.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc