Comparing version 2.0.1 to 3.0.0
declare const partOf: (subset: any, superset: any) => boolean; | ||
export default partOf; | ||
export { partOf }; |
@@ -21,2 +21,2 @@ "use strict"; | ||
}; | ||
exports.default = partOf; | ||
exports.partOf = partOf; |
@@ -24,2 +24,2 @@ const partOf = function (subset: any, superset: any): boolean { | ||
export default partOf; | ||
export { partOf }; |
{ | ||
"name": "partof", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"description": "partof verifies whether one object is part of an other.", | ||
@@ -19,4 +19,4 @@ "contributors": [ | ||
"devDependencies": { | ||
"assertthat": "4.0.1", | ||
"roboter": "7.1.5" | ||
"assertthat": "5.0.1", | ||
"roboter": "9.2.0" | ||
}, | ||
@@ -23,0 +23,0 @@ "repository": { |
@@ -26,3 +26,3 @@ # partof | ||
```javascript | ||
const partOf = require('partof').default; | ||
const { partOf } = require('partof'); | ||
``` | ||
@@ -33,3 +33,3 @@ | ||
```typescript | ||
import partOf from 'partof'; | ||
import { partOf } from 'partof'; | ||
``` | ||
@@ -36,0 +36,0 @@ |
5382