@manypkg/cli
Advanced tools
Comparing version 0.21.0 to 0.21.1
# @manypkg/cli | ||
## 0.21.1 | ||
### Patch Changes | ||
- [#181](https://github.com/Thinkmill/manypkg/pull/181) [`1e31ced`](https://github.com/Thinkmill/manypkg/commit/1e31cedbbe09c15cbf38c43c8c286f6af62ef18c) Thanks [@fbartho](https://github.com/fbartho)! - Updated `package-json` dependency. | ||
## 0.21.0 | ||
@@ -4,0 +10,0 @@ |
@@ -1,3 +0,2 @@ | ||
import getPackageJson from "package-json"; | ||
export declare function upgradeDependency([name, tag]: string[]): Promise<void>; | ||
export declare function getPackageInfo(pkgName: string): Promise<getPackageJson.AbbreviatedMetadata>; | ||
export declare function getPackageInfo(pkgName: string): Promise<import("package-json").AbbreviatedMetadata>; |
@@ -15,3 +15,2 @@ 'use strict'; | ||
var detectIndent = require('detect-indent'); | ||
var getPackageJson = require('package-json'); | ||
var pLimit = require('p-limit'); | ||
@@ -49,3 +48,2 @@ | ||
var detectIndent__default = /*#__PURE__*/_interopDefault(detectIndent); | ||
var getPackageJson__default = /*#__PURE__*/_interopDefault(getPackageJson); | ||
var pLimit__default = /*#__PURE__*/_interopDefault(pLimit); | ||
@@ -637,6 +635,6 @@ | ||
return npmRequestLimit(async () => { | ||
let result = await getPackageJson__default["default"](pkgName, { | ||
const getPackageJson = (await import('package-json')).default; | ||
return getPackageJson(pkgName, { | ||
allVersions: true | ||
}); | ||
return result; | ||
}); | ||
@@ -643,0 +641,0 @@ } |
@@ -15,3 +15,2 @@ 'use strict'; | ||
var detectIndent = require('detect-indent'); | ||
var getPackageJson = require('package-json'); | ||
var pLimit = require('p-limit'); | ||
@@ -49,3 +48,2 @@ | ||
var detectIndent__default = /*#__PURE__*/_interopDefault(detectIndent); | ||
var getPackageJson__default = /*#__PURE__*/_interopDefault(getPackageJson); | ||
var pLimit__default = /*#__PURE__*/_interopDefault(pLimit); | ||
@@ -637,6 +635,6 @@ | ||
return npmRequestLimit(async () => { | ||
let result = await getPackageJson__default["default"](pkgName, { | ||
const getPackageJson = (await import('package-json')).default; | ||
return getPackageJson(pkgName, { | ||
allVersions: true | ||
}); | ||
return result; | ||
}); | ||
@@ -643,0 +641,0 @@ } |
@@ -14,3 +14,2 @@ import chalk from 'chalk'; | ||
import detectIndent from 'detect-indent'; | ||
import getPackageJson from 'package-json'; | ||
import pLimit from 'p-limit'; | ||
@@ -602,6 +601,6 @@ | ||
return npmRequestLimit(async () => { | ||
let result = await getPackageJson(pkgName, { | ||
const getPackageJson = (await import('package-json')).default; | ||
return getPackageJson(pkgName, { | ||
allVersions: true | ||
}); | ||
return result; | ||
}); | ||
@@ -608,0 +607,0 @@ } |
{ | ||
"name": "@manypkg/cli", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"repository": { | ||
@@ -23,3 +23,3 @@ "type": "git", | ||
"p-limit": "^2.2.1", | ||
"package-json": "^6.5.0", | ||
"package-json": "^8.1.0", | ||
"parse-github-url": "^1.0.2", | ||
@@ -26,0 +26,0 @@ "sembear": "^0.5.0", |
@@ -1,5 +0,4 @@ | ||
import { getPackages, Packages } from "@manypkg/get-packages"; | ||
import { getPackages } from "@manypkg/get-packages"; | ||
import semver from "semver"; | ||
import { DEPENDENCY_TYPES, versionRangeToRangeType } from "./checks/utils"; | ||
import getPackageJson from "package-json"; | ||
import pLimit from "p-limit"; | ||
@@ -102,8 +101,8 @@ | ||
return npmRequestLimit(async () => { | ||
let result = await getPackageJson(pkgName, { | ||
const getPackageJson = (await import("package-json")).default; | ||
return getPackageJson(pkgName, { | ||
allVersions: true, | ||
}); | ||
return result; | ||
}); | ||
} |
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
175842
4428
+ Added@pnpm/config.env-replace@1.1.0(transitive)
+ Added@pnpm/network.ca-file@1.0.2(transitive)
+ Added@pnpm/npm-conf@2.3.1(transitive)
+ Added@sindresorhus/is@5.6.0(transitive)
+ Added@szmarczak/http-timer@5.0.1(transitive)
+ Added@types/http-cache-semantics@4.0.4(transitive)
+ Addedcacheable-lookup@7.0.0(transitive)
+ Addedcacheable-request@10.2.14(transitive)
+ Addedconfig-chain@1.1.13(transitive)
+ Addeddecompress-response@6.0.0(transitive)
+ Addeddefer-to-connect@2.0.1(transitive)
+ Addedform-data-encoder@2.1.4(transitive)
+ Addedget-stream@6.0.1(transitive)
+ Addedgot@12.6.1(transitive)
+ Addedgraceful-fs@4.2.10(transitive)
+ Addedhttp2-wrapper@2.2.1(transitive)
+ Addedjson-buffer@3.0.1(transitive)
+ Addedkeyv@4.5.4(transitive)
+ Addedlowercase-keys@3.0.0(transitive)
+ Addedmimic-response@3.1.04.0.0(transitive)
+ Addednormalize-url@8.0.1(transitive)
+ Addedp-cancelable@3.0.0(transitive)
+ Addedpackage-json@8.1.1(transitive)
+ Addedproto-list@1.2.4(transitive)
+ Addedquick-lru@5.1.1(transitive)
+ Addedregistry-auth-token@5.0.2(transitive)
+ Addedregistry-url@6.0.1(transitive)
+ Addedresolve-alpn@1.2.1(transitive)
+ Addedresponselike@3.0.0(transitive)
+ Addedsemver@7.6.3(transitive)
- Removed@sindresorhus/is@0.14.0(transitive)
- Removed@szmarczak/http-timer@1.1.2(transitive)
- Removedcacheable-request@6.1.0(transitive)
- Removedclone-response@1.0.3(transitive)
- Removeddecompress-response@3.3.0(transitive)
- Removeddefer-to-connect@1.1.3(transitive)
- Removedduplexer3@0.1.5(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedget-stream@4.1.05.2.0(transitive)
- Removedgot@9.6.0(transitive)
- Removedjson-buffer@3.0.0(transitive)
- Removedkeyv@3.1.0(transitive)
- Removedlowercase-keys@1.0.12.0.0(transitive)
- Removedmimic-response@1.0.1(transitive)
- Removednormalize-url@4.5.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-cancelable@1.1.0(transitive)
- Removedpackage-json@6.5.0(transitive)
- Removedprepend-http@2.0.0(transitive)
- Removedpump@3.0.2(transitive)
- Removedregistry-auth-token@4.2.2(transitive)
- Removedregistry-url@5.1.0(transitive)
- Removedresponselike@1.0.2(transitive)
- Removedto-readable-stream@1.0.0(transitive)
- Removedurl-parse-lax@3.0.0(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedpackage-json@^8.1.0