Comparing version 2.1.0 to 3.0.0
{ | ||
"name": "comparejs", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"description": "comparejs implements JavaScript's comparison operators the way you would expect them to be.", | ||
@@ -21,11 +21,16 @@ "contributors": [ | ||
"email": "jan-hendrik.grundhoefer@thenativeweb.io" | ||
}, | ||
{ | ||
"name": "Hannes Leutloff", | ||
"email": "hannes.leutloff@thenativeweb.io" | ||
} | ||
], | ||
"main": "lib/compare.js", | ||
"main": "build/lib/compare.js", | ||
"types": "build/lib/compare.d.ts", | ||
"dependencies": { | ||
"is-subset-of": "1.0.1", | ||
"typedescriptor": "1.0.0" | ||
"is-subset-of": "2.0.0", | ||
"typedescriptor": "2.0.0" | ||
}, | ||
"devDependencies": { | ||
"roboter": "6.1.0", | ||
"roboter": "7.1.0", | ||
"should": "13.2.3" | ||
@@ -32,0 +37,0 @@ }, |
@@ -5,2 +5,12 @@ # comparejs | ||
## Status | ||
| Category | Status | | ||
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| Version | [![npm](https://img.shields.io/npm/v/comparejs)](https://www.npmjs.com/package/comparejs) | | ||
| Dependencies | ![David](https://img.shields.io/david/thenativeweb/comparejs) | | ||
| Dev dependencies | ![David](https://img.shields.io/david/dev/thenativeweb/comparejs) | | ||
| Build | [![CircleCI](https://img.shields.io/circleci/build/github/thenativeweb/comparejs)](https://circleci.com/gh/thenativeweb/comparejs/tree/master) | | ||
| License | ![GitHub](https://img.shields.io/github/license/thenativeweb/comparejs) | | ||
## Installation | ||
@@ -17,5 +27,11 @@ | ||
```javascript | ||
const compare = require('comparejs'); | ||
const compare = require('comparejs').default; | ||
``` | ||
If you use TypeScript, use the following code instead: | ||
```typescript | ||
import compare from 'comparejs'; | ||
``` | ||
### Features | ||
@@ -70,12 +86,1 @@ | ||
``` | ||
## License | ||
The MIT License (MIT) | ||
Copyright (c) 2012-2019 the native web. | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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
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
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
84
2
21053
11
402
+ Addedis-subset-of@2.0.0(transitive)
+ Addedtypedescriptor@2.0.0(transitive)
- Removed@babel/runtime@7.3.1(transitive)
- Removedis-subset-of@1.0.1(transitive)
- Removedregenerator-runtime@0.12.1(transitive)
- Removedtypedescriptor@1.0.0(transitive)
Updatedis-subset-of@2.0.0
Updatedtypedescriptor@2.0.0