-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Application roots without node_modules on disk are missed for versions inference. #103
Comments
I haven't tried things with next8 specifically yet, but next-pre8 build had a bad habit of hiding all the information. Can you change your config to: new DuplicatesPlugin({
verbose: true,
emitHandler: (report) => console.log(report),
}) and report back if anything is different? If nothing is different, would it be possible for you to get me a stripped down public repository with just the configuration you have (removing all your actual app code) so I have something to pull down and try to reproduce locally that exhibits some of the errors you're finding? Thanks! |
The other debugging steps you can take with your existing private repository is to dump out a full stats object by adding something like: const { StatsWriterPlugin } = require("webpack-stats-plugin");
// ...
config.plugins.push(
new StatsWriterPlugin({
filename: `stats-${isServer ? "server" : "client"}.json`,
fields: ["assets", "modules"],
}), Then you'll get two stats files With both of those, I'd run the duplicates and versions reports. These two separate reports should provide us with some raw information (that is cobbled together more intelligently in the webpack plugin): $ inspectpack -b /PATH/TO/stats-TYPE.json -a duplicates
$ inspectpack -b /PATH/TO/stats-TYPE.json -a versions |
Oh, haha, I saw your project might be open source. If you can get me instructions (and maybe a branch) to install + reproduce what you're seeing, I can jump in and diagnose 😄 |
Same outcome with The repository is https://github.com/Haaretz/htz-frontend. To reproduce, checkout Very much appreciate the help |
I just realized the setup is a bit complex. The webpack config is in We have |
I've tried to follow the steps, but I'm getting this error:
I'm using:
|
After which step? |
|
Here's mostly full output:
|
That's very odd. I just cloned a fresh copy of the repo and it all works fine. using:
|
Oh, okay - I think I know what it may be. There's a line in Not sure why it didn't work for you, but do you mind running |
Actually, that's not it... It's a whole different error that the one we're patching. I'm completely unable to reproduce this error. |
I'm using fresh install, and the exact versions of yarn and node you are. Here's the problem:
I restored it from source here: https://unpkg.com/[email protected]/dist/_utils.js and then on running the build get the error you filed in upstream issue on ... so no idea what that means for new users / fresh clones, but I can at least move forward on diagnosis now... |
Wow, that's a lot of effort you put into debuging this. Thanks |
Side note -- the |
There's definitely something up. Duplicates are detected, but versions are not being inferred correctly. I made this build change to produce a stats object: diff --git a/packages/libs/htz-react-base/base-next-config/webpack.js b/packages/libs/htz-react-base/base-next-config/webpack.js
index b60e56ba..e4c38729 100644
--- a/packages/libs/htz-react-base/base-next-config/webpack.js
+++ b/packages/libs/htz-react-base/base-next-config/webpack.js
@@ -6,6 +6,7 @@
const path = require('path');
const StatsPlugin = require('stats-webpack-plugin');
+const { StatsWriterPlugin, } = require('webpack-stats-plugin');
const { DuplicatesPlugin, } = require('inspectpack/plugin');
// ////////////////// //
@@ -49,6 +50,10 @@ module.exports = function configWebpack(
new DuplicatesPlugin({
verbose: true,
emitHandler: report => console.log(report),
+ }),
+ new StatsWriterPlugin({
+ filename: `stats-${isServer ? "server" : "client"}.json`,
+ fields: ["assets", "modules"],
})
);
} and ran these reports: DuplicatesLooks correct. $ inspectpack -s packages/apps/haaretz.co.il/.next/stats-client.json -a duplicates
inspectpack --action=duplicates
===============================
## Summary
* Extra Files (unique): 10
* Extra Sources (non-unique): 12
* Extra Bytes (non-unique): 15019
## `static/chunks/commons.b98963a347d35c8a1d80.js`
* css-in-js-utils/lib/hyphenateProperty.js
* Meta: Files 1, Sources 2, Bytes 958
0. (Files 1, Sources 2, Bytes 958)
(479) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/css-in-js-utils/lib/hyphenateProperty.js
(479) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/inline-style-prefixer/node_modules/css-in-js-utils/lib/hyphenateProperty.js
* fbjs/lib/shallowEqual.js
* Meta: Files 2, Sources 2, Bytes 3231
0. (Files 1, Sources 1, Bytes 1616)
(1616) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-addons-shallow-compare/node_modules/fbjs/lib/shallowEqual.js
1. (Files 1, Sources 1, Bytes 1615)
(1615) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/fbjs/lib/shallowEqual.js
* hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
* Meta: Files 2, Sources 2, Bytes 5446
0. (Files 1, Sources 1, Bytes 2559)
(2559) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
1. (Files 1, Sources 1, Bytes 2887)
(2887) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-apollo/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
* prop-types/factoryWithThrowingShims.js
* Meta: Files 2, Sources 2, Bytes 3090
0. (Files 1, Sources 1, Bytes 1469)
(1469) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/prop-types/factoryWithThrowingShims.js
1. (Files 1, Sources 1, Bytes 1621)
(1621) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-apollo/node_modules/prop-types/factoryWithThrowingShims.js
* prop-types/index.js
* Meta: Files 2, Sources 2, Bytes 1666
0. (Files 1, Sources 1, Bytes 956)
(956) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/prop-types/index.js
1. (Files 1, Sources 1, Bytes 710)
(710) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-apollo/node_modules/prop-types/index.js
* prop-types/lib/ReactPropTypesSecret.js
* Meta: Files 1, Sources 2, Bytes 628
0. (Files 1, Sources 2, Bytes 628)
(314) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/prop-types/lib/ReactPropTypesSecret.js
(314) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-apollo/node_modules/prop-types/lib/ReactPropTypesSecret.js VersionsShould not be empty. Likely roots aren't inferred right or something. $ inspectpack -s packages/apps/haaretz.co.il/.next/stats-client.json -a versions
inspectpack --action=versions
=============================
## Summary
* Packages with skews: 0
* Total resolved versions: 0
* Total installed packages: 0
* Total depended packages: 0 |
I assume this has something to do with iur build configuration. We use |
My intuition is that inspectpack:
It needs to do the following:
In the more general case, it needs to handle anything from starting package to every directory down to project root. I'm guessing this is going to take me a little while to dig into, create regression tests, and get a correct solution (inspectpack doesn't require any inputted information about the roots of an app / project, inferring the app root, project root, etc. And I don't have a ton of free time next. So, I'll definitely dig into this when I get a chance, I'm just not sure of the exact timeline. In the meantime, I'm hoping that the |
The |
If it helps, duplicate-package-checker-webpack-plugin seems to report correctly |
Thanks for continuing to research! I'm familiar with the plugin, and duplicate-package-checker doesn't try to infer the logical dependency tree, it just goes off of what's on disk. So, inspectpack gets this already from our
that we could read The plugin bug is that by It's worth considering that if it takes me too long to do the versions inference, I could just dump out what that plugin does because the information already is in inspectpack internally... |
I have a WIP PR up with a regression test fixture that exhibits the same buggy behavior as the original repository in this issue. I'm working on the actual failing regression tests, then the fix. |
Hey there, we are also experiencing this bug. It happens in our projects within yarn workspace with dependencies installed to a folder higher up (e.g. |
Hi folks, just wanted to post an update -- I've made good progress with regression tests and supporting unit tests to isolate the issue and head us towards a solution that still keeps the versions inference blazing fast (the technical challenging is limiting / optimizing the disk i/o to read WIP work is still at: #104 I expect I'll be able to ship a fix this week. Thanks! |
Current WIP output: $ yarn workspace @haaretz/haaretz.co.il build
Duplicate Sources / Packages - Duplicates found! ⚠️
* Duplicates: Found 10 similar files across 12 code sources (both identical + similar)
accounting for 15019 bundled bytes.
* Packages: Found 2 packages with 2 resolved, 2 installed, and 3 depended versions.
## static/chunks/commons.b98963a347d35c8a1d80.js
hoist-non-react-statics (Found 1 resolved, 1 installed, 1 depended. Latest 3.2.0.)
3.2.0
../hoist-non-react-statics
* Dependency graph
[email protected] -> [email protected]
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js (S, 2559)
prop-types (Found 1 resolved, 1 installed, 2 depended. Latest 15.6.2.)
15.6.2
../prop-types
* Dependency graph
[email protected] -> [email protected]
[email protected] -> [email protected] -> [email protected]
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
prop-types/factoryWithThrowingShims.js (S, 1469)
prop-types/index.js (S, 956)
prop-types/lib/ReactPropTypesSecret.js (I, 314)
* Understanding the report: Need help with the details? See:
https://github.com/FormidableLabs/inspectpack/#diagnosing-duplicates
* Fixing bundle duplicates: An introductory guide:
https://github.com/FormidableLabs/inspectpack/#fixing-bundle-duplicates |
Thank you so much for putting all this work into it! I think I don't really understand the report. How come Thanks again for putting in all this work to fix this issue |
Yep, good observation -- there's still something fishy. And |
UPDATE: Package roots aren't being correctly inferred... |
There is still some wonkiness (e.g., multiple of the same files reported in the duplicate module section for Error: Duplicate Sources / Packages - Duplicates found! ⚠️
* Duplicates: Found 10 similar files across 12 code sources (both identical + similar)
accounting for 15019 bundled bytes.
* Packages: Found 4 packages with 8 resolved, 9 installed, and 89 depended versions.
## static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.)
2.0.1
../../../~/fela-dom/~/css-in-js-utils
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
../../../~/inline-style-prefixer/~/css-in-js-utils
* Dependency graph
@haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils/lib/hyphenateProperty.js (I, 479)
3.0.0
../../../~/css-in-js-utils
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> fela@^6.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> fela@^6.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils/lib/hyphenateProperty.js (I, 479)
fbjs (Found 2 resolved, 2 installed, 5 depended. Latest 1.0.0.)
0.8.17
../../../~/react-addons-shallow-compare/~/fbjs
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
fbjs/lib/shallowEqual.js (S, 1616)
1.0.0
../../../~/fbjs
* Dependency graph
@haaretz/haaretz[email protected] -> react-apollo@^2.4.1 -> fbjs@^1.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
fbjs/lib/shallowEqual.js (S, 1615)
hoist-non-react-statics (Found 2 resolved, 2 installed, 2 depended. Latest 3.3.0.)
3.2.0
../../../~/hoist-non-react-statics
* Dependency graph
@haaretz/haaretz[email protected] -> next@^8.0.1 -> [email protected]
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js (S, 2559)
3.3.0
../../../~/react-apollo/~/hoist-non-react-statics
* Dependency graph
@haaretz/haaretz[email protected] -> react-apollo@^2.4.1 -> hoist-non-react-statics@^3.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js (S, 2887)
prop-types (Found 2 resolved, 2 installed, 22 depended. Latest 15.7.2.)
15.6.2
../../../~/prop-types
* Dependency graph
@haaretz/haaretz[email protected] -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-fns@^1.4.0 -> react-media@^1.6.1 -> prop-types@^15.5.10
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-focus-lock@^1.8.1 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-media@^1.8.0 -> prop-types@^15.5.10
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> next@^8.0.1 -> [email protected]
@haaretz/haaretz[email protected] -> next@^8.0.1 -> [email protected] -> [email protected]
@haaretz/haaretz[email protected] -> react-dom@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> prop-types@^15.5.8
@haaretz/haaretz[email protected] -> react@^16.8.2 -> prop-types@^15.6.2
@haaretz/htz-react-base@1.1.0 -> react-dom@^16.8.2 -> prop-types@^15.6.2
@haaretz/htz-react-base@1.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/htz-react-base@1.1.0 -> react@^16.8.2 -> prop-types@^15.6.2
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
prop-types/factoryWithThrowingShims.js (S, 1469)
prop-types/index.js (S, 956)
prop-types/lib/ReactPropTypesSecret.js (I, 314)
prop-types/factoryWithThrowingShims.js (S, 1469)
prop-types/index.js (S, 956)
prop-types/lib/ReactPropTypesSecret.js (I, 314)
15.7.2
../../../~/react-apollo/~/prop-types
* Dependency graph
@haaretz/haaretz[email protected] -> react-apollo@^2.4.1 -> prop-types@^15.6.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
prop-types/factoryWithThrowingShims.js (S, 1621)
prop-types/index.js (S, 710)
prop-types/lib/ReactPropTypesSecret.js (I, 314)
* Understanding the report: Need help with the details? See:
https://github.com/FormidableLabs/inspectpack/#diagnosing-duplicates
* Fixing bundle duplicates: An introductory guide:
https://github.com/FormidableLabs/inspectpack/#fixing-bundle-duplicates |
OK, now updated... I think I've got everything correctly matched up with what the simple duplicates report has. side note: It is fascinating to see what all the Error: Duplicate Sources / Packages - Duplicates found! ⚠️
* Duplicates: Found 10 similar files across 12 code sources (both identical + similar)
accounting for 15019 bundled bytes.
* Packages: Found 4 packages with 8 resolved, 9 installed, and 89 depended versions.
## static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.)
2.0.1
../../../~/fela-dom/~/css-in-js-utils
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
../../../~/inline-style-prefixer/~/css-in-js-utils
* Dependency graph
@haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils/lib/hyphenateProperty.js (I, 479)
3.0.0
../../../~/css-in-js-utils
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> fela@^6.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> fela@^6.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils/lib/hyphenateProperty.js (I, 479)
fbjs (Found 2 resolved, 2 installed, 5 depended. Latest 1.0.0.)
0.8.17
../../../~/react-addons-shallow-compare/~/fbjs
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> react-addons-shallow-compare@^15.6.2 -> fbjs@^0.8.4
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
fbjs/lib/shallowEqual.js (S, 1616)
1.0.0
../../../~/fbjs
* Dependency graph
@haaretz/haaretz[email protected] -> react-apollo@^2.4.1 -> fbjs@^1.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
fbjs/lib/shallowEqual.js (S, 1615)
hoist-non-react-statics (Found 2 resolved, 2 installed, 2 depended. Latest 3.3.0.)
3.2.0
../../../~/hoist-non-react-statics
* Dependency graph
@haaretz/haaretz[email protected] -> next@^8.0.1 -> [email protected]
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js (S, 2559)
3.3.0
../../../~/react-apollo/~/hoist-non-react-statics
* Dependency graph
@haaretz/haaretz[email protected] -> react-apollo@^2.4.1 -> hoist-non-react-statics@^3.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js (S, 2887)
prop-types (Found 2 resolved, 2 installed, 22 depended. Latest 15.7.2.)
15.6.2
../../../~/prop-types
* Dependency graph
@haaretz/haaretz[email protected] -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-fns@^1.4.0 -> react-media@^1.6.1 -> prop-types@^15.5.10
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-focus-lock@^1.8.1 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-media@^1.8.0 -> prop-types@^15.5.10
@haaretz/haaretz[email protected] -> @haaretz/htz-components@^0.2.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> prop-types@^15.6.1
@haaretz/haaretz[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> next@^8.0.1 -> [email protected]
@haaretz/haaretz[email protected] -> next@^8.0.1 -> [email protected] -> [email protected]
@haaretz/haaretz[email protected] -> react-dom@^16.8.2 -> prop-types@^15.6.2
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> prop-types@^15.5.8
@haaretz/haaretz[email protected] -> react@^16.8.2 -> prop-types@^15.6.2
@haaretz/htz-react-base@1.1.0 -> react-dom@^16.8.2 -> prop-types@^15.6.2
@haaretz/htz-react-base@1.1.0 -> react-test-renderer@^16.8.2 -> prop-types@^15.6.2
@haaretz/htz-react-base@1.1.0 -> react@^16.8.2 -> prop-types@^15.6.2
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
prop-types/factoryWithThrowingShims.js (S, 1469)
prop-types/index.js (S, 956)
prop-types/lib/ReactPropTypesSecret.js (I, 314)
15.7.2
../../../~/react-apollo/~/prop-types
* Dependency graph
@haaretz/haaretz[email protected] -> react-apollo@^2.4.1 -> prop-types@^15.6.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
prop-types/factoryWithThrowingShims.js (S, 1621)
prop-types/index.js (S, 710)
prop-types/lib/ReactPropTypesSecret.js (I, 314)
* Understanding the report: Need help with the details? See:
https://github.com/FormidableLabs/inspectpack/#diagnosing-duplicates
* Fixing bundle duplicates: An introductory guide:
https://github.com/FormidableLabs/inspectpack/#fixing-bundle-duplicates |
Oh, and @TxHawks , unrelated tip: Remove emitHandler: report => console.log(report), from the options. It looks like modern |
@TxHawks @mefu -- I think #107 is in final shape and should at least address @TxHawks issues. (@mefu I may need a separate reproduction if the branch doesn't solve your issues). I plan to release this tomorrow, so any early feedback is most welcome! (And thanks again for your patience -- solving this required some very deep dives to keep everything efficient I/O-wise...) |
Thank you so much @ryan-roemer! I fully understand how much work this has been since I tried to take a stab at it before realizeing it will be way more work than I am able to put in at the moment. I checked the the The client report includes the following: ## static/chunks/commons.afb167054d4db523cce5.js
css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.)
2.0.1 ~/fela-dom/~/css-in-js-utils
@haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
2.0.1 ~/inline-style-prefixer/~/css-in-js-utils
@haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
@haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
3.0.0 ~/css-in-js-utils
@haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
@haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0
# Report continues... s you can see, there are two separate branches of Thanks again for putting so much work into solving this |
Deciphering the report a bit:
The operative thing is:
which translates to "on disk" installs, so: $ cat node_modules/fela-dom/node_modules/css-in-js-utils/package.json | grep version
"version": "2.0.1",
$ cat node_modules/inline-style-prefixer/node_modules/css-in-js-utils/package.json | grep version
"version": "2.0.1",
$ cat node_modules/css-in-js-utils/package.json | grep version
"version": "3.0.0", What you're seeing is that because However, if you do the verbose report, there are only duplicate files for the second The first Hope that helps! |
Yes, that does help. Thanks.
You mean passing |
Cool! For verbose, I think I just was confused by the manual editing of the report output (and I've got a ticket #109 to collapse large amounts of dependency graphs for easier reading in the future). Here's what I see and I'm guessing that matches up with you: ## static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.)
2.0.1
~/fela-dom/~/css-in-js-utils
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
# ... SNIPPED LOTS OF DEP TREES ...
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
~/inline-style-prefixer/~/css-in-js-utils
* Dependency graph
@haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
# ... SNIPPED LOTS OF DEP TREES ...
@haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils/lib/hyphenateProperty.js (I, 479)
3.0.0
~/css-in-js-utils
* Dependency graph
@haaretz/haaretz[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
# ... SNIPPED LOTS OF DEP TREES ...
@haaretz/haaretz[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0
* Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js
css-in-js-utils/lib/hyphenateProperty.js (I, 479) |
In a Next JS app with a custom webpack config, inpectpack prints the following after build, without the information about the actual bundles:
It is a Next v8.0.1 app, running on node v10.8.0 and Webpack 4.29.0.
Relevant part of
next.config.js
is:Any insight would be appreciated
The text was updated successfully, but these errors were encountered: