diff --git a/package.json b/package.json index 69ee5cf..a5a6ef8 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ ] }, "dependencies": { - "ini": "^4.1.1", - "toml": "^3.0.0" + "@iarna/toml": "^2.2.5", + "ini": "^4.1.1" } } diff --git a/src/constant.ts b/src/constant.ts index 51cf9ef..87286dd 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -1,6 +1,6 @@ import fs from 'fs'; import path from 'path'; -import toml from 'toml'; +import toml from '@iarna/toml'; type PyprojectToml = { tool: { diff --git a/src/doqEngine.ts b/src/doqEngine.ts index c28b3fb..d03943a 100644 --- a/src/doqEngine.ts +++ b/src/doqEngine.ts @@ -6,7 +6,7 @@ import path from 'path'; import ini from 'ini'; import tmp from 'tmp'; -import toml from 'toml'; +import toml from '@iarna/toml'; import { getDoqPath } from './common'; diff --git a/yarn.lock b/yarn.lock index a05f58c..80b9c3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -168,6 +168,11 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@iarna/toml@^2.2.5": + version "2.2.5" + resolved "https://registry.yarnpkg.com/@iarna/toml/-/toml-2.2.5.tgz#b32366c89b43c6f8cefbdefac778b9c828e3ba8c" + integrity sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg== + "@nodelib/fs.scandir@2.1.4": version "2.1.4" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69" @@ -1107,11 +1112,6 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -toml@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/toml/-/toml-3.0.0.tgz#342160f1af1904ec9d204d03a5d61222d762c5ee" - integrity sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w== - ts-api-utils@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.1.tgz#8144e811d44c749cd65b2da305a032510774452d"