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

comparejs

Package Overview
Dependencies
Maintainers
6
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comparejs - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

build/lib/compare.d.ts

15

package.json
{
"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.
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