get-port-please
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -5,2 +5,13 @@ # Changelog | ||
## [2.0.0](https://github.com/nuxt-contrib/get-port-please/compare/v1.1.0...v2.0.0) (2020-12-04) | ||
### ⚠ BREAKING CHANGES | ||
* use named exports | ||
### Features | ||
* use named exports ([37e5aa2](https://github.com/nuxt-contrib/get-port-please/commit/37e5aa2a485165c325f674951cef324889318304)) | ||
## [1.1.0](https://github.com/nuxt-contrib/get-port-please/compare/v1.0.0...v1.1.0) (2020-11-16) | ||
@@ -7,0 +18,0 @@ |
@@ -11,2 +11,2 @@ interface GetPortOptions { | ||
export default getPort; | ||
export { GetPortOptions, getPort }; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
const net = require('net'); | ||
@@ -59,2 +61,2 @@ const fsMemo = require('fs-memo'); | ||
module.exports = getPort; | ||
exports.getPort = getPort; |
{ | ||
"name": "get-port-please", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Get an available TCP port to listen", | ||
@@ -5,0 +5,0 @@ "repository": "nuxt-contrib/get-port-please", |
@@ -19,5 +19,5 @@ # get-port-please | ||
```js | ||
const getPort = require('get-port-please') | ||
const { getPort } = require('get-port-please') | ||
// or | ||
import getPort from 'get-port-please' | ||
import { getPort } from 'get-port-please' | ||
``` | ||
@@ -24,0 +24,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6811
67
1