Skip to content

Commit

Permalink
Fix missing package metadata (regression in 6.1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn committed Apr 8, 2023
1 parent f37bf1f commit a709102
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 6.1.1 - 2023-04-08

### Fixed

- Fixed missing package metadata

## 6.1.0 - 2023-04-08

### Changed
Expand Down
5 changes: 5 additions & 0 deletions build/build-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ async function buildPackageJson({

const packageJson = {
name: "helmet",
description: "help secure Express/Connect apps with various HTTP headers",
version: devPackageJson.version,
author: "Adam Baldwin <adam@npmjs.com> (https://evilpacket.net)",
contributors: ["Evan Hahn <me@evanhahn.com> (https://evanhahn.com)"],
Expand All @@ -197,6 +198,10 @@ async function buildPackageJson({
url: "git://github.com/helmetjs/helmet.git",
},
license: "MIT",
keywords: ["express", "security", "headers", "backend"],
engines: {
node: ">=14.0.0",
},
exports: {
".": {
...(esm
Expand Down
17 changes: 1 addition & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
{
"name": "helmet",
"author": "Adam Baldwin <adam@npmjs.com> (https://evilpacket.net)",
"contributors": [
"Evan Hahn <me@evanhahn.com> (https://evanhahn.com)",
"Ameen Abdeen <ameen.abdeen.se@gmail.com>"
],
"description": "help secure Express/Connect apps with various HTTP headers",
"private": true,
"version": "6.1.0",
"keywords": [
"express",
"security",
"headers",
"backend"
],
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.0",
"@types/connect": "^3.4.35",
Expand Down

0 comments on commit a709102

Please sign in to comment.