victory-pie
Advanced tools
Comparing version 36.5.3 to 36.6.0
@@ -12,5 +12,5 @@ import _isNil from "lodash/isNil"; | ||
return text; | ||
} else { | ||
return "".concat(text); | ||
} | ||
return "".concat(text); | ||
}; | ||
@@ -126,5 +126,5 @@ | ||
return "bottom"; | ||
} else { | ||
return "left"; | ||
} | ||
return "left"; | ||
}; | ||
@@ -131,0 +131,0 @@ |
@@ -21,3 +21,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
/*eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2] }]*/ | ||
/* eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2] }]*/ | ||
import React from "react"; | ||
@@ -24,0 +24,0 @@ import PropTypes from "prop-types"; |
@@ -31,5 +31,5 @@ "use strict"; | ||
return text; | ||
} else { | ||
return "".concat(text); | ||
} | ||
return "".concat(text); | ||
}; | ||
@@ -150,5 +150,5 @@ | ||
return "bottom"; | ||
} else { | ||
return "left"; | ||
} | ||
return "left"; | ||
}; | ||
@@ -155,0 +155,0 @@ |
254
package.json
{ | ||
"name": "victory-pie", | ||
"version": "36.5.3", | ||
"version": "36.6.0", | ||
"description": "Pie Component for Victory", | ||
@@ -16,2 +16,3 @@ "keywords": [ | ||
"homepage": "https://formidable.com/open-source/victory", | ||
"sideEffects": false, | ||
"main": "lib/index.js", | ||
@@ -25,4 +26,4 @@ "module": "es/index.js", | ||
"prop-types": "^15.8.1", | ||
"victory-core": "^36.5.3", | ||
"victory-vendor": "^36.5.1" | ||
"victory-core": "^36.6.0", | ||
"victory-vendor": "^36.6.0" | ||
}, | ||
@@ -32,7 +33,244 @@ "peerDependencies": { | ||
}, | ||
"devDependencies": { | ||
"victory-pie": "*" | ||
}, | ||
"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", | ||
"../victory-vendor: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", | ||
"../victory-vendor: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", | ||
"../victory-vendor: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", | ||
"../victory-vendor: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-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", | ||
"../victory-vendor: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-vendor:build", | ||
"../victory-core: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-vendor:build", | ||
"../victory-core: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-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" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
/*eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2, 45, 90, 135, 180, 225, 270, 315, 360] }]*/ | ||
/* eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2, 45, 90, 135, 180, 225, 270, 315, 360] }]*/ | ||
import { assign, defaults, isFunction, isPlainObject, isNil } from "lodash"; | ||
@@ -10,5 +10,4 @@ import * as d3Shape from "victory-vendor/d3-shape"; | ||
return text; | ||
} else { | ||
return `${text}`; | ||
} | ||
return `${text}`; | ||
}; | ||
@@ -132,5 +131,4 @@ | ||
return "bottom"; | ||
} else { | ||
return "left"; | ||
} | ||
return "left"; | ||
}; | ||
@@ -137,0 +135,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2] }]*/ | ||
/* eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2] }]*/ | ||
import React from "react"; | ||
@@ -3,0 +3,0 @@ import PropTypes from "prop-types"; |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1358418
21
23159
3
1
Updatedvictory-core@^36.6.0
Updatedvictory-vendor@^36.6.0