content-disposition
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -0,1 +1,6 @@ | ||
0.5.4 / 2021-12-10 | ||
================== | ||
* deps: safe-buffer@5.2.1 | ||
0.5.3 / 2018-12-17 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -258,3 +258,3 @@ /*! | ||
/** | ||
* Decode a RFC 6987 field value (gracefully). | ||
* Decode a RFC 5987 field value (gracefully). | ||
* | ||
@@ -261,0 +261,0 @@ * @param {string} str |
{ | ||
"name": "content-disposition", | ||
"description": "Create and parse Content-Disposition header", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>", | ||
@@ -15,15 +15,15 @@ "license": "MIT", | ||
"dependencies": { | ||
"safe-buffer": "5.1.2" | ||
"safe-buffer": "5.2.1" | ||
}, | ||
"devDependencies": { | ||
"deep-equal": "1.0.1", | ||
"eslint": "5.10.0", | ||
"eslint-config-standard": "12.0.0", | ||
"eslint-plugin-import": "2.14.0", | ||
"eslint-plugin-markdown": "1.0.0-rc.1", | ||
"eslint-plugin-node": "7.0.1", | ||
"eslint-plugin-promise": "4.0.1", | ||
"eslint-plugin-standard": "4.0.0", | ||
"eslint": "7.32.0", | ||
"eslint-config-standard": "13.0.1", | ||
"eslint-plugin-import": "2.25.3", | ||
"eslint-plugin-markdown": "2.2.1", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "5.2.0", | ||
"eslint-plugin-standard": "4.1.0", | ||
"istanbul": "0.4.5", | ||
"mocha": "5.2.0" | ||
"mocha": "9.1.3" | ||
}, | ||
@@ -40,7 +40,7 @@ "files": [ | ||
"scripts": { | ||
"lint": "eslint --plugin markdown --ext js,md .", | ||
"lint": "eslint .", | ||
"test": "mocha --reporter spec --bail --check-leaks test/", | ||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", | ||
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" | ||
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", | ||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" | ||
} | ||
} |
@@ -6,3 +6,3 @@ # content-disposition | ||
[![Node.js Version][node-version-image]][node-version-url] | ||
[![Build Status][travis-image]][travis-url] | ||
[![Build Status][github-actions-ci-image]][github-actions-ci-url] | ||
[![Test Coverage][coveralls-image]][coveralls-url] | ||
@@ -20,4 +20,2 @@ | ||
<!-- eslint-disable no-unused-vars --> | ||
```js | ||
@@ -33,4 +31,2 @@ var contentDisposition = require('content-disposition') | ||
<!-- eslint-disable no-undef --> | ||
```js | ||
@@ -76,4 +72,2 @@ res.setHeader('Content-Disposition', contentDisposition('∫ maths.pdf')) | ||
<!-- eslint-disable no-undef, no-unused-vars --> | ||
```js | ||
@@ -147,4 +141,2 @@ var disposition = contentDisposition.parse('attachment; filename="EURO rates.txt"; filename*=UTF-8\'\'%e2%82%ac%20rates.txt') | ||
[node-version-url]: https://nodejs.org/en/download | ||
[travis-image]: https://img.shields.io/travis/jshttp/content-disposition.svg | ||
[travis-url]: https://travis-ci.org/jshttp/content-disposition | ||
[coveralls-image]: https://img.shields.io/coveralls/jshttp/content-disposition.svg | ||
@@ -154,1 +146,3 @@ [coveralls-url]: https://coveralls.io/r/jshttp/content-disposition?branch=master | ||
[downloads-url]: https://npmjs.org/package/content-disposition | ||
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/jshttp/content-disposition/ci/master?label=ci | ||
[github-actions-ci-url]: https://github.com/jshttp/content-disposition?query=workflow%3Aci |
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
19113
143
+ Addedsafe-buffer@5.2.1(transitive)
- Removedsafe-buffer@5.1.2(transitive)
Updatedsafe-buffer@5.2.1