ml-array-xy-max-y
Advanced tools
Comparing version 0.0.1-security to 0.2.5
{ | ||
"name": "ml-array-xy-max-y", | ||
"version": "0.0.1-security", | ||
"description": "security holding package", | ||
"repository": "npm/security-holder" | ||
"version": "0.2.5", | ||
"description": "Find the maximum ordinate value in a range of abscissas of a {x:[], y:[]}", | ||
"main": "lib/index.js", | ||
"module": "src/index.js", | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mljs/array-xy.git" | ||
}, | ||
"keywords": [], | ||
"author": "Miguel Asencio", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/mljs/array-xy/issues" | ||
}, | ||
"homepage": "https://github.com/mljs/array-xy/tree/master/packages/array-xy-max-y#readme", | ||
"dependencies": { | ||
"binary-search": "^1.3.2", | ||
"num-sort": "^1.0.0" | ||
}, | ||
"gitHead": "34f9f1559ca636dde9f676ddac73b4aee0dcbefa" | ||
} |
@@ -1,9 +0,40 @@ | ||
# Security holding package | ||
# array-xy-max-y | ||
This package name is not currently in use, but was formerly occupied | ||
by another package. To avoid malicious use, npm is hanging on to the | ||
package name, but loosely, and we'll probably give it to you if you | ||
want it. | ||
[![NPM version][npm-image]][npm-url] | ||
[![npm download][download-image]][download-url] | ||
You may adopt this package by contacting support@npmjs.com and | ||
requesting the name. | ||
Find the maximum ordinate value in a range of abscissas. | ||
## Installation | ||
`$ npm install --save ml-array-xy-max-y` | ||
## Usage | ||
```js | ||
import maxY from 'ml-array-xy-max-y'; | ||
const points = { | ||
x: [1, 2, 3, 4, 5, 6], | ||
y: [10, 2, 8, 4, 5, 20] | ||
}; | ||
const options = { | ||
from: { index: 1 }, | ||
to: { value: 5 } | ||
}; | ||
const result = maxY(points, options); | ||
/* result -> { | ||
index: 2, | ||
value: 8 | ||
} */ | ||
``` | ||
## License | ||
[MIT](./LICENSE) | ||
[npm-image]: https://img.shields.io/npm/v/array-xy-max-y.svg?style=flat-square | ||
[npm-url]: https://www.npmjs.com/package/array-xy-max-y | ||
[download-image]: https://img.shields.io/npm/dm/array-xy-max-y.svg?style=flat-square | ||
[download-url]: https://www.npmjs.com/package/array-xy-max-y |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
9004
7
0
185
0
41
0
0
2
2
+ Addedbinary-search@^1.3.2
+ Addednum-sort@^1.0.0
+ Addedbinary-search@1.3.6(transitive)
+ Addednum-sort@1.0.0(transitive)
+ Addednumber-is-nan@1.0.1(transitive)