#1005168 webpack should depends on node-tapable-2 and node-jest-debbundle

#1005168#5
Date:
2022-02-08 11:16:35 UTC
From:
To:
To compile mocha/workerpool with webpack 5 from experimental, I add to:
 * force node-tapable to version 2.2.1
 * install node-jest-debbundle (else webpack -v fails)

Here is the output of pkgjs-depends which significantly differs from
debian/control (but I didn't check if this is OK)

$ pkgjs-depends webpack@5.65.0
# webpack@5.65.0 (webpack)
DEPENDENCIES:
  eslint (@types/eslint)
  node-acorn (acorn, acorn-import-assertions)
  node-browserslist (browserslist)
  node-chrome-trace-event (chrome-trace-event)
  node-enhanced-resolve (enhanced-resolve)
  node-eslint-scope (eslint-scope)
  node-eslint-visitor-keys (@types/estree)
  node-events (events)
  node-graceful-fs (graceful-fs)
  node-jest-worker (jest-worker)
  node-json-parse-better-errors (json-parse-better-errors)
  node-loader-runner (loader-runner)
  node-mime-types (mime-types)
  node-neo-async (neo-async)
  node-schema-utils (schema-utils)
  node-serialize-javascript (serialize-javascript)
  node-source-map (source-map)
  node-tapable (tapable)
  node-watchpack (glob-to-regexp, watchpack)
  node-webassemblyjs (@webassemblyjs/ast, @webassemblyjs/wasm-edit, @webassemblyjs/wasm-parser)
  node-webpack-sources (webpack-sources)
  uglifyjs.terser, node-terser (terser)

MISSING:
webpack@5.65.0
 └── @types/eslint-scope (3.7.3)
 └── es-module-lexer (0.9.3)
 └── terser-webpack-plugin (5.3.1)

#1005168#10
Date:
2022-02-08 11:38:46 UTC
From:
To:
Quoting Yadd (2022-02-08 12:16:35)

Make sure to declare actual dependencies, not bundled ones.

I.e. look closely at the detailed list Yadd shared (which I snipped in
this reply) and do *not* follow literally what he wrote in subject:
Please do *not* literally declare a dependency on "node-jest-debbundle",
because that changes over time without notice and is never what is
actually needed.


 - Jonas

#1005168#15
Date:
2022-02-08 11:49:09 UTC
From:
To:
Hi

There is no significant difference from the output of $ pkgjs-depends
webpack@5.65.0 to what we have on Debian. I cross-checked the depends
packages in the control file

#1005168#20
Date:
2022-05-23 04:32:15 UTC
From:
To:
On Tue, 8 Feb 2022 12:49:09 +0100 Ayoyimika Ajibade  <ayoyimikaajibade@gmail.com> wrote:
 > Hi
 >
 > There is no significant difference from the output of $ pkgjs-depends
 > webpack@5.65.0 to what we have on Debian. I cross-checked the depends
 > packages in the control file

These were coming from webpack-cli/package.json and other missing
depends are now added. From node-debbundle-jest we need only
node-import-local. Minimum version of node-tapable was updated as well.

#1005168#27
Date:
2022-05-23 04:32:15 UTC
From:
To:
On Tue, 8 Feb 2022 12:49:09 +0100 Ayoyimika Ajibade  <ayoyimikaajibade@gmail.com> wrote:
 > Hi
 >
 > There is no significant difference from the output of $ pkgjs-depends
 > webpack@5.65.0 to what we have on Debian. I cross-checked the depends
 > packages in the control file

These were coming from webpack-cli/package.json and other missing
depends are now added. From node-debbundle-jest we need only
node-import-local. Minimum version of node-tapable was updated as well.