@eik/common
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -56,2 +56,3 @@ /* eslint-disable no-await-in-loop */ | ||
// express | ||
res.set('Access-Control-Allow-Origin', '*'); | ||
res.set('content-type', contentType); | ||
@@ -61,2 +62,3 @@ fs.createReadStream(fileOnDisk).pipe(res); | ||
// fastify | ||
res.header('Access-Control-Allow-Origin', '*'); | ||
res.type(contentType); | ||
@@ -63,0 +65,0 @@ res.send(fs.createReadStream(fileOnDisk)); |
{ | ||
"name": "@eik/common", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Common utilities for Eik modules", | ||
@@ -38,17 +38,17 @@ "main": "lib/index.js", | ||
"@semantic-release/git": "9.0.0", | ||
"@semantic-release/github": "7.1.1", | ||
"@semantic-release/npm": "7.0.6", | ||
"@semantic-release/github": "7.2.0", | ||
"@semantic-release/npm": "7.0.9", | ||
"@semantic-release/release-notes-generator": "9.0.1", | ||
"eslint": "7.9.0", | ||
"eslint-config-airbnb-base": "14.2.0", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-import": "2.22.0", | ||
"eslint-plugin-prettier": "3.1.4", | ||
"express": "^4.17.1", | ||
"fastify": "^3.4.1", | ||
"prettier": "2.1.2", | ||
"semantic-release": "17.1.2", | ||
"stoppable": "^1.1.0", | ||
"tap": "14.10.8" | ||
"eslint": "7.15.0", | ||
"eslint-config-airbnb-base": "14.2.1", | ||
"eslint-config-prettier": "6.15.0", | ||
"eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-prettier": "3.3.0", | ||
"express": "4.17.1", | ||
"fastify": "3.9.1", | ||
"prettier": "2.2.1", | ||
"semantic-release": "17.3.0", | ||
"stoppable": "1.1.0", | ||
"tap": "14.11.0" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20888
444
1