diff --git a/.changeset/olive-impalas-rush.md b/.changeset/olive-impalas-rush.md new file mode 100644 index 00000000000..f116482ab33 --- /dev/null +++ b/.changeset/olive-impalas-rush.md @@ -0,0 +1,5 @@ +--- +"@pnpm/read-project-manifest": patch +--- + +Update detect-intent with fork from @gwhitney. diff --git a/pkg-manifest/read-project-manifest/package.json b/pkg-manifest/read-project-manifest/package.json index b3e95eac819..0f216386e03 100644 --- a/pkg-manifest/read-project-manifest/package.json +++ b/pkg-manifest/read-project-manifest/package.json @@ -29,11 +29,11 @@ }, "homepage": "https://github.com/pnpm/pnpm/blob/main/pkg-manifest/read-project-manifest#readme", "dependencies": { + "@gwhitney/detect-indent": "7.0.1", "@pnpm/error": "workspace:*", "@pnpm/graceful-fs": "workspace:*", "@pnpm/types": "workspace:*", "@pnpm/write-project-manifest": "workspace:*", - "detect-indent": "^6.1.0", "fast-deep-equal": "^3.1.3", "is-windows": "^1.0.2", "json5": "^2.2.1", diff --git a/pkg-manifest/read-project-manifest/src/index.ts b/pkg-manifest/read-project-manifest/src/index.ts index 1cf3d7af083..74530244129 100644 --- a/pkg-manifest/read-project-manifest/src/index.ts +++ b/pkg-manifest/read-project-manifest/src/index.ts @@ -5,7 +5,7 @@ import { ProjectManifest } from '@pnpm/types' import { writeProjectManifest } from '@pnpm/write-project-manifest' import readYamlFile from 'read-yaml-file' -import detectIndent from 'detect-indent' +import detectIndent from '@gwhitney/detect-indent' import equal from 'fast-deep-equal' import isWindows from 'is-windows' import sortKeys from 'sort-keys' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 236c8ddbd83..d38bfc9234b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3741,6 +3741,9 @@ importers: pkg-manifest/read-project-manifest: dependencies: + '@gwhitney/detect-indent': + specifier: 7.0.1 + version: 7.0.1 '@pnpm/error': specifier: workspace:* version: link:../../packages/error @@ -3753,9 +3756,6 @@ importers: '@pnpm/write-project-manifest': specifier: workspace:* version: link:../write-project-manifest - detect-indent: - specifier: ^6.1.0 - version: 6.1.0 fast-deep-equal: specifier: ^3.1.3 version: 3.1.3 @@ -6625,6 +6625,11 @@ packages: /@gar/promisify/1.1.3: resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} + /@gwhitney/detect-indent/7.0.1: + resolution: {integrity: sha512-7bQW+gkKa2kKZPeJf6+c6gFK9ARxQfn+FKy9ScTBppyKRWH2KzsmweXUoklqeEiHiNVWaeP5csIdsNq6w7QhzA==} + engines: {node: '>=12.20'} + dev: false + /@humanwhocodes/config-array/0.11.7: resolution: {integrity: sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==} engines: {node: '>=10.10.0'} @@ -17337,6 +17342,7 @@ time: /@commitlint/cli/17.2.0: '2022-10-31T15:02:07.699Z' /@commitlint/config-conventional/17.2.0: '2022-10-31T15:02:07.633Z' /@commitlint/prompt-cli/17.2.0: '2022-10-31T15:02:10.457Z' + /@gwhitney/detect-indent/7.0.1: '2022-11-22T14:07:22.341Z' /@pnpm/byline/1.0.0: '2021-10-31T23:25:00.031Z' /@pnpm/colorize-semver-diff/1.0.1: '2020-10-25T15:50:17.812Z' /@pnpm/config.env-replace/1.0.0: '2022-11-11T20:22:17.274Z' @@ -17431,7 +17437,6 @@ time: /decompress-maybe/1.0.0: '2016-08-22T09:02:46.873Z' /deep-require-cwd/1.0.0: '2017-05-08T20:09:31.558Z' /delay/5.0.0: '2021-02-01T15:29:35.501Z' - /detect-indent/6.1.0: '2021-05-28T06:44:53.545Z' /detect-libc/2.0.1: '2022-02-14T10:44:10.231Z' /didyoumean2/5.0.0: '2021-05-27T03:31:55.835Z' /dint/5.1.0: '2021-02-12T01:22:54.214Z'