Skip to content

Commit 4586bd2

Browse files
chore(deps-dev): bump read-pkg from 6.0.0 to 7.0.0 (#331)
* chore(deps-dev): bump read-pkg from 6.0.0 to 7.0.0 Bumps [read-pkg](https://github.com/sindresorhus/read-pkg) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/sindresorhus/read-pkg/releases) - [Commits](sindresorhus/read-pkg@v6.0.0...v7.0.0) --- updated-dependencies: - dependency-name: read-pkg dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: update usage Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emmanuel Chambon <[email protected]>
1 parent 761ecc0 commit 4586bd2

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"lerna": "4.0.0",
3131
"lint-staged": "^11.0.0",
3232
"prettier": "^2.2.1",
33-
"read-pkg": "^6.0.0",
33+
"read-pkg": "^7.0.0",
3434
"rollup": "^2.36.1",
3535
"rollup-plugin-dts": "^3.0.2",
3636
"rollup-plugin-visualizer": "^5.5.0",

rollup.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { babel } from '@rollup/plugin-babel'
22
import { nodeResolve } from '@rollup/plugin-node-resolve'
33
import builtins from 'builtin-modules'
4-
import { readPackageAsync } from 'read-pkg'
4+
import { readPackage } from 'read-pkg'
55
import dts from 'rollup-plugin-dts'
66
import { visualizer } from 'rollup-plugin-visualizer'
77

@@ -63,7 +63,7 @@ const getConfig = (pkg, isBrowser = false) => {
6363
}
6464

6565
export default async () => {
66-
const pkg = await readPackageAsync()
66+
const pkg = await readPackage()
6767

6868
const doesAlsoTargetBrowser = 'browser' in pkg
6969

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,10 +2523,10 @@
25232523
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.7.tgz#8ea1e8f8eae2430cf440564b98c6dfce1ec5945d"
25242524
integrity sha512-Zw1vhUSQZYw+7u5dAwNbIA9TuTotpzY/OF7sJM9FqPOF3SPjKnxrjoTktXDZgUjybf4cWVBP7O8wvKdSaGHweg==
25252525

2526-
"@types/normalize-package-data@^2.4.0":
2527-
version "2.4.0"
2528-
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
2529-
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
2526+
"@types/normalize-package-data@^2.4.0", "@types/normalize-package-data@^2.4.1":
2527+
version "2.4.1"
2528+
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
2529+
integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==
25302530

25312531
"@types/parse-json@^4.0.0":
25322532
version "4.0.0"
@@ -7465,15 +7465,15 @@ read-pkg@^5.2.0:
74657465
parse-json "^5.0.0"
74667466
type-fest "^0.6.0"
74677467

7468-
read-pkg@^6.0.0:
7469-
version "6.0.0"
7470-
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-6.0.0.tgz#a67a7d6a1c2b0c3cd6aa2ea521f40c458a4a504c"
7471-
integrity sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==
7468+
read-pkg@^7.0.0:
7469+
version "7.0.0"
7470+
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-7.0.0.tgz#7009094a9cd58c7efc325d31f1f6cfce1928fa00"
7471+
integrity sha512-oG2cKegOo2gjy/hrAM+KFHD9IqKdQvWcpWBBxuHbaucziM9PY45EuF6YbenLF7tL9ekXgB6Lfruo9hwdHQZUrA==
74727472
dependencies:
7473-
"@types/normalize-package-data" "^2.4.0"
7473+
"@types/normalize-package-data" "^2.4.1"
74747474
normalize-package-data "^3.0.2"
74757475
parse-json "^5.2.0"
7476-
type-fest "^1.0.1"
7476+
type-fest "^2.0.0"
74777477

74787478
read@1, read@~1.0.1:
74797479
version "1.0.7"
@@ -8526,10 +8526,10 @@ type-fest@^0.8.1:
85268526
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
85278527
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
85288528

8529-
type-fest@^1.0.1:
8530-
version "1.0.1"
8531-
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.0.1.tgz#2494455e65c59170ec98bdda05b7d7184f5b74ad"
8532-
integrity sha512-+UTPE7JT3O+sUpRroRgQAbbSfIRBwOHh+o/oruB1JJE6g6uBm3Y0D82fO3xu8VHfxJLQjeRp0PEY6mRmh/lElA==
8529+
type-fest@^2.0.0:
8530+
version "2.0.0"
8531+
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.0.0.tgz#e9daf5615e89f6d430f34117f88f4ee2cd5a2725"
8532+
integrity sha512-BoEUnckjP9oiudy3KxlGdudtBAdJQ74Wp7dYwVPkUzBn+cVHOsBXh2zD2jLyqgbuJ1KMNriczZCI7lTBA94dFg==
85338533

85348534
typedarray-to-buffer@^3.1.5:
85358535
version "3.1.5"

0 commit comments

Comments
 (0)