victory-axis
Advanced tools
Comparing version 36.5.3 to 36.6.0
@@ -208,7 +208,7 @@ import _defaults from "lodash/defaults"; | ||
/*eslint-disable no-magic-numbers*/ | ||
/* eslint-disable no-magic-numbers*/ | ||
var fontSize = labelStyle.fontSize || 14; | ||
return props.label ? fontSize * (isVertical ? 2.3 : 1.6) : 0; | ||
/*eslint-enable no-magic-numbers*/ | ||
/* eslint-enable no-magic-numbers*/ | ||
}; | ||
@@ -477,3 +477,3 @@ | ||
var yAxisScale = axis === "y" ? axisScale : undefined; | ||
var crossAxis = props.crossAxis === false || props.standalone === true ? false : true; | ||
var crossAxis = !(props.crossAxis === false || props.standalone === true); | ||
var ticks = Axis.getTicks(props, axisScale, crossAxis); | ||
@@ -542,4 +542,3 @@ var tickFormat = Axis.getTickFormat(props, axisScale); | ||
domain = calculatedValues.domain, | ||
stringTicks = calculatedValues.stringTicks, | ||
name = calculatedValues.name; | ||
stringTicks = calculatedValues.stringTicks; | ||
var otherAxis = axis === "x" ? "y" : "x"; | ||
@@ -578,4 +577,3 @@ var _props = props, | ||
padding: padding, | ||
domain: domain, | ||
name: name | ||
domain: domain | ||
}, sharedProps) | ||
@@ -589,2 +587,4 @@ }; | ||
return ticks.reduce(function (childProps, tickValue, index) { | ||
var _scale$axis, _scale$axis2, _scale$axis3; | ||
var tick = stringTicks ? stringTicks[index] : tickValue; | ||
@@ -600,3 +600,3 @@ var text = tickFormat(tickValue, index, ticks); | ||
position: getTickPosition(styles, orientation, isVertical), | ||
transform: getTickTransform(scale[axis](tickValue), globalTransform, isVertical) | ||
transform: getTickTransform((_scale$axis = scale[axis]) === null || _scale$axis === void 0 ? void 0 : _scale$axis.call(scale, tickValue), globalTransform, isVertical) | ||
}; | ||
@@ -606,4 +606,4 @@ var gridLayout = { | ||
transform: { | ||
x: isVertical ? -gridOffset.x + globalTransform.x : scale[axis](tickValue) + globalTransform.x, | ||
y: isVertical ? scale[axis](tickValue) + globalTransform.y : gridOffset.y + globalTransform.y | ||
x: isVertical ? -gridOffset.x + globalTransform.x : ((_scale$axis2 = scale[axis]) === null || _scale$axis2 === void 0 ? void 0 : _scale$axis2.call(scale, tickValue)) + globalTransform.x, | ||
y: isVertical ? ((_scale$axis3 = scale[axis]) === null || _scale$axis3 === void 0 ? void 0 : _scale$axis3.call(scale, tickValue)) + globalTransform.y : gridOffset.y + globalTransform.y | ||
} | ||
@@ -610,0 +610,0 @@ }; |
@@ -1,37 +0,2 @@ | ||
import * as React from "react"; | ||
import { | ||
DomainPropType, | ||
EventPropTypeInterface, | ||
OrientationTypes, | ||
VictoryAxisCommonProps, | ||
VictoryCommonProps, | ||
VictorySingleLabelableProps, | ||
} from "victory-core"; | ||
export type VictoryAxisTTargetType = | ||
| "axis" | ||
| "axisLabel" | ||
| "grid" | ||
| "ticks" | ||
| "tickLabels" | ||
| "parent"; | ||
export interface VictoryAxisProps | ||
extends VictoryAxisCommonProps, | ||
VictoryCommonProps, | ||
VictorySingleLabelableProps { | ||
crossAxis?: boolean; | ||
domain?: DomainPropType; | ||
events?: EventPropTypeInterface<VictoryAxisTTargetType, number | string>[]; | ||
fixLabelOverlap?: boolean; | ||
offsetX?: number; | ||
offsetY?: number; | ||
orientation?: OrientationTypes; | ||
} | ||
/** | ||
* VictoryAxis draws an SVG chart axis with React. | ||
* Styles and data can be customized by passing in your own values as properties to the component. | ||
* Data changes are animated with VictoryAnimation. | ||
*/ | ||
export class VictoryAxis extends React.Component<VictoryAxisProps, any> {} | ||
export * from "./victory-axis"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export { default as VictoryAxis } from "./victory-axis"; | ||
export * from "./victory-axis"; | ||
//# sourceMappingURL=index.js.map |
@@ -70,9 +70,9 @@ import _isEmpty from "lodash/isEmpty"; | ||
var VictoryAxis = /*#__PURE__*/function (_React$Component) { | ||
_inherits(VictoryAxis, _React$Component); | ||
var VictoryAxisBase = /*#__PURE__*/function (_React$Component) { | ||
_inherits(VictoryAxisBase, _React$Component); | ||
var _super = _createSuper(VictoryAxis); | ||
var _super = _createSuper(VictoryAxisBase); | ||
function VictoryAxis() { | ||
_classCallCheck(this, VictoryAxis); | ||
function VictoryAxisBase() { | ||
_classCallCheck(this, VictoryAxisBase); | ||
@@ -82,3 +82,3 @@ return _super.apply(this, arguments); | ||
_createClass(VictoryAxis, [{ | ||
_createClass(VictoryAxisBase, [{ | ||
key: "renderLine", | ||
@@ -194,5 +194,5 @@ value: function renderLine(props) { | ||
var sorted = gridAndTicks.sort(function (a, b) { | ||
return isVertical ? getLabelCoord(b) - getLabelCoord(a) //ordinary axis has top-bottom orientation | ||
return isVertical ? getLabelCoord(b) - getLabelCoord(a) // ordinary axis has top-bottom orientation | ||
: getLabelCoord(a) - getLabelCoord(b); | ||
} //ordinary axis has left-right orientation | ||
} // ordinary axis has left-right orientation | ||
); | ||
@@ -228,9 +228,9 @@ return sorted.filter(function (gridAndTick, index) { | ||
return VictoryAxis; | ||
return VictoryAxisBase; | ||
}(React.Component); | ||
VictoryAxis.animationWhitelist = ["style", "domain", "range", "tickCount", "tickValues", "offsetX", "offsetY", "padding", "width", "height"]; | ||
VictoryAxis.displayName = "VictoryAxis"; | ||
VictoryAxis.role = "axis"; | ||
VictoryAxis.defaultTransitions = { | ||
VictoryAxisBase.animationWhitelist = ["style", "domain", "range", "tickCount", "tickValues", "offsetX", "offsetY", "padding", "width", "height"]; | ||
VictoryAxisBase.displayName = "VictoryAxis"; | ||
VictoryAxisBase.role = "axis"; | ||
VictoryAxisBase.defaultTransitions = { | ||
onExit: { | ||
@@ -243,3 +243,3 @@ duration: 500 | ||
}; | ||
VictoryAxis.propTypes = _objectSpread(_objectSpread({}, CommonProps.baseProps), {}, { | ||
VictoryAxisBase.propTypes = _objectSpread(_objectSpread({}, CommonProps.baseProps), {}, { | ||
axisComponent: PropTypes.element, | ||
@@ -286,3 +286,3 @@ axisLabelComponent: PropTypes.element, | ||
}); | ||
VictoryAxis.defaultProps = { | ||
VictoryAxisBase.defaultProps = { | ||
axisComponent: /*#__PURE__*/React.createElement(LineSegment, null), | ||
@@ -301,15 +301,15 @@ axisLabelComponent: /*#__PURE__*/React.createElement(VictoryLabel, null), | ||
}; | ||
VictoryAxis.getDomain = Axis.getDomain; | ||
VictoryAxis.getAxis = Axis.getAxis; | ||
VictoryAxisBase.getDomain = Axis.getDomain; | ||
VictoryAxisBase.getAxis = Axis.getAxis; | ||
VictoryAxis.getStyles = function (props) { | ||
return getStyles(props, fallbackProps.style); | ||
VictoryAxisBase.getStyles = function (props) { | ||
return getStyles(props); | ||
}; | ||
VictoryAxis.getBaseProps = function (props) { | ||
VictoryAxisBase.getBaseProps = function (props) { | ||
return getBaseProps(props, fallbackProps); | ||
}; | ||
VictoryAxis.expectedComponents = ["axisComponent", "axisLabelComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent"]; | ||
export default addEvents(VictoryAxis, options); | ||
VictoryAxisBase.expectedComponents = ["axisComponent", "axisLabelComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent"]; | ||
export var VictoryAxis = addEvents(VictoryAxisBase, options); | ||
//# sourceMappingURL=victory-axis.js.map |
@@ -224,3 +224,3 @@ "use strict"; | ||
/*eslint-disable no-magic-numbers*/ | ||
/* eslint-disable no-magic-numbers*/ | ||
@@ -230,3 +230,3 @@ | ||
return props.label ? fontSize * (isVertical ? 2.3 : 1.6) : 0; | ||
/*eslint-enable no-magic-numbers*/ | ||
/* eslint-enable no-magic-numbers*/ | ||
}; | ||
@@ -504,3 +504,3 @@ | ||
var yAxisScale = axis === "y" ? axisScale : undefined; | ||
var crossAxis = props.crossAxis === false || props.standalone === true ? false : true; | ||
var crossAxis = !(props.crossAxis === false || props.standalone === true); | ||
@@ -574,4 +574,3 @@ var ticks = _victoryCore.Axis.getTicks(props, axisScale, crossAxis); | ||
domain = calculatedValues.domain, | ||
stringTicks = calculatedValues.stringTicks, | ||
name = calculatedValues.name; | ||
stringTicks = calculatedValues.stringTicks; | ||
var otherAxis = axis === "x" ? "y" : "x"; | ||
@@ -610,4 +609,3 @@ var _props = props, | ||
padding: padding, | ||
domain: domain, | ||
name: name | ||
domain: domain | ||
}, sharedProps) | ||
@@ -621,2 +619,4 @@ }; | ||
return ticks.reduce(function (childProps, tickValue, index) { | ||
var _scale$axis, _scale$axis2, _scale$axis3; | ||
var tick = stringTicks ? stringTicks[index] : tickValue; | ||
@@ -632,3 +632,3 @@ var text = tickFormat(tickValue, index, ticks); | ||
position: getTickPosition(styles, orientation, isVertical), | ||
transform: getTickTransform(scale[axis](tickValue), globalTransform, isVertical) | ||
transform: getTickTransform((_scale$axis = scale[axis]) === null || _scale$axis === void 0 ? void 0 : _scale$axis.call(scale, tickValue), globalTransform, isVertical) | ||
}; | ||
@@ -638,4 +638,4 @@ var gridLayout = { | ||
transform: { | ||
x: isVertical ? -gridOffset.x + globalTransform.x : scale[axis](tickValue) + globalTransform.x, | ||
y: isVertical ? scale[axis](tickValue) + globalTransform.y : gridOffset.y + globalTransform.y | ||
x: isVertical ? -gridOffset.x + globalTransform.x : ((_scale$axis2 = scale[axis]) === null || _scale$axis2 === void 0 ? void 0 : _scale$axis2.call(scale, tickValue)) + globalTransform.x, | ||
y: isVertical ? ((_scale$axis3 = scale[axis]) === null || _scale$axis3 === void 0 ? void 0 : _scale$axis3.call(scale, tickValue)) + globalTransform.y : gridOffset.y + globalTransform.y | ||
} | ||
@@ -642,0 +642,0 @@ }; |
@@ -1,37 +0,2 @@ | ||
import * as React from "react"; | ||
import { | ||
DomainPropType, | ||
EventPropTypeInterface, | ||
OrientationTypes, | ||
VictoryAxisCommonProps, | ||
VictoryCommonProps, | ||
VictorySingleLabelableProps, | ||
} from "victory-core"; | ||
export type VictoryAxisTTargetType = | ||
| "axis" | ||
| "axisLabel" | ||
| "grid" | ||
| "ticks" | ||
| "tickLabels" | ||
| "parent"; | ||
export interface VictoryAxisProps | ||
extends VictoryAxisCommonProps, | ||
VictoryCommonProps, | ||
VictorySingleLabelableProps { | ||
crossAxis?: boolean; | ||
domain?: DomainPropType; | ||
events?: EventPropTypeInterface<VictoryAxisTTargetType, number | string>[]; | ||
fixLabelOverlap?: boolean; | ||
offsetX?: number; | ||
offsetY?: number; | ||
orientation?: OrientationTypes; | ||
} | ||
/** | ||
* VictoryAxis draws an SVG chart axis with React. | ||
* Styles and data can be customized by passing in your own values as properties to the component. | ||
* Data changes are animated with VictoryAnimation. | ||
*/ | ||
export class VictoryAxis extends React.Component<VictoryAxisProps, any> {} | ||
export * from "./victory-axis"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,12 +6,15 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "VictoryAxis", { | ||
enumerable: true, | ||
get: function () { | ||
return _victoryAxis.default; | ||
} | ||
}); | ||
var _victoryAxis = _interopRequireDefault(require("./victory-axis")); | ||
var _victoryAxis = require("./victory-axis"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
Object.keys(_victoryAxis).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _victoryAxis[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _victoryAxis[key]; | ||
} | ||
}); | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports.VictoryAxis = void 0; | ||
@@ -85,9 +85,9 @@ var _isEmpty2 = _interopRequireDefault(require("lodash/isEmpty")); | ||
var VictoryAxis = /*#__PURE__*/function (_React$Component) { | ||
_inherits(VictoryAxis, _React$Component); | ||
var VictoryAxisBase = /*#__PURE__*/function (_React$Component) { | ||
_inherits(VictoryAxisBase, _React$Component); | ||
var _super = _createSuper(VictoryAxis); | ||
var _super = _createSuper(VictoryAxisBase); | ||
function VictoryAxis() { | ||
_classCallCheck(this, VictoryAxis); | ||
function VictoryAxisBase() { | ||
_classCallCheck(this, VictoryAxisBase); | ||
@@ -97,3 +97,3 @@ return _super.apply(this, arguments); | ||
_createClass(VictoryAxis, [{ | ||
_createClass(VictoryAxisBase, [{ | ||
key: "renderLine", | ||
@@ -215,5 +215,5 @@ value: function renderLine(props) { | ||
var sorted = gridAndTicks.sort(function (a, b) { | ||
return isVertical ? getLabelCoord(b) - getLabelCoord(a) //ordinary axis has top-bottom orientation | ||
return isVertical ? getLabelCoord(b) - getLabelCoord(a) // ordinary axis has top-bottom orientation | ||
: getLabelCoord(a) - getLabelCoord(b); | ||
} //ordinary axis has left-right orientation | ||
} // ordinary axis has left-right orientation | ||
); | ||
@@ -253,9 +253,9 @@ return sorted.filter(function (gridAndTick, index) { | ||
return VictoryAxis; | ||
return VictoryAxisBase; | ||
}(_react.default.Component); | ||
VictoryAxis.animationWhitelist = ["style", "domain", "range", "tickCount", "tickValues", "offsetX", "offsetY", "padding", "width", "height"]; | ||
VictoryAxis.displayName = "VictoryAxis"; | ||
VictoryAxis.role = "axis"; | ||
VictoryAxis.defaultTransitions = { | ||
VictoryAxisBase.animationWhitelist = ["style", "domain", "range", "tickCount", "tickValues", "offsetX", "offsetY", "padding", "width", "height"]; | ||
VictoryAxisBase.displayName = "VictoryAxis"; | ||
VictoryAxisBase.role = "axis"; | ||
VictoryAxisBase.defaultTransitions = { | ||
onExit: { | ||
@@ -268,3 +268,3 @@ duration: 500 | ||
}; | ||
VictoryAxis.propTypes = _objectSpread(_objectSpread({}, _victoryCore.CommonProps.baseProps), {}, { | ||
VictoryAxisBase.propTypes = _objectSpread(_objectSpread({}, _victoryCore.CommonProps.baseProps), {}, { | ||
axisComponent: _propTypes.default.element, | ||
@@ -311,3 +311,3 @@ axisLabelComponent: _propTypes.default.element, | ||
}); | ||
VictoryAxis.defaultProps = { | ||
VictoryAxisBase.defaultProps = { | ||
axisComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.LineSegment, null), | ||
@@ -326,18 +326,16 @@ axisLabelComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryLabel, null), | ||
}; | ||
VictoryAxis.getDomain = _victoryCore.Axis.getDomain; | ||
VictoryAxis.getAxis = _victoryCore.Axis.getAxis; | ||
VictoryAxisBase.getDomain = _victoryCore.Axis.getDomain; | ||
VictoryAxisBase.getAxis = _victoryCore.Axis.getAxis; | ||
VictoryAxis.getStyles = function (props) { | ||
return (0, _helperMethods.getStyles)(props, fallbackProps.style); | ||
VictoryAxisBase.getStyles = function (props) { | ||
return (0, _helperMethods.getStyles)(props); | ||
}; | ||
VictoryAxis.getBaseProps = function (props) { | ||
VictoryAxisBase.getBaseProps = function (props) { | ||
return (0, _helperMethods.getBaseProps)(props, fallbackProps); | ||
}; | ||
VictoryAxis.expectedComponents = ["axisComponent", "axisLabelComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent"]; | ||
var _default = (0, _victoryCore.addEvents)(VictoryAxis, options); | ||
exports.default = _default; | ||
VictoryAxisBase.expectedComponents = ["axisComponent", "axisLabelComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent"]; | ||
var VictoryAxis = (0, _victoryCore.addEvents)(VictoryAxisBase, options); | ||
exports.VictoryAxis = VictoryAxis; | ||
//# sourceMappingURL=victory-axis.js.map |
250
package.json
{ | ||
"name": "victory-axis", | ||
"version": "36.5.3", | ||
"version": "36.6.0", | ||
"description": "Axis Component for Victory", | ||
@@ -16,2 +16,3 @@ "keywords": [ | ||
"homepage": "https://formidable.com/open-source/victory", | ||
"sideEffects": false, | ||
"main": "lib/index.js", | ||
@@ -25,3 +26,3 @@ "module": "es/index.js", | ||
"prop-types": "^15.8.1", | ||
"victory-core": "^36.5.3" | ||
"victory-core": "^36.6.0" | ||
}, | ||
@@ -31,7 +32,242 @@ "peerDependencies": { | ||
}, | ||
"devDependencies": { | ||
"victory-axis": "*", | ||
"victory-chart": "*" | ||
}, | ||
"wireit": { | ||
"### THESE WIREIT CONFIGS ARE GENERATED ####": {}, | ||
"### DO NOT MODIFY THESE MANUALLY ####": {}, | ||
"build": { | ||
"dependencies": [ | ||
"build:lib", | ||
"build:dist", | ||
"types:create" | ||
] | ||
}, | ||
"build:lib": { | ||
"dependencies": [ | ||
"build:lib:esm", | ||
"build:lib:cjs" | ||
] | ||
}, | ||
"build:lib:esm": { | ||
"command": "nps build:lib:esm", | ||
"files": [ | ||
"src/**", | ||
"!src/**/*.test.*", | ||
"../../.babelrc.build.js" | ||
], | ||
"output": [ | ||
"es/**/*.js", | ||
"es/**/*.js.map" | ||
], | ||
"dependencies": [ | ||
"../victory-core:build:lib:esm" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"build:lib:cjs": { | ||
"command": "nps build:lib:cjs", | ||
"files": [ | ||
"src/**", | ||
"!src/**/*.test.*", | ||
"../../.babelrc.build.js" | ||
], | ||
"output": [ | ||
"lib/**/*.js", | ||
"lib/**/*.js.map" | ||
], | ||
"dependencies": [ | ||
"../victory-core:build:lib:cjs" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"build:dist": { | ||
"dependencies": [ | ||
"build:dist:dev", | ||
"build:dist:min" | ||
] | ||
}, | ||
"build:dist:dev": { | ||
"command": "nps build:dist:dev", | ||
"files": [ | ||
"src/**", | ||
"!src/**/*.test.*", | ||
"../../.babelrc.build.js", | ||
"../../config/webpack.config.js", | ||
"../../config/webpack.config.dev.js" | ||
], | ||
"output": [ | ||
"dist/victory*.js", | ||
"!dist/victory*.min.js*" | ||
], | ||
"dependencies": [ | ||
"../victory-core:build:lib:esm" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"build:dist:min": { | ||
"command": "nps build:dist:min", | ||
"files": [ | ||
"src/**", | ||
"!src/**/*.test.*", | ||
"../../.babelrc.build.js", | ||
"../../config/webpack.config.js" | ||
], | ||
"output": [ | ||
"dist/victory*.min.js*" | ||
], | ||
"dependencies": [ | ||
"../victory-core:build:lib:esm" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"types:check": { | ||
"command": "nps types:pkg:check", | ||
"files": [ | ||
"src/**/*.{ts,tsx}", | ||
"../../tsconfig.base.json", | ||
"tsconfig.json" | ||
], | ||
"dependencies": [ | ||
"types:create", | ||
"../victory-core:types:create", | ||
"../victory-chart:types:create", | ||
"../victory-vendor:types:create", | ||
"../victory-voronoi:types:create" | ||
], | ||
"output": [], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"types:create": { | ||
"command": "nps types:pkg:create", | ||
"files": [ | ||
"src/**", | ||
"!src/**/*.test.*", | ||
"../../tsconfig.base.json", | ||
"tsconfig.build.json" | ||
], | ||
"output": [ | ||
"es/**/*.d.ts", | ||
"es/**/*.d.ts.map", | ||
"lib/**/*.d.ts", | ||
"lib/**/*.d.ts.map" | ||
], | ||
"dependencies": [ | ||
"../victory-core:types:create" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"format": { | ||
"command": "nps format:pkg", | ||
"files": [ | ||
"src/**", | ||
"*.json", | ||
"../../.prettierignore", | ||
"../../.prettierrc.json" | ||
], | ||
"output": [], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"lint": { | ||
"command": "nps lint:pkg", | ||
"files": [ | ||
"src/**", | ||
"../../.eslintignore", | ||
"../../.eslintrc.js" | ||
], | ||
"output": [], | ||
"dependencies": [ | ||
"../victory-core:types:create", | ||
"../victory-chart:types:create", | ||
"../victory-vendor:types:create", | ||
"../victory-voronoi:types:create" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"format:fix": { | ||
"command": "pnpm run format || nps format:pkg:fix", | ||
"files": [ | ||
"src/**", | ||
"*.json", | ||
"../../.prettierignore", | ||
"../../.prettierrc.json" | ||
], | ||
"output": [], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"lint:fix": { | ||
"command": "pnpm run lint || nps lint:pkg:fix", | ||
"files": [ | ||
"src/**", | ||
"../../.eslintignore", | ||
"../../.eslintrc.js" | ||
], | ||
"output": [], | ||
"dependencies": [ | ||
"../victory-core:types:create", | ||
"../victory-chart:types:create", | ||
"../victory-vendor:types:create", | ||
"../victory-voronoi:types:create" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
}, | ||
"jest": { | ||
"command": "nps jest:pkg", | ||
"files": [ | ||
"src/**/*.test.*", | ||
"../../.babelrc.js", | ||
"../../test/jest-config.js", | ||
"../../test/jest-setup.ts" | ||
], | ||
"output": [], | ||
"dependencies": [ | ||
"build:lib:cjs", | ||
"../victory-chart:build:lib:cjs", | ||
"../victory-vendor:build:lib:cjs", | ||
"../victory-voronoi:build:lib:cjs" | ||
], | ||
"packageLocks": [ | ||
"pnpm-lock.yaml" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"version": "yarn run nps build-libs && nps build-dists" | ||
}, | ||
"sideEffects": false, | ||
"gitHead": "55338af3c57eacca5956e53c08a58e47ba41d01e" | ||
} | ||
"### THESE SCRIPTS ARE GENERATED ###": "true", | ||
"### DO NOT MODIFY THESE MANUALLY ###": "true", | ||
"build": "wireit", | ||
"build:lib": "wireit", | ||
"build:lib:esm": "wireit", | ||
"build:lib:cjs": "wireit", | ||
"build:dist": "wireit", | ||
"build:dist:dev": "wireit", | ||
"build:dist:min": "wireit", | ||
"types:check": "wireit", | ||
"types:create": "wireit", | ||
"format": "wireit", | ||
"format:fix": "wireit", | ||
"lint": "wireit", | ||
"lint:fix": "wireit", | ||
"jest": "wireit" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
1310105
21
22501
2
Updatedvictory-core@^36.6.0