@supercharge/collections
Advanced tools
Comparing version 1.9.0 to 1.9.1
# Changelog | ||
## [1.9.1](https://github.com/superchargejs/collections/compare/v1.9.0...v1.9.1) - 2020-01-07 | ||
### Added | ||
- reduce package size by defining published `files` in `package.json` | ||
### Updated | ||
- bump deps | ||
- refine example in readme | ||
### Removed | ||
- `.travis.yml` and moved to GitHub Actions for testing | ||
## [1.9.0](https://github.com/superchargejs/collections/compare/v1.8.0...v1.9.0) - 2019-10-26 | ||
@@ -5,0 +18,0 @@ |
{ | ||
"name": "@supercharge/collections", | ||
"description": "Supercharge collections", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"author": "Marcus Pöhls <marcus@futurestud.io>", | ||
@@ -15,9 +15,9 @@ "bugs": { | ||
"@hapi/lab": "~21.0.0", | ||
"eslint": "~6.5.1", | ||
"eslint": "~6.8.0", | ||
"eslint-config-standard": "~14.1.0", | ||
"eslint-plugin-import": "~2.18.2", | ||
"eslint-plugin-node": "~10.0.0", | ||
"eslint-plugin-import": "~2.19.1", | ||
"eslint-plugin-node": "~11.0.0", | ||
"eslint-plugin-promise": "~4.2.1", | ||
"eslint-plugin-standard": "~4.0.1", | ||
"sinon": "~7.5.0" | ||
"sinon": "~8.0.4" | ||
}, | ||
@@ -27,2 +27,6 @@ "engines": { | ||
}, | ||
"files": [ | ||
"index.js", | ||
"src" | ||
], | ||
"homepage": "https://github.com/superchargejs/collections", | ||
@@ -29,0 +33,0 @@ "keywords": [ |
@@ -22,3 +22,2 @@ <div align="center"> | ||
<p> | ||
<a href="https://travis-ci.com/superchargejs/collections"><img src="https://travis-ci.com/superchargejs/collections.svg?branch=master" alt="Build Status" data-canonical-src="https://travis-ci.com/superchargejs/collections.svg?branch=master" style="max-width:100%;"></a> | ||
<a href="https://www.npmjs.com/package/@supercharge/collections"><img src="https://img.shields.io/npm/v/@supercharge/collections.svg" alt="Latest Version"></a> | ||
@@ -54,3 +53,3 @@ <a href="https://www.npmjs.com/package/@supercharge/collections"><img src="https://img.shields.io/npm/dm/@supercharge/collections.svg" alt="Monthly downloads"></a> | ||
await Collect( | ||
const users = await Collect( | ||
await User.all() | ||
@@ -68,3 +67,3 @@ ) | ||
// result: [ <list of newly-subscribed users> ] | ||
// users = [ <list of newly-subscribed users> ] | ||
``` | ||
@@ -71,0 +70,0 @@ |
@@ -483,7 +483,3 @@ 'use strict' | ||
if (limit) { | ||
return chunk.slice(0, limit) | ||
} | ||
return chunk.slice(0) | ||
return chunk.slice(0, limit) | ||
} | ||
@@ -490,0 +486,0 @@ |
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
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
40313
7
1185
101