Comparing version 3.0.1-0 to 3.1.0-0
@@ -6,6 +6,5 @@ 'use strict' | ||
const isJSON = require('koa-is-json') | ||
const Bluebird = require('bluebird') | ||
const bytes = require('bytes') | ||
const compress = Bluebird.promisify(require('zlib').gzip) | ||
const compress = require('util.promisify')(require('zlib').gzip) | ||
@@ -12,0 +11,0 @@ // methods we cache |
{ | ||
"name": "koa-cash", | ||
"description": "HTTP response caching for Koa", | ||
"version": "3.0.1-0", | ||
"version": "3.1.0-0", | ||
"publishConfig": { | ||
@@ -9,7 +9,7 @@ "tag": "next" | ||
"dependencies": { | ||
"bluebird": "^3.1.1", | ||
"bytes": "^2.1.0", | ||
"compressible": "^2.0.0", | ||
"koa-is-json": "^1.0.0", | ||
"stream-to-array": "^2.0.0" | ||
"stream-to-array": "^2.0.0", | ||
"util.promisify": "^1.0.0" | ||
}, | ||
@@ -21,3 +21,3 @@ "devDependencies": { | ||
"mocha": "^3.1.2", | ||
"standard": "^8.6.0", | ||
"standard": "^9.0.0", | ||
"supertest": "^1.1.0" | ||
@@ -24,0 +24,0 @@ }, |
@@ -130,8 +130,8 @@ # Koa Cash | ||
[github-url]: https://github.com/koajs/cash/tags | ||
[travis-image]: https://img.shields.io/travis/koajs/cash.svg?style=flat-square | ||
[travis-image]: https://img.shields.io/travis/koajs/cash/next.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/koajs/cash | ||
[coveralls-image]: https://img.shields.io/coveralls/koajs/cash.svg?style=flat-square | ||
[coveralls-url]: https://coveralls.io/r/koajs/cash?branch=master | ||
[david-image]: http://img.shields.io/david/koajs/cash.svg?style=flat-square | ||
[david-url]: https://david-dm.org/koajs/cash | ||
[coveralls-image]: https://img.shields.io/coveralls/koajs/cash/next.svg?style=flat-square | ||
[coveralls-url]: https://coveralls.io/r/koajs/cash?branch=next | ||
[david-image]: http://img.shields.io/david/koajs/cash/next.svg?style=flat-square | ||
[david-url]: https://david-dm.org/koajs/cash/next | ||
[license-image]: http://img.shields.io/npm/l/koa-cash.svg?style=flat-square | ||
@@ -138,0 +138,0 @@ [license-url]: LICENSE |
Sorry, the diff of this file is not supported yet
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
14590
7
212
0
+ Addedutil.promisify@^1.0.0
+ Addedarray-buffer-byte-length@1.0.2(transitive)
+ Addedarray.prototype.reduce@1.0.7(transitive)
+ Addedarraybuffer.prototype.slice@1.0.4(transitive)
+ Addedasync-function@1.0.0(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addeddata-view-buffer@1.0.2(transitive)
+ Addeddata-view-byte-length@1.0.2(transitive)
+ Addeddata-view-byte-offset@1.0.1(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-abstract@1.23.9(transitive)
+ Addedes-array-method-boxes-properly@1.0.0(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.1.1(transitive)
+ Addedes-set-tostringtag@2.1.0(transitive)
+ Addedes-to-primitive@1.3.0(transitive)
+ Addedfor-each@0.3.4(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedfunction.prototype.name@1.1.8(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedget-symbol-description@1.1.0(transitive)
+ Addedglobalthis@1.0.4(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-bigints@1.1.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinternal-slot@1.1.0(transitive)
+ Addedis-array-buffer@3.0.5(transitive)
+ Addedis-async-function@2.1.1(transitive)
+ Addedis-bigint@1.1.0(transitive)
+ Addedis-boolean-object@1.2.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-data-view@1.0.2(transitive)
+ Addedis-date-object@1.1.0(transitive)
+ Addedis-finalizationregistry@1.1.1(transitive)
+ Addedis-generator-function@1.1.0(transitive)
+ Addedis-map@2.0.3(transitive)
+ Addedis-number-object@1.1.1(transitive)
+ Addedis-regex@1.2.1(transitive)
+ Addedis-set@2.0.3(transitive)
+ Addedis-shared-array-buffer@1.0.4(transitive)
+ Addedis-string@1.1.1(transitive)
+ Addedis-symbol@1.1.1(transitive)
+ Addedis-typed-array@1.1.15(transitive)
+ Addedis-weakmap@2.0.2(transitive)
+ Addedis-weakref@1.1.0(transitive)
+ Addedis-weakset@2.0.4(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.assign@4.1.7(transitive)
+ Addedobject.getownpropertydescriptors@2.1.8(transitive)
+ Addedown-keys@1.0.1(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedreflect.getprototypeof@1.0.10(transitive)
+ Addedregexp.prototype.flags@1.5.4(transitive)
+ Addedsafe-array-concat@1.1.3(transitive)
+ Addedsafe-push-apply@1.0.0(transitive)
+ Addedsafe-regex-test@1.1.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedset-function-name@2.0.2(transitive)
+ Addedset-proto@1.0.0(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)
+ Addedstring.prototype.trim@1.2.10(transitive)
+ Addedstring.prototype.trimend@1.0.9(transitive)
+ Addedstring.prototype.trimstart@1.0.8(transitive)
+ Addedtyped-array-buffer@1.0.3(transitive)
+ Addedtyped-array-byte-length@1.0.3(transitive)
+ Addedtyped-array-byte-offset@1.0.4(transitive)
+ Addedtyped-array-length@1.0.7(transitive)
+ Addedunbox-primitive@1.1.0(transitive)
+ Addedutil.promisify@1.1.3(transitive)
+ Addedwhich-boxed-primitive@1.1.1(transitive)
+ Addedwhich-builtin-type@1.2.1(transitive)
+ Addedwhich-collection@1.0.2(transitive)
+ Addedwhich-typed-array@1.1.18(transitive)
- Removedbluebird@^3.1.1
- Removedbluebird@3.7.2(transitive)