Comparing version 0.3.5 to 1.0.0
@@ -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
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
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
91691
1
11
2
+ Addedufo@1.5.4(transitive)
- Removedufo@0.8.6(transitive)
Updateddefu@^6.1.1
Updatedufo@^1.0.0