knip 5.85.0 → 5.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CacheConsultant.d.ts +2 -2
- package/dist/CacheConsultant.js +3 -3
- package/dist/CatalogCounselor.d.ts +3 -3
- package/dist/CatalogCounselor.js +5 -5
- package/dist/ConfigurationChief.d.ts +161 -143
- package/dist/ConfigurationChief.js +15 -16
- package/dist/ConsoleStreamer.d.ts +1 -1
- package/dist/DependencyDeputy.d.ts +6 -6
- package/dist/DependencyDeputy.js +13 -10
- package/dist/IssueCollector.d.ts +7 -7
- package/dist/IssueCollector.js +3 -3
- package/dist/IssueFixer.d.ts +3 -3
- package/dist/IssueFixer.js +17 -6
- package/dist/JsonCatalogPeeker.js +1 -1
- package/dist/PrincipalFactory.d.ts +3 -3
- package/dist/PrincipalFactory.js +3 -3
- package/dist/ProjectPrincipal.d.ts +9 -9
- package/dist/ProjectPrincipal.js +15 -9
- package/dist/WorkspaceWorker.d.ts +9 -9
- package/dist/WorkspaceWorker.js +17 -17
- package/dist/YamlCatalogPeeker.js +1 -1
- package/dist/binaries/bash-parser.d.ts +2 -2
- package/dist/binaries/bash-parser.js +84 -50
- package/dist/binaries/fallback.d.ts +1 -1
- package/dist/binaries/fallback.js +4 -6
- package/dist/binaries/index.d.ts +1 -1
- package/dist/binaries/index.js +3 -3
- package/dist/binaries/plugins.d.ts +1 -1
- package/dist/binaries/plugins.js +6 -6
- package/dist/binaries/resolvers/bun.d.ts +2 -0
- package/dist/binaries/{package-manager → resolvers}/bun.js +4 -6
- package/dist/binaries/{package-manager → resolvers}/bunx.d.ts +2 -2
- package/dist/binaries/{package-manager → resolvers}/bunx.js +4 -4
- package/dist/binaries/resolvers/find.d.ts +2 -0
- package/dist/binaries/resolvers/find.js +19 -0
- package/dist/binaries/resolvers/index.d.ts +11 -0
- package/dist/binaries/resolvers/index.js +18 -0
- package/dist/binaries/resolvers/npm.d.ts +2 -0
- package/dist/binaries/resolvers/npx.d.ts +2 -0
- package/dist/binaries/{package-manager → resolvers}/npx.js +4 -4
- package/dist/binaries/resolvers/pnpm.d.ts +2 -0
- package/dist/binaries/{package-manager → resolvers}/pnpm.js +4 -3
- package/dist/binaries/{package-manager → resolvers}/pnpx.d.ts +2 -2
- package/dist/binaries/{package-manager → resolvers}/pnpx.js +2 -2
- package/dist/binaries/resolvers/yarn.d.ts +2 -0
- package/dist/binaries/{package-manager → resolvers}/yarn.js +4 -4
- package/dist/cli.js +11 -11
- package/dist/compilers/compilers.d.ts +1 -1
- package/dist/compilers/index.d.ts +33 -3
- package/dist/compilers/index.js +2 -2
- package/dist/compilers/mdx.d.ts +1 -1
- package/dist/compilers/mdx.js +9 -2
- package/dist/compilers/scss.d.ts +1 -1
- package/dist/compilers/scss.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/graph/analyze.d.ts +8 -8
- package/dist/graph/analyze.js +8 -6
- package/dist/graph/build.d.ts +9 -9
- package/dist/graph/build.js +19 -17
- package/dist/graph-explorer/cache.d.ts +3 -3
- package/dist/graph-explorer/explorer.d.ts +7 -7
- package/dist/graph-explorer/explorer.js +9 -9
- package/dist/graph-explorer/operations/build-exports-tree.d.ts +2 -2
- package/dist/graph-explorer/operations/build-exports-tree.js +2 -2
- package/dist/graph-explorer/operations/find-cycles.d.ts +2 -2
- package/dist/graph-explorer/operations/get-contention.d.ts +2 -2
- package/dist/graph-explorer/operations/get-contention.js +3 -3
- package/dist/graph-explorer/operations/get-dependency-usage.d.ts +1 -1
- package/dist/graph-explorer/operations/get-dependency-usage.js +1 -1
- package/dist/graph-explorer/operations/get-usage.d.ts +2 -2
- package/dist/graph-explorer/operations/get-usage.js +5 -5
- package/dist/graph-explorer/operations/has-strictly-ns-references.d.ts +1 -1
- package/dist/graph-explorer/operations/has-strictly-ns-references.js +1 -1
- package/dist/graph-explorer/operations/is-referenced.d.ts +1 -1
- package/dist/graph-explorer/operations/is-referenced.js +2 -2
- package/dist/graph-explorer/operations/resolve-definition.d.ts +2 -2
- package/dist/graph-explorer/operations/resolve-definition.js +3 -3
- package/dist/graph-explorer/utils.d.ts +1 -1
- package/dist/graph-explorer/utils.js +2 -2
- package/dist/graph-explorer/visitors.d.ts +1 -1
- package/dist/graph-explorer/visitors.js +1 -1
- package/dist/graph-explorer/walk-down.d.ts +1 -1
- package/dist/graph-explorer/walk-down.js +2 -2
- package/dist/graph-explorer/walk-up.d.ts +2 -2
- package/dist/graph-explorer/walk-up.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/manifest/helpers.d.ts +1 -1
- package/dist/manifest/helpers.js +2 -2
- package/dist/manifest/index.d.ts +1 -1
- package/dist/manifest/index.js +3 -3
- package/dist/plugins/_template/index.d.ts +1 -1
- package/dist/plugins/_template/index.js +2 -2
- package/dist/plugins/angular/index.d.ts +1 -1
- package/dist/plugins/angular/index.js +4 -4
- package/dist/plugins/astro/compiler-mdx.js +1 -1
- package/dist/plugins/astro/compiler.js +1 -1
- package/dist/plugins/astro/index.d.ts +1 -1
- package/dist/plugins/astro/index.js +9 -6
- package/dist/plugins/astro/resolveFromAST.d.ts +1 -0
- package/dist/plugins/astro/resolveFromAST.js +18 -1
- package/dist/plugins/astro-db/index.d.ts +1 -1
- package/dist/plugins/astro-db/index.js +1 -1
- package/dist/plugins/astro-og-canvas/index.d.ts +1 -1
- package/dist/plugins/astro-og-canvas/index.js +2 -2
- package/dist/plugins/ava/index.d.ts +1 -1
- package/dist/plugins/ava/index.js +2 -2
- package/dist/plugins/babel/helpers.js +1 -1
- package/dist/plugins/babel/index.d.ts +3 -3
- package/dist/plugins/babel/index.js +7 -4
- package/dist/plugins/babel/types.d.ts +1 -1
- package/dist/plugins/biome/index.d.ts +1 -1
- package/dist/plugins/biome/index.js +4 -4
- package/dist/plugins/bumpp/index.d.ts +1 -1
- package/dist/plugins/bumpp/index.js +2 -2
- package/dist/plugins/bun/index.d.ts +1 -1
- package/dist/plugins/bun/index.js +8 -2
- package/dist/plugins/c8/index.d.ts +1 -1
- package/dist/plugins/c8/index.js +1 -1
- package/dist/plugins/capacitor/index.d.ts +1 -1
- package/dist/plugins/capacitor/index.js +3 -3
- package/dist/plugins/changelogen/index.d.ts +1 -1
- package/dist/plugins/changelogen/index.js +2 -2
- package/dist/plugins/changelogithub/index.d.ts +1 -1
- package/dist/plugins/changelogithub/index.js +2 -2
- package/dist/plugins/changesets/index.d.ts +1 -1
- package/dist/plugins/changesets/index.js +10 -3
- package/dist/plugins/changesets/types.d.ts +1 -0
- package/dist/plugins/commitizen/index.d.ts +1 -1
- package/dist/plugins/commitizen/index.js +2 -2
- package/dist/plugins/commitlint/index.d.ts +1 -1
- package/dist/plugins/commitlint/index.js +3 -3
- package/dist/plugins/convex/index.d.ts +1 -1
- package/dist/plugins/convex/index.js +1 -1
- package/dist/plugins/create-typescript-app/index.d.ts +1 -1
- package/dist/plugins/create-typescript-app/index.js +1 -1
- package/dist/plugins/cspell/index.d.ts +1 -1
- package/dist/plugins/cspell/index.js +2 -2
- package/dist/plugins/cucumber/index.d.ts +1 -1
- package/dist/plugins/cucumber/index.js +2 -2
- package/dist/plugins/cypress/helpers.d.ts +2 -2
- package/dist/plugins/cypress/helpers.js +2 -2
- package/dist/plugins/cypress/index.d.ts +1 -1
- package/dist/plugins/cypress/index.js +3 -3
- package/dist/plugins/danger/index.d.ts +1 -1
- package/dist/plugins/danger/index.js +1 -1
- package/dist/plugins/dependency-cruiser/index.d.ts +1 -1
- package/dist/plugins/dependency-cruiser/index.js +1 -1
- package/dist/plugins/docusaurus/helpers.d.ts +3 -3
- package/dist/plugins/docusaurus/helpers.js +2 -2
- package/dist/plugins/docusaurus/index.d.ts +1 -1
- package/dist/plugins/docusaurus/index.js +3 -3
- package/dist/plugins/docusaurus/types.d.ts +1 -1
- package/dist/plugins/dotenv/index.d.ts +1 -1
- package/dist/plugins/dotenv/index.js +1 -1
- package/dist/plugins/drizzle/index.d.ts +1 -1
- package/dist/plugins/drizzle/index.js +2 -2
- package/dist/plugins/eleventy/index.d.ts +1 -1
- package/dist/plugins/eleventy/index.js +6 -6
- package/dist/plugins/eleventy/types.d.ts +1 -1
- package/dist/plugins/eslint/helpers.d.ts +3 -3
- package/dist/plugins/eslint/helpers.js +5 -5
- package/dist/plugins/eslint/index.d.ts +1 -1
- package/dist/plugins/eslint/index.js +3 -3
- package/dist/plugins/execa/index.d.ts +1 -1
- package/dist/plugins/execa/index.js +2 -2
- package/dist/plugins/execa/visitors/execa.d.ts +1 -1
- package/dist/plugins/execa/visitors/execa.js +3 -3
- package/dist/plugins/expo/helpers.d.ts +2 -2
- package/dist/plugins/expo/helpers.js +3 -3
- package/dist/plugins/expo/index.d.ts +1 -1
- package/dist/plugins/expo/index.js +4 -4
- package/dist/plugins/expressive-code/index.d.ts +1 -1
- package/dist/plugins/expressive-code/index.js +1 -1
- package/dist/plugins/gatsby/index.d.ts +1 -1
- package/dist/plugins/gatsby/index.js +2 -2
- package/dist/plugins/github-action/index.d.ts +1 -1
- package/dist/plugins/github-action/index.js +4 -4
- package/dist/plugins/github-actions/index.d.ts +1 -1
- package/dist/plugins/github-actions/index.js +4 -4
- package/dist/plugins/glob/index.d.ts +1 -1
- package/dist/plugins/graphql-codegen/index.d.ts +1 -1
- package/dist/plugins/graphql-codegen/index.js +5 -5
- package/dist/plugins/hardhat/index.d.ts +1 -1
- package/dist/plugins/hardhat/index.js +2 -2
- package/dist/plugins/husky/index.d.ts +1 -1
- package/dist/plugins/husky/index.js +3 -3
- package/dist/plugins/i18next-parser/index.d.ts +1 -1
- package/dist/plugins/i18next-parser/index.js +1 -1
- package/dist/plugins/index.d.ts +139 -136
- package/dist/plugins/index.js +142 -136
- package/dist/plugins/jest/helpers.d.ts +2 -2
- package/dist/plugins/jest/helpers.js +2 -2
- package/dist/plugins/jest/index.d.ts +1 -1
- package/dist/plugins/jest/index.js +4 -4
- package/dist/plugins/karma/helpers.d.ts +2 -2
- package/dist/plugins/karma/helpers.js +2 -2
- package/dist/plugins/karma/index.d.ts +1 -1
- package/dist/plugins/karma/index.js +4 -4
- package/dist/plugins/knex/index.d.ts +1 -1
- package/dist/plugins/knex/index.js +3 -3
- package/dist/plugins/ladle/index.d.ts +1 -1
- package/dist/plugins/ladle/index.js +4 -4
- package/dist/plugins/lefthook/index.d.ts +1 -1
- package/dist/plugins/lefthook/index.js +5 -5
- package/dist/plugins/lint-staged/index.d.ts +1 -1
- package/dist/plugins/lint-staged/index.js +2 -2
- package/dist/plugins/linthtml/index.d.ts +1 -1
- package/dist/plugins/linthtml/index.js +3 -3
- package/dist/plugins/lockfile-lint/index.d.ts +1 -1
- package/dist/plugins/lockfile-lint/index.js +2 -2
- package/dist/plugins/lost-pixel/index.d.ts +1 -1
- package/dist/plugins/lost-pixel/index.js +1 -1
- package/dist/plugins/markdownlint/index.d.ts +1 -1
- package/dist/plugins/markdownlint/index.js +3 -3
- package/dist/plugins/mdx/index.d.ts +1 -1
- package/dist/plugins/mdx/index.js +2 -2
- package/dist/plugins/mdxlint/index.d.ts +1 -1
- package/dist/plugins/mdxlint/index.js +3 -3
- package/dist/plugins/metro/index.d.ts +1 -1
- package/dist/plugins/metro/index.js +4 -4
- package/dist/plugins/mocha/index.d.ts +1 -1
- package/dist/plugins/mocha/index.js +2 -2
- package/dist/plugins/moonrepo/index.d.ts +1 -1
- package/dist/plugins/moonrepo/index.js +1 -1
- package/dist/plugins/msw/index.d.ts +1 -1
- package/dist/plugins/msw/index.js +3 -3
- package/dist/plugins/nano-staged/index.d.ts +1 -1
- package/dist/plugins/nano-staged/index.js +1 -1
- package/dist/plugins/nest/index.d.ts +1 -1
- package/dist/plugins/nest/index.js +2 -2
- package/dist/plugins/netlify/helpers.d.ts +1 -1
- package/dist/plugins/netlify/index.d.ts +1 -1
- package/dist/plugins/netlify/index.js +4 -4
- package/dist/plugins/next/index.d.ts +1 -1
- package/dist/plugins/next/index.js +4 -4
- package/dist/plugins/next/resolveFromAST.js +1 -1
- package/dist/plugins/next-intl/index.d.ts +1 -1
- package/dist/plugins/next-intl/index.js +1 -1
- package/dist/plugins/next-mdx/index.d.ts +1 -1
- package/dist/plugins/next-mdx/index.js +3 -3
- package/dist/plugins/next-mdx/resolveFromAST.js +1 -1
- package/dist/plugins/nitro/index.d.ts +1 -1
- package/dist/plugins/nitro/index.js +3 -3
- package/dist/plugins/node/index.d.ts +1 -1
- package/dist/plugins/node/index.js +1 -1
- package/dist/plugins/node-modules-inspector/index.d.ts +1 -1
- package/dist/plugins/node-modules-inspector/index.js +2 -2
- package/dist/plugins/nodemon/index.d.ts +1 -1
- package/dist/plugins/npm-package-json-lint/index.d.ts +1 -1
- package/dist/plugins/npm-package-json-lint/index.js +3 -3
- package/dist/plugins/nuxt/helpers.d.ts +15 -0
- package/dist/plugins/nuxt/helpers.js +133 -0
- package/dist/plugins/nuxt/index.d.ts +1 -4
- package/dist/plugins/nuxt/index.js +177 -35
- package/dist/plugins/nuxt/types.d.ts +50 -0
- package/dist/plugins/nx/index.d.ts +1 -1
- package/dist/plugins/nx/index.js +13 -11
- package/dist/plugins/nx/types.d.ts +1 -0
- package/dist/plugins/nyc/index.d.ts +1 -1
- package/dist/plugins/nyc/index.js +2 -2
- package/dist/plugins/oclif/index.d.ts +1 -1
- package/dist/plugins/oclif/index.js +2 -2
- package/dist/plugins/openapi-ts/index.d.ts +3 -0
- package/dist/plugins/openapi-ts/index.js +13 -0
- package/dist/plugins/oxfmt/index.d.ts +3 -0
- package/dist/plugins/oxfmt/index.js +16 -0
- package/dist/plugins/oxlint/index.d.ts +1 -1
- package/dist/plugins/oxlint/index.js +2 -2
- package/dist/plugins/parcel/index.d.ts +1 -1
- package/dist/plugins/parcel/index.js +2 -2
- package/dist/plugins/payload/index.d.ts +1 -1
- package/dist/plugins/payload/index.js +2 -2
- package/dist/plugins/playwright/index.d.ts +2 -2
- package/dist/plugins/playwright/index.js +5 -5
- package/dist/plugins/playwright-ct/index.d.ts +1 -1
- package/dist/plugins/playwright-ct/index.js +3 -3
- package/dist/plugins/playwright-test/index.d.ts +1 -1
- package/dist/plugins/playwright-test/index.js +1 -1
- package/dist/plugins/plop/index.d.ts +1 -1
- package/dist/plugins/plop/index.js +1 -1
- package/dist/plugins/pm2/index.d.ts +1 -1
- package/dist/plugins/pm2/index.js +3 -3
- package/dist/plugins/pnpm/index.d.ts +1 -1
- package/dist/plugins/pnpm/index.js +1 -1
- package/dist/plugins/postcss/index.d.ts +1 -1
- package/dist/plugins/postcss/index.js +3 -3
- package/dist/plugins/preconstruct/index.d.ts +1 -1
- package/dist/plugins/preconstruct/index.js +3 -3
- package/dist/plugins/prettier/index.d.ts +1 -1
- package/dist/plugins/prettier/index.js +2 -2
- package/dist/plugins/prisma/index.d.ts +1 -1
- package/dist/plugins/prisma/index.js +5 -5
- package/dist/plugins/qwik/index.d.ts +3 -0
- package/dist/plugins/qwik/index.js +47 -0
- package/dist/plugins/qwik/resolveFromAST.d.ts +3 -0
- package/dist/plugins/qwik/resolveFromAST.js +37 -0
- package/dist/plugins/react-cosmos/index.d.ts +1 -1
- package/dist/plugins/react-cosmos/index.js +3 -3
- package/dist/plugins/react-native/index.d.ts +1 -1
- package/dist/plugins/react-native/index.js +2 -2
- package/dist/plugins/react-router/index.d.ts +1 -1
- package/dist/plugins/react-router/index.js +5 -5
- package/dist/plugins/relay/index.d.ts +1 -1
- package/dist/plugins/relay/index.js +3 -3
- package/dist/plugins/release-it/index.d.ts +1 -1
- package/dist/plugins/release-it/index.js +2 -2
- package/dist/plugins/remark/index.d.ts +1 -1
- package/dist/plugins/remark/index.js +3 -3
- package/dist/plugins/remix/index.d.ts +1 -1
- package/dist/plugins/remix/index.js +1 -1
- package/dist/plugins/rollup/index.d.ts +1 -1
- package/dist/plugins/rollup/index.js +1 -1
- package/dist/plugins/rsbuild/index.d.ts +1 -1
- package/dist/plugins/rsbuild/index.js +2 -2
- package/dist/plugins/rslib/index.d.ts +1 -1
- package/dist/plugins/rslib/index.js +1 -1
- package/dist/plugins/rspack/index.d.ts +1 -1
- package/dist/plugins/rspack/index.js +2 -2
- package/dist/plugins/rstest/index.d.ts +1 -1
- package/dist/plugins/rstest/index.js +2 -2
- package/dist/plugins/semantic-release/index.d.ts +1 -1
- package/dist/plugins/semantic-release/index.js +3 -3
- package/dist/plugins/sentry/index.d.ts +1 -1
- package/dist/plugins/sentry/index.js +1 -1
- package/dist/plugins/simple-git-hooks/index.d.ts +1 -1
- package/dist/plugins/simple-git-hooks/index.js +2 -2
- package/dist/plugins/size-limit/index.d.ts +1 -1
- package/dist/plugins/size-limit/index.js +3 -3
- package/dist/plugins/sst/index.d.ts +1 -1
- package/dist/plugins/sst/index.js +2 -2
- package/dist/plugins/sst/resolveFromAST.d.ts +1 -1
- package/dist/plugins/sst/resolveFromAST.js +4 -4
- package/dist/plugins/starlight/index.d.ts +1 -1
- package/dist/plugins/starlight/index.js +4 -4
- package/dist/plugins/starlight/resolveFromAST.js +1 -1
- package/dist/plugins/storybook/index.d.ts +1 -1
- package/dist/plugins/storybook/index.js +3 -3
- package/dist/plugins/stryker/index.d.ts +1 -1
- package/dist/plugins/stryker/index.js +2 -2
- package/dist/plugins/stylelint/index.d.ts +1 -1
- package/dist/plugins/stylelint/index.js +3 -3
- package/dist/plugins/svelte/compiler.d.ts +1 -1
- package/dist/plugins/svelte/compiler.js +1 -1
- package/dist/plugins/svelte/index.d.ts +1 -1
- package/dist/plugins/svelte/index.js +3 -3
- package/dist/plugins/sveltekit/index.d.ts +1 -1
- package/dist/plugins/sveltekit/index.js +3 -3
- package/dist/plugins/svgo/index.d.ts +1 -1
- package/dist/plugins/svgo/index.js +1 -1
- package/dist/plugins/svgr/index.d.ts +1 -1
- package/dist/plugins/svgr/index.js +2 -2
- package/dist/plugins/swc/index.d.ts +1 -1
- package/dist/plugins/swc/index.js +5 -3
- package/dist/plugins/swc/types.d.ts +1 -0
- package/dist/plugins/syncpack/index.d.ts +1 -1
- package/dist/plugins/syncpack/index.js +2 -2
- package/dist/plugins/tailwind/index.d.ts +1 -1
- package/dist/plugins/tailwind/index.js +2 -2
- package/dist/plugins/tanstack-router/index.d.ts +1 -1
- package/dist/plugins/tanstack-router/index.js +3 -3
- package/dist/plugins/taskfile/index.d.ts +1 -1
- package/dist/plugins/taskfile/index.js +3 -3
- package/dist/plugins/travis/index.d.ts +1 -1
- package/dist/plugins/travis/index.js +1 -1
- package/dist/plugins/ts-node/index.d.ts +1 -1
- package/dist/plugins/tsdown/index.d.ts +1 -1
- package/dist/plugins/tsdown/index.js +4 -4
- package/dist/plugins/tsup/index.d.ts +1 -1
- package/dist/plugins/tsup/index.js +2 -2
- package/dist/plugins/tsx/index.d.ts +1 -1
- package/dist/plugins/tsx/index.js +2 -2
- package/dist/plugins/typedoc/index.d.ts +1 -1
- package/dist/plugins/typedoc/index.js +2 -2
- package/dist/plugins/typescript/index.d.ts +1 -1
- package/dist/plugins/typescript/index.js +10 -4
- package/dist/plugins/unbuild/index.d.ts +1 -1
- package/dist/plugins/unbuild/index.js +2 -2
- package/dist/plugins/unocss/index.d.ts +1 -1
- package/dist/plugins/unocss/index.js +2 -2
- package/dist/plugins/vercel-og/index.d.ts +1 -1
- package/dist/plugins/vercel-og/index.js +1 -1
- package/dist/plugins/vike/index.d.ts +1 -1
- package/dist/plugins/vike/index.js +1 -1
- package/dist/plugins/vite/helpers.d.ts +1 -1
- package/dist/plugins/vite/helpers.js +4 -4
- package/dist/plugins/vite/index.d.ts +1 -1
- package/dist/plugins/vite/index.js +5 -5
- package/dist/plugins/vite/visitors/importMetaGlob.d.ts +1 -1
- package/dist/plugins/vite/visitors/importMetaGlob.js +4 -4
- package/dist/plugins/vitepress/index.d.ts +1 -1
- package/dist/plugins/vitepress/index.js +1 -1
- package/dist/plugins/vitest/helpers.d.ts +1 -1
- package/dist/plugins/vitest/index.d.ts +2 -2
- package/dist/plugins/vitest/index.js +15 -7
- package/dist/plugins/vitest/types.d.ts +1 -0
- package/dist/plugins/vue/compiler.d.ts +1 -1
- package/dist/plugins/vue/compiler.js +1 -1
- package/dist/plugins/vue/index.d.ts +1 -1
- package/dist/plugins/vue/index.js +4 -4
- package/dist/plugins/webdriver-io/index.d.ts +1 -1
- package/dist/plugins/webdriver-io/index.js +2 -2
- package/dist/plugins/webpack/index.d.ts +2 -2
- package/dist/plugins/webpack/index.js +5 -5
- package/dist/plugins/webpack/visitors/requireContext.d.ts +1 -1
- package/dist/plugins/webpack/visitors/requireContext.js +4 -4
- package/dist/plugins/wireit/index.d.ts +1 -1
- package/dist/plugins/wireit/index.js +1 -1
- package/dist/plugins/wrangler/index.d.ts +1 -1
- package/dist/plugins/wrangler/index.js +3 -3
- package/dist/plugins/xo/index.d.ts +1 -1
- package/dist/plugins/xo/index.js +2 -2
- package/dist/plugins/xo/types.d.ts +1 -1
- package/dist/plugins/yarn/index.d.ts +1 -1
- package/dist/plugins/yarn/index.js +5 -4
- package/dist/plugins/yorkie/index.d.ts +1 -1
- package/dist/plugins/yorkie/index.js +2 -2
- package/dist/plugins/zx/index.d.ts +1 -1
- package/dist/plugins/zx/index.js +2 -2
- package/dist/plugins/zx/visitors/zx.d.ts +1 -1
- package/dist/plugins/zx/visitors/zx.js +2 -2
- package/dist/plugins.d.ts +3 -3
- package/dist/plugins.js +2 -2
- package/dist/reporters/codeclimate.d.ts +1 -1
- package/dist/reporters/codeclimate.js +2 -2
- package/dist/reporters/codeowners.d.ts +1 -1
- package/dist/reporters/codeowners.js +3 -3
- package/dist/reporters/compact.d.ts +1 -1
- package/dist/reporters/compact.js +2 -2
- package/dist/reporters/disclosure.d.ts +1 -1
- package/dist/reporters/disclosure.js +1 -1
- package/dist/reporters/github-actions.d.ts +1 -1
- package/dist/reporters/github-actions.js +4 -4
- package/dist/reporters/index.d.ts +8 -8
- package/dist/reporters/index.js +8 -8
- package/dist/reporters/json.d.ts +1 -1
- package/dist/reporters/json.js +4 -4
- package/dist/reporters/markdown.d.ts +1 -1
- package/dist/reporters/markdown.js +2 -2
- package/dist/reporters/symbols.d.ts +1 -1
- package/dist/reporters/symbols.js +2 -2
- package/dist/reporters/trace.d.ts +4 -4
- package/dist/reporters/trace.js +4 -4
- package/dist/reporters/util/configuration-hints.d.ts +2 -2
- package/dist/reporters/util/configuration-hints.js +4 -4
- package/dist/reporters/util/util.d.ts +3 -3
- package/dist/reporters/util/util.js +3 -3
- package/dist/reporters/watch.d.ts +3 -3
- package/dist/reporters/watch.js +3 -3
- package/dist/run.d.ts +12 -12
- package/dist/run.js +12 -12
- package/dist/schema/configuration.d.ts +45 -0
- package/dist/schema/configuration.js +2 -2
- package/dist/schema/plugins.d.ts +15 -0
- package/dist/schema/plugins.js +3 -0
- package/dist/session/build-maps.d.ts +3 -3
- package/dist/session/build-maps.js +3 -3
- package/dist/session/file-descriptor.d.ts +2 -2
- package/dist/session/file-descriptor.js +3 -3
- package/dist/session/index.d.ts +12 -12
- package/dist/session/index.js +7 -7
- package/dist/session/package-json-descriptor.d.ts +2 -2
- package/dist/session/package-json-descriptor.js +1 -1
- package/dist/session/session.d.ts +7 -7
- package/dist/session/session.js +3 -3
- package/dist/session/types.d.ts +2 -2
- package/dist/types/PluginNames.d.ts +2 -2
- package/dist/types/PluginNames.js +3 -0
- package/dist/types/args.d.ts +1 -1
- package/dist/types/config.d.ts +11 -11
- package/dist/types/exports.d.ts +1 -1
- package/dist/types/issues.d.ts +2 -2
- package/dist/types/module-graph.d.ts +2 -2
- package/dist/types/package-json.d.ts +1 -1
- package/dist/types/project.d.ts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/typescript/SourceFileManager.d.ts +1 -1
- package/dist/typescript/SourceFileManager.js +4 -4
- package/dist/typescript/ast-helpers.d.ts +3 -3
- package/dist/typescript/ast-helpers.js +2 -2
- package/dist/typescript/create-hosts.d.ts +3 -3
- package/dist/typescript/create-hosts.js +2 -2
- package/dist/typescript/get-imports-and-exports.d.ts +3 -3
- package/dist/typescript/get-imports-and-exports.js +24 -15
- package/dist/typescript/has-refs-in-file.d.ts +1 -1
- package/dist/typescript/has-refs-in-file.js +2 -2
- package/dist/typescript/pragmas/custom.d.ts +2 -2
- package/dist/typescript/pragmas/custom.js +4 -4
- package/dist/typescript/pragmas/index.d.ts +2 -2
- package/dist/typescript/pragmas/index.js +2 -2
- package/dist/typescript/pragmas/typescript.d.ts +2 -2
- package/dist/typescript/pragmas/typescript.js +1 -1
- package/dist/typescript/resolve-module-names.d.ts +1 -1
- package/dist/typescript/resolve-module-names.js +7 -7
- package/dist/typescript/visitors/dynamic-imports/importCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/importCall.js +3 -3
- package/dist/typescript/visitors/dynamic-imports/importType.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/importType.js +2 -2
- package/dist/typescript/visitors/dynamic-imports/index.d.ts +2 -2
- package/dist/typescript/visitors/dynamic-imports/index.js +7 -7
- package/dist/typescript/visitors/dynamic-imports/jsDocType.d.ts +2 -2
- package/dist/typescript/visitors/dynamic-imports/jsDocType.js +2 -2
- package/dist/typescript/visitors/dynamic-imports/moduleRegister.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/moduleRegister.js +3 -3
- package/dist/typescript/visitors/dynamic-imports/requireCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/requireCall.js +4 -4
- package/dist/typescript/visitors/dynamic-imports/resolveCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/resolveCall.js +3 -3
- package/dist/typescript/visitors/dynamic-imports/urlConstructor.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/urlConstructor.js +2 -2
- package/dist/typescript/visitors/exports/exportAssignment.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportAssignment.js +4 -4
- package/dist/typescript/visitors/exports/exportDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportDeclaration.js +3 -3
- package/dist/typescript/visitors/exports/exportKeyword.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportKeyword.js +5 -5
- package/dist/typescript/visitors/exports/exportsAccessExpression.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportsAccessExpression.js +3 -3
- package/dist/typescript/visitors/exports/index.d.ts +1 -1
- package/dist/typescript/visitors/exports/index.js +5 -5
- package/dist/typescript/visitors/exports/moduleExportsAccessExpression.d.ts +1 -1
- package/dist/typescript/visitors/exports/moduleExportsAccessExpression.js +4 -4
- package/dist/typescript/visitors/helpers.d.ts +1 -1
- package/dist/typescript/visitors/imports/importDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/importDeclaration.js +3 -3
- package/dist/typescript/visitors/imports/importEqualsDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/importEqualsDeclaration.js +3 -3
- package/dist/typescript/visitors/imports/index.d.ts +1 -1
- package/dist/typescript/visitors/imports/index.js +3 -3
- package/dist/typescript/visitors/imports/reExportDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/reExportDeclaration.js +2 -2
- package/dist/typescript/visitors/index.d.ts +3 -3
- package/dist/typescript/visitors/scripts/bun.d.ts +1 -1
- package/dist/typescript/visitors/scripts/bun.js +3 -3
- package/dist/typescript/visitors/scripts/index.d.ts +2 -2
- package/dist/typescript/visitors/scripts/index.js +1 -1
- package/dist/util/Performance.d.ts +3 -5
- package/dist/util/Performance.js +37 -20
- package/dist/util/catalog.d.ts +2 -2
- package/dist/util/catalog.js +3 -3
- package/dist/util/codeowners.js +2 -2
- package/dist/util/create-input-handler.d.ts +6 -6
- package/dist/util/create-input-handler.js +8 -8
- package/dist/util/create-options.d.ts +52 -22
- package/dist/util/create-options.js +13 -13
- package/dist/util/create-workspace-graph.d.ts +1 -1
- package/dist/util/create-workspace-graph.js +1 -1
- package/dist/util/file-entry-cache.js +4 -4
- package/dist/util/fs.d.ts +2 -2
- package/dist/util/fs.js +4 -4
- package/dist/util/get-included-issue-types.d.ts +1 -1
- package/dist/util/get-included-issue-types.js +2 -2
- package/dist/util/git.js +1 -1
- package/dist/util/glob-core.js +55 -36
- package/dist/util/glob.js +4 -4
- package/dist/util/input.d.ts +2 -2
- package/dist/util/input.js +1 -1
- package/dist/util/issue-initializers.d.ts +1 -1
- package/dist/util/issue-initializers.js +1 -1
- package/dist/util/jiti.js +1 -1
- package/dist/util/load-config.d.ts +1 -1
- package/dist/util/load-config.js +3 -3
- package/dist/util/load-tsconfig.js +2 -2
- package/dist/util/loader.js +14 -6
- package/dist/util/map-workspaces.d.ts +1 -1
- package/dist/util/map-workspaces.js +4 -4
- package/dist/util/module-graph.d.ts +1 -1
- package/dist/util/modules.js +3 -4
- package/dist/util/package-json.d.ts +1 -1
- package/dist/util/package-json.js +10 -0
- package/dist/util/package-name.d.ts +1 -1
- package/dist/util/package-name.js +1 -1
- package/dist/util/path.js +1 -1
- package/dist/util/plugin.d.ts +2 -2
- package/dist/util/plugin.js +5 -5
- package/dist/util/remove-export.js +1 -1
- package/dist/util/reporter.d.ts +1 -1
- package/dist/util/reporter.js +3 -3
- package/dist/util/require.js +1 -1
- package/dist/util/resolve.d.ts +2 -3
- package/dist/util/resolve.js +7 -6
- package/dist/util/table.js +1 -1
- package/dist/util/tag.d.ts +1 -1
- package/dist/util/tag.js +1 -1
- package/dist/util/to-source-path.d.ts +1 -1
- package/dist/util/to-source-path.js +5 -5
- package/dist/util/trace.d.ts +1 -1
- package/dist/util/watch.d.ts +10 -10
- package/dist/util/watch.js +12 -9
- package/dist/util/workspace-file-filter.js +2 -2
- package/dist/util/workspace-selectors.d.ts +1 -1
- package/dist/util/workspace-selectors.js +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +64 -64
- package/schema.json +12 -0
- package/dist/binaries/package-manager/bun.d.ts +0 -2
- package/dist/binaries/package-manager/index.d.ts +0 -10
- package/dist/binaries/package-manager/index.js +0 -16
- package/dist/binaries/package-manager/npm.d.ts +0 -2
- package/dist/binaries/package-manager/npx.d.ts +0 -2
- package/dist/binaries/package-manager/pnpm.d.ts +0 -2
- package/dist/binaries/package-manager/yarn.d.ts +0 -2
- package/vendor/bash-parser/README.md +0 -7
- package/vendor/bash-parser/index.d.ts +0 -79
- package/vendor/bash-parser/index.js +0 -58
- /package/dist/binaries/{package-manager → resolvers}/npm.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ImportNode } from '../../types/imports.
|
|
2
|
-
import type { BoundSourceFile } from '../SourceFile.
|
|
1
|
+
import type { ImportNode } from '../../types/imports.ts';
|
|
2
|
+
import type { BoundSourceFile } from '../SourceFile.ts';
|
|
3
3
|
export declare const collectCustomImports: (sourceFile: BoundSourceFile) => ImportNode[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IMPORT_FLAGS } from
|
|
2
|
-
import { getEnvSpecifier } from
|
|
3
|
-
import { isAbsolute, isInternal } from
|
|
4
|
-
import { getLeadingComments, stripQuotes } from
|
|
1
|
+
import { IMPORT_FLAGS } from "../../constants.js";
|
|
2
|
+
import { getEnvSpecifier } from "../../plugins/vitest/helpers.js";
|
|
3
|
+
import { isAbsolute, isInternal } from "../../util/path.js";
|
|
4
|
+
import { getLeadingComments, stripQuotes } from "../ast-helpers.js";
|
|
5
5
|
const VITEST_ENV = /@(vitest|jest)-environment\s+(\S+)/g;
|
|
6
6
|
export const collectCustomImports = (sourceFile) => {
|
|
7
7
|
const comments = getLeadingComments(sourceFile);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ImportNode } from '../../types/imports.
|
|
2
|
-
import type { BoundSourceFile } from '../SourceFile.
|
|
1
|
+
import type { ImportNode } from '../../types/imports.ts';
|
|
2
|
+
import type { BoundSourceFile } from '../SourceFile.ts';
|
|
3
3
|
export declare const getImportsFromPragmas: (sourceFile: BoundSourceFile) => ImportNode[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { collectCustomImports } from
|
|
2
|
-
import { collectTypeScriptPragmaImports } from
|
|
1
|
+
import { collectCustomImports } from "./custom.js";
|
|
2
|
+
import { collectTypeScriptPragmaImports } from "./typescript.js";
|
|
3
3
|
export const getImportsFromPragmas = (sourceFile) => collectTypeScriptPragmaImports(sourceFile).concat(collectCustomImports(sourceFile));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ImportNode } from '../../types/imports.
|
|
2
|
-
import type { BoundSourceFile } from '../SourceFile.
|
|
1
|
+
import type { ImportNode } from '../../types/imports.ts';
|
|
2
|
+
import type { BoundSourceFile } from '../SourceFile.ts';
|
|
3
3
|
export declare const collectTypeScriptPragmaImports: (sourceFile: BoundSourceFile) => ImportNode[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import type { ToSourceFilePath } from '../util/to-source-path.
|
|
2
|
+
import type { ToSourceFilePath } from '../util/to-source-path.ts';
|
|
3
3
|
export type ResolveModuleNames = ReturnType<typeof createCustomModuleResolver>;
|
|
4
4
|
export declare function createCustomModuleResolver(compilerOptions: ts.CompilerOptions, customCompilerExtensions: string[], toSourceFilePath: ToSourceFilePath, useCache?: boolean): (moduleNames: string[], containingFile: string) => Array<ts.ResolvedModuleFull | undefined>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
2
|
import { isBuiltin } from 'node:module';
|
|
3
3
|
import ts from 'typescript';
|
|
4
|
-
import { DEFAULT_EXTENSIONS } from
|
|
5
|
-
import { sanitizeSpecifier } from
|
|
6
|
-
import { timerify } from
|
|
7
|
-
import { dirname, extname, isAbsolute, isInNodeModules, join } from
|
|
8
|
-
import {
|
|
9
|
-
import { isDeclarationFileExtension } from
|
|
4
|
+
import { DEFAULT_EXTENSIONS } from "../constants.js";
|
|
5
|
+
import { sanitizeSpecifier } from "../util/modules.js";
|
|
6
|
+
import { timerify } from "../util/Performance.js";
|
|
7
|
+
import { dirname, extname, isAbsolute, isInNodeModules, join } from "../util/path.js";
|
|
8
|
+
import { createSyncModuleResolver, resolveModuleSync } from "../util/resolve.js";
|
|
9
|
+
import { isDeclarationFileExtension } from "./ast-helpers.js";
|
|
10
10
|
const resolutionCache = new Map();
|
|
11
11
|
const moduleIfFileExists = (name, containingFile) => {
|
|
12
12
|
const resolvedFileName = isAbsolute(name) ? name : join(dirname(containingFile), name);
|
|
@@ -23,7 +23,7 @@ const tsResolveModuleName = timerify(ts.resolveModuleName);
|
|
|
23
23
|
export function createCustomModuleResolver(compilerOptions, customCompilerExtensions, toSourceFilePath, useCache = true) {
|
|
24
24
|
const customCompilerExtensionsSet = new Set(customCompilerExtensions);
|
|
25
25
|
const extensions = [...DEFAULT_EXTENSIONS, ...customCompilerExtensions];
|
|
26
|
-
const resolveSync = customCompilerExtensionsSet.size === 0 ?
|
|
26
|
+
const resolveSync = customCompilerExtensionsSet.size === 0 ? resolveModuleSync : createSyncModuleResolver(extensions);
|
|
27
27
|
const virtualDeclarationFiles = new Map();
|
|
28
28
|
const tsSys = {
|
|
29
29
|
...ts.sys,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS } from
|
|
3
|
-
import { findAncestor, findDescendants, getAccessedIdentifiers, getThenBindings, isAccessExpression, isImportCall, isInOpaqueExpression, isTopLevel, stripQuotes, } from
|
|
4
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS } from "../../../constants.js";
|
|
3
|
+
import { findAncestor, findDescendants, getAccessedIdentifiers, getThenBindings, isAccessExpression, isImportCall, isInOpaqueExpression, isTopLevel, stripQuotes, } from "../../ast-helpers.js";
|
|
4
|
+
import { importVisitor as visit } from "../index.js";
|
|
5
5
|
const getSymbol = (node, isTopLevel) => (isTopLevel ? node.symbol : undefined);
|
|
6
6
|
export default visit(() => true, node => {
|
|
7
7
|
if (isImportCall(node)) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS } from
|
|
3
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS } from "../../../constants.js";
|
|
3
|
+
import { importVisitor as visit } from "../index.js";
|
|
4
4
|
export default visit(() => true, node => {
|
|
5
5
|
if (ts.isImportTypeNode(node)) {
|
|
6
6
|
if (ts.isLiteralTypeNode(node.argument) && ts.isStringLiteral(node.argument.literal)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type ts from 'typescript';
|
|
2
|
-
import type { ImportVisitor } from '../index.
|
|
3
|
-
declare const _default: (sourceFile: ts.SourceFile, extraVisitors: ImportVisitor[]) => ((node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
import type { ImportVisitor } from '../index.ts';
|
|
3
|
+
declare const _default: (sourceFile: ts.SourceFile, extraVisitors: ImportVisitor[]) => ((node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined)[];
|
|
4
4
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import importCall from
|
|
2
|
-
import importType from
|
|
3
|
-
import jsDocType from
|
|
4
|
-
import moduleRegister from
|
|
5
|
-
import requireCall from
|
|
6
|
-
import resolveCall from
|
|
7
|
-
import urlConstructor from
|
|
1
|
+
import importCall from "./importCall.js";
|
|
2
|
+
import importType from "./importType.js";
|
|
3
|
+
import jsDocType from "./jsDocType.js";
|
|
4
|
+
import moduleRegister from "./moduleRegister.js";
|
|
5
|
+
import requireCall from "./requireCall.js";
|
|
6
|
+
import resolveCall from "./resolveCall.js";
|
|
7
|
+
import urlConstructor from "./urlConstructor.js";
|
|
8
8
|
const visitors = [importCall, importType, jsDocType, moduleRegister, resolveCall, requireCall, urlConstructor];
|
|
9
9
|
export default (sourceFile, extraVisitors) => [...visitors, ...extraVisitors].map(v => v(sourceFile));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import type { ImportNode } from '../../../types/imports.
|
|
3
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
import type { ImportNode } from '../../../types/imports.ts';
|
|
3
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => ImportNode | ImportNode[] | undefined;
|
|
4
4
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS, IMPORT_STAR } from
|
|
3
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS, IMPORT_STAR } from "../../../constants.js";
|
|
3
|
+
import { importVisitor as visit } from "../index.js";
|
|
4
4
|
const supportsJSDocImportTag = 'isJSDocImportTag' in ts;
|
|
5
5
|
const getImportSpecifiers = (node) => {
|
|
6
6
|
const imports = [];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS } from
|
|
3
|
-
import { isPropertyAccessCall } from
|
|
4
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS } from "../../../constants.js";
|
|
3
|
+
import { isPropertyAccessCall } from "../../ast-helpers.js";
|
|
4
|
+
import { importVisitor as visit } from "../index.js";
|
|
5
5
|
const isNodeModuleImport = (node) => ts.isImportDeclaration(node) &&
|
|
6
6
|
ts.isStringLiteral(node.moduleSpecifier) &&
|
|
7
7
|
(node.moduleSpecifier.text === 'node:module' || node.moduleSpecifier.text === 'module');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS, IMPORT_STAR } from
|
|
3
|
-
import { findAncestor, findDescendants, isModuleExportsAccess, isRequireCall, isTopLevel } from
|
|
4
|
-
import { isNotJS } from
|
|
5
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS, IMPORT_STAR } from "../../../constants.js";
|
|
3
|
+
import { findAncestor, findDescendants, isModuleExportsAccess, isRequireCall, isTopLevel } from "../../ast-helpers.js";
|
|
4
|
+
import { isNotJS } from "../helpers.js";
|
|
5
|
+
import { importVisitor as visit } from "../index.js";
|
|
6
6
|
export default visit(() => true, node => {
|
|
7
7
|
if (isRequireCall(node)) {
|
|
8
8
|
if (ts.isStringLiteralLike(node.arguments[0])) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS } from
|
|
3
|
-
import { isPropertyAccessCall } from
|
|
4
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS } from "../../../constants.js";
|
|
3
|
+
import { isPropertyAccessCall } from "../../ast-helpers.js";
|
|
4
|
+
import { importVisitor as visit } from "../index.js";
|
|
5
5
|
export default visit(() => true, node => {
|
|
6
6
|
if (isPropertyAccessCall(node, 'require.resolve') || isPropertyAccessCall(node, 'import.meta.resolve')) {
|
|
7
7
|
if (node.arguments[0] && ts.isStringLiteralLike(node.arguments[0])) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS } from
|
|
3
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS } from "../../../constants.js";
|
|
3
|
+
import { importVisitor as visit } from "../index.js";
|
|
4
4
|
export default visit(() => true, node => {
|
|
5
5
|
if (ts.isNewExpression(node) && ts.isIdentifier(node.expression) && node.expression.text === 'URL') {
|
|
6
6
|
if (node.arguments &&
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/exports.ts").ExportNode | import("../../../types/exports.ts").ExportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { EMPTY_ARRAY, FIX_FLAGS } from
|
|
3
|
-
import { getClassMember, getEnumMember, getNodeType, isNonPrivateDeclaration } from
|
|
4
|
-
import { isModule } from
|
|
5
|
-
import { exportVisitor as visit } from
|
|
2
|
+
import { EMPTY_ARRAY, FIX_FLAGS } from "../../../constants.js";
|
|
3
|
+
import { getClassMember, getEnumMember, getNodeType, isNonPrivateDeclaration } from "../../ast-helpers.js";
|
|
4
|
+
import { isModule } from "../helpers.js";
|
|
5
|
+
import { exportVisitor as visit } from "../index.js";
|
|
6
6
|
export default visit(isModule, (node, { isFixExports, isReportClassMembers, isFixTypes }) => {
|
|
7
7
|
if (ts.isExportAssignment(node)) {
|
|
8
8
|
const pos = node.expression.getStart();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/exports.ts").ExportNode | import("../../../types/exports.ts").ExportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from
|
|
3
|
-
import { isModule } from
|
|
4
|
-
import { exportVisitor as visit } from
|
|
2
|
+
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from "../../../constants.js";
|
|
3
|
+
import { isModule } from "../helpers.js";
|
|
4
|
+
import { exportVisitor as visit } from "../index.js";
|
|
5
5
|
export default visit(isModule, (node, { isFixExports, isFixTypes }) => {
|
|
6
6
|
if (ts.isExportDeclaration(node)) {
|
|
7
7
|
if (node.exportClause && ts.isNamedExports(node.exportClause)) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/exports.ts").ExportNode | import("../../../types/exports.ts").ExportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from
|
|
3
|
-
import { compact } from
|
|
4
|
-
import { getClassMember, getDefaultKeywordNode, getEnumMember, getExportKeywordNode, isNonPrivateDeclaration, } from
|
|
5
|
-
import { isModule } from
|
|
6
|
-
import { exportVisitor as visit } from
|
|
2
|
+
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from "../../../constants.js";
|
|
3
|
+
import { compact } from "../../../util/array.js";
|
|
4
|
+
import { getClassMember, getDefaultKeywordNode, getEnumMember, getExportKeywordNode, isNonPrivateDeclaration, } from "../../ast-helpers.js";
|
|
5
|
+
import { isModule } from "../helpers.js";
|
|
6
|
+
import { exportVisitor as visit } from "../index.js";
|
|
7
7
|
export default visit(isModule, (node, { isFixExports, isFixTypes, isReportClassMembers }) => {
|
|
8
8
|
const exportKeyword = getExportKeywordNode(node);
|
|
9
9
|
if (exportKeyword) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/exports.ts").ExportNode | import("../../../types/exports.ts").ExportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from
|
|
3
|
-
import { isJS } from
|
|
4
|
-
import { exportVisitor as visit } from
|
|
2
|
+
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from "../../../constants.js";
|
|
3
|
+
import { isJS } from "../helpers.js";
|
|
4
|
+
import { exportVisitor as visit } from "../index.js";
|
|
5
5
|
export default visit(isJS, (node, { isFixExports }) => {
|
|
6
6
|
if (ts.isBinaryExpression(node) && ts.isPropertyAccessExpression(node.left)) {
|
|
7
7
|
if (ts.isIdentifier(node.left.expression) && node.left.expression.escapedText === 'exports') {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => ((node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => ((node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/exports.ts").ExportNode | import("../../../types/exports.ts").ExportNode[] | undefined)[];
|
|
3
3
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import exportAssignment from
|
|
2
|
-
import exportDeclaration from
|
|
3
|
-
import exportKeyword from
|
|
4
|
-
import exportsAccessExpression from
|
|
5
|
-
import moduleExportsAccessExpression from
|
|
1
|
+
import exportAssignment from "./exportAssignment.js";
|
|
2
|
+
import exportDeclaration from "./exportDeclaration.js";
|
|
3
|
+
import exportKeyword from "./exportKeyword.js";
|
|
4
|
+
import exportsAccessExpression from "./exportsAccessExpression.js";
|
|
5
|
+
import moduleExportsAccessExpression from "./moduleExportsAccessExpression.js";
|
|
6
6
|
const visitors = [
|
|
7
7
|
exportAssignment,
|
|
8
8
|
exportDeclaration,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/exports.ts").ExportNode | import("../../../types/exports.ts").ExportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from
|
|
3
|
-
import { hasRequireCall, isModuleExportsAccess, stripQuotes } from
|
|
4
|
-
import { isJS } from
|
|
5
|
-
import { exportVisitor as visit } from
|
|
2
|
+
import { EMPTY_ARRAY, FIX_FLAGS, SYMBOL_TYPE } from "../../../constants.js";
|
|
3
|
+
import { hasRequireCall, isModuleExportsAccess, stripQuotes } from "../../ast-helpers.js";
|
|
4
|
+
import { isJS } from "../helpers.js";
|
|
5
|
+
import { exportVisitor as visit } from "../index.js";
|
|
6
6
|
export default visit(isJS, (node, { isFixExports }) => {
|
|
7
7
|
if (ts.isExpressionStatement(node)) {
|
|
8
8
|
if (ts.isBinaryExpression(node.expression)) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import type { BoundSourceFile } from '../SourceFile.
|
|
2
|
+
import type { BoundSourceFile } from '../SourceFile.ts';
|
|
3
3
|
export declare const isNotJS: (sourceFile: BoundSourceFile) => boolean;
|
|
4
4
|
export declare const isJS: (sourceFile: BoundSourceFile) => boolean;
|
|
5
5
|
export declare const isModule: (sourceFile: BoundSourceFile) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS, IMPORT_STAR } from
|
|
3
|
-
import { isDefaultImport } from
|
|
4
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS, IMPORT_STAR } from "../../../constants.js";
|
|
3
|
+
import { isDefaultImport } from "../../ast-helpers.js";
|
|
4
|
+
import { importVisitor as visit } from "../index.js";
|
|
5
5
|
export default visit(() => true, node => {
|
|
6
6
|
if (ts.isImportDeclaration(node) && ts.isStringLiteralLike(node.moduleSpecifier)) {
|
|
7
7
|
const specifier = node.moduleSpecifier.text;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS } from
|
|
3
|
-
import { isNotJS } from
|
|
4
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS } from "../../../constants.js";
|
|
3
|
+
import { isNotJS } from "../helpers.js";
|
|
4
|
+
import { importVisitor as visit } from "../index.js";
|
|
5
5
|
export default visit(isNotJS, node => {
|
|
6
6
|
if (ts.isImportEqualsDeclaration(node) &&
|
|
7
7
|
ts.isExternalModuleReference(node.moduleReference) &&
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => ((node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => ((node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined)[];
|
|
3
3
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import importDeclaration from
|
|
2
|
-
import importEqualsDeclaration from
|
|
3
|
-
import reExportDeclaration from
|
|
1
|
+
import importDeclaration from "./importDeclaration.js";
|
|
2
|
+
import importEqualsDeclaration from "./importEqualsDeclaration.js";
|
|
3
|
+
import reExportDeclaration from "./reExportDeclaration.js";
|
|
4
4
|
const visitors = [importDeclaration, importEqualsDeclaration, reExportDeclaration];
|
|
5
5
|
export default (sourceFile) => visitors.map(v => v(sourceFile));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => import("../../../types/imports.ts").ImportNode | import("../../../types/imports.ts").ImportNode[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { IMPORT_FLAGS, IMPORT_STAR } from
|
|
3
|
-
import { importVisitor as visit } from
|
|
2
|
+
import { IMPORT_FLAGS, IMPORT_STAR } from "../../../constants.js";
|
|
3
|
+
import { importVisitor as visit } from "../index.js";
|
|
4
4
|
export default visit(() => true, node => {
|
|
5
5
|
if (ts.isExportDeclaration(node)) {
|
|
6
6
|
if (node.moduleSpecifier && ts.isStringLiteralLike(node.moduleSpecifier)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type ts from 'typescript';
|
|
2
|
-
import type { GetImportsAndExportsOptions } from '../../types/config.
|
|
3
|
-
import type { ExportNode } from '../../types/exports.
|
|
4
|
-
import type { ImportNode } from '../../types/imports.
|
|
2
|
+
import type { GetImportsAndExportsOptions } from '../../types/config.ts';
|
|
3
|
+
import type { ExportNode } from '../../types/exports.ts';
|
|
4
|
+
import type { ImportNode } from '../../types/imports.ts';
|
|
5
5
|
type FileCondition = (sourceFile: ts.SourceFile) => boolean;
|
|
6
6
|
type VisitorFactory<T> = (fileCondition: FileCondition, fn: Visitor<T>) => VisitorCondition<T>;
|
|
7
7
|
type VisitorCondition<T> = (sourceFile: ts.SourceFile) => Visitor<T>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
declare const _default: (sourceFile: ts.SourceFile) => (node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => string | string[] | undefined;
|
|
3
3
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ts from 'typescript';
|
|
2
|
-
import { stripQuotes } from
|
|
3
|
-
import { hasImportSpecifier } from
|
|
4
|
-
import { scriptVisitor as visit } from
|
|
2
|
+
import { stripQuotes } from "../../ast-helpers.js";
|
|
3
|
+
import { hasImportSpecifier } from "../helpers.js";
|
|
4
|
+
import { scriptVisitor as visit } from "../index.js";
|
|
5
5
|
export default visit(sourceFile => sourceFile.statements.some(node => hasImportSpecifier(node, 'bun', '$')), node => {
|
|
6
6
|
if (ts.isTaggedTemplateExpression(node) && node.tag.getText() === '$') {
|
|
7
7
|
return stripQuotes(node.template.getText());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type ts from 'typescript';
|
|
2
|
-
import type { ScriptVisitor } from '../index.
|
|
3
|
-
declare const _default: (sourceFile: ts.SourceFile, extraVisitors: ScriptVisitor[]) => ((node: ts.Node, options: import("../../../types/config.
|
|
2
|
+
import type { ScriptVisitor } from '../index.ts';
|
|
3
|
+
declare const _default: (sourceFile: ts.SourceFile, extraVisitors: ScriptVisitor[]) => ((node: ts.Node, options: import("../../../types/config.ts").GetImportsAndExportsOptions) => string | string[] | undefined)[];
|
|
4
4
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type PerformanceEntry, PerformanceObserver } from 'node:perf_hooks';
|
|
2
|
-
import { memoryUsage } from 'node:process';
|
|
3
2
|
export declare const timerify: <T extends (...params: any[]) => any>(fn: T, name?: string) => T;
|
|
4
3
|
type MemInfo = {
|
|
4
|
+
label: string;
|
|
5
5
|
heapUsed: number;
|
|
6
6
|
heapTotal: number;
|
|
7
|
-
|
|
7
|
+
rss: number;
|
|
8
8
|
};
|
|
9
9
|
interface MemoryEntry extends PerformanceEntry {
|
|
10
10
|
detail: MemInfo;
|
|
@@ -21,8 +21,6 @@ declare class Performance {
|
|
|
21
21
|
memId?: string;
|
|
22
22
|
fnObserver?: PerformanceObserver;
|
|
23
23
|
memObserver?: PerformanceObserver;
|
|
24
|
-
memoryUsageStart?: ReturnType<typeof memoryUsage>;
|
|
25
|
-
freeMemoryStart?: number;
|
|
26
24
|
constructor({ isTimerifyFunctions, isMemoryUsageEnabled }: {
|
|
27
25
|
isTimerifyFunctions?: boolean | undefined;
|
|
28
26
|
isMemoryUsageEnabled?: boolean | undefined;
|
|
@@ -32,7 +30,7 @@ declare class Performance {
|
|
|
32
30
|
private flush;
|
|
33
31
|
private getPerfEntriesByName;
|
|
34
32
|
getTimerifiedFunctionsTable(): string;
|
|
35
|
-
addMemoryMark(
|
|
33
|
+
addMemoryMark(label: string): void;
|
|
36
34
|
getMemoryUsageTable(): string;
|
|
37
35
|
getCurrentDurationInMs(): number;
|
|
38
36
|
getMemHeapUsage(): number;
|