New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hong4rc/powered-by

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hong4rc/powered-by - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

README.md

2

dist/index.d.ts
import { RequestHandler } from 'express';
export declare const POWERED_BY = "X-Powered-By";
export declare const POWERED_BY = "x-powered-by";
export declare const poweredBy: (value?: string | undefined) => RequestHandler;
"use strict";
exports.__esModule = true;
exports.poweredBy = exports.POWERED_BY = void 0;
exports.POWERED_BY = 'X-Powered-By';
exports.POWERED_BY = 'x-powered-by';
var poweredBy = function (value) { return function (_request, response, next) {

@@ -6,0 +6,0 @@ if (value && typeof value === 'string') {

{
"name": "@hong4rc/powered-by",
"version": "0.0.1",
"version": "0.0.2",
"description": "Express middleware custom `X-Powered-X`",

@@ -10,5 +10,6 @@ "main": "dist/index.js",

"scripts": {
"test": "eslint src/**/*.ts",
"test": "jest",
"fix": "eslint src/**/*.ts --fix",
"prepack": "npm test && tsc",
"prepack": "tsc",
"coverage": "codecov",
"build": "tsc"

@@ -28,4 +29,7 @@ },

"@types/express": "^4.17.11",
"@types/jest": "^26.0.23",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"codecov": "^3.8.2",
"eslint": "^7.26.0",

@@ -37,2 +41,6 @@ "eslint-config-airbnb-base": "^14.2.1",

"express": "^4.17.1",
"jest": "^26.6.3",
"supertest": "^6.1.3",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"

@@ -39,0 +47,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc