Socket
Socket
Sign inDemoInstall

listhen

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

listhen - npm Package Compare versions

Comparing version 0.3.5 to 1.0.0

8

dist/index.d.ts

@@ -1,3 +0,3 @@

import { Server, RequestListener } from 'http';
import { Server as Server$1 } from 'https';
import { Server, RequestListener } from 'node:http';
import { Server as Server$1 } from 'node:https';
import { GetPortInput } from 'get-port-please';

@@ -40,6 +40,6 @@

open: () => Promise<void>;
showURL: (options?: Pick<ListenOptions, 'baseURL'>) => void;
showURL: (options?: Pick<ListenOptions, "baseURL">) => void;
}
declare function listen(handle: RequestListener, opts?: Partial<ListenOptions>): Promise<Listener>;
declare function listen(handle: RequestListener, options_?: Partial<ListenOptions>): Promise<Listener>;
export { Certificate, HTTPSOptions, ListenOptions, Listener, ShowURLOptions, listen };
{
"name": "listhen",
"version": "0.3.5",
"version": "1.0.0",
"description": "",

@@ -10,3 +10,4 @@ "repository": "unjs/listhen",

"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}

@@ -20,6 +21,14 @@ },

],
"scripts": {
"build": "unbuild",
"dev": "vitest",
"lint": "eslint --ext .ts .",
"play": "jiti test/fixture/app",
"release": "pnpm test && pnpm build && standard-version && git push --follow-tags && pnpm publish",
"test": "pnpm lint && vitest run --coverage"
},
"dependencies": {
"clipboardy": "^3.0.0",
"colorette": "^2.0.19",
"defu": "^6.1.0",
"defu": "^6.1.1",
"get-port-please": "^2.6.1",

@@ -29,10 +38,10 @@ "http-shutdown": "^1.2.2",

"node-forge": "^1.3.1",
"ufo": "^0.8.6"
"ufo": "^1.0.0"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^11.0.0",
"@types/node": "^18.11.9",
"@types/node-forge": "^1.3.0",
"@vitest/coverage-c8": "^0.24.5",
"eslint": "^8.26.0",
"@vitest/coverage-c8": "^0.25.2",
"eslint": "^8.27.0",
"eslint-config-unjs": "^0.0.2",
"jiti": "^1.16.0",

@@ -42,13 +51,5 @@ "standard-version": "^9.5.0",

"unbuild": "^0.9.4",
"vitest": "^0.24.5"
"vitest": "^0.25.2"
},
"packageManager": "pnpm@7.14.1",
"scripts": {
"build": "unbuild",
"dev": "vitest",
"lint": "eslint --ext .ts .",
"play": "jiti test/fixture/app",
"release": "pnpm test && pnpm build && standard-version && git push --follow-tags && pnpm publish",
"test": "pnpm lint && vitest run --coverage"
}
}
"packageManager": "pnpm@7.14.1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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