antonmedv / jsize

Find out minified and gzipped npm package size
MIT License
178 stars 12 forks source link

Bug if you skip one version in sequence #51

Closed antonmedv closed 3 years ago

antonmedv commented 6 years ago

For example:

$ jsize react + react-dom@15   react + react-dom@16

But this works:

$ jsize react + react-dom@15   
$ jsize react + react-dom@16
antonmedv commented 6 years ago
$ jsize react + react-dom@15   react + react-dom@16

   react + react-dom@15  =  X
   react + react-dom@16  =  31.9 kB (gzipped)

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js
Module not found: Error: Can't resolve 'react/lib/React' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js 15:12-38
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactNodeTypes.js
Module not found: Error: Can't resolve 'react/lib/React' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactNodeTypes.js 14:12-38
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/getHostComponentFromComposite.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMOption.js
Module not found: Error: Can't resolve 'react/lib/React' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMOption.js 13:12-38
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDefaultInjection.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactCompositeComponent.js
Module not found: Error: Can't resolve 'react/lib/React' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactCompositeComponent.js 14:12-38
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/instantiateReactComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/LinkedValueUtils.js
Module not found: Error: Can't resolve 'react/lib/React' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/LinkedValueUtils.js 16:12-38
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMInput.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDefaultInjection.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/flattenChildren.js
Module not found: Error: Can't resolve 'react/lib/ReactComponentTreeHook' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/flattenChildren.js 24:27-70
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMultiChild.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDefaultInjection.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactChildReconciler.js
Module not found: Error: Can't resolve 'react/lib/ReactComponentTreeHook' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactChildReconciler.js 27:27-70
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMultiChild.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDefaultInjection.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js
Module not found: Error: Can't resolve 'react/lib/ReactCurrentOwner' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js 17:24-62
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/traverseAllChildren.js
Module not found: Error: Can't resolve 'react/lib/ReactCurrentOwner' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/traverseAllChildren.js 13:24-62
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactChildReconciler.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMultiChild.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDefaultInjection.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactCompositeComponent.js
Module not found: Error: Can't resolve 'react/lib/ReactCurrentOwner' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactCompositeComponent.js 16:24-62
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/instantiateReactComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/findDOMNode.js
Module not found: Error: Can't resolve 'react/lib/ReactCurrentOwner' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/findDOMNode.js 13:24-62
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactUpdateQueue.js
Module not found: Error: Can't resolve 'react/lib/ReactCurrentOwner' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactUpdateQueue.js 13:24-62
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMultiChild.js
Module not found: Error: Can't resolve 'react/lib/ReactCurrentOwner' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMultiChild.js 17:24-62
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOMComponent.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDefaultInjection.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js

ERROR in /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/instantiateReactComponent.js
Module not found: Error: Can't resolve 'react/lib/getNextDebugID' in '/private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib'
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/instantiateReactComponent.js 18:21-56
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactMount.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/lib/ReactDOM.js
 @ /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js
 @ multi /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react/index.js /private/var/folders/jz/2vkj2mlx1kl_mkbp2y41sxcr0000gn/T/jsize-s2xcq9/node_modules/react-dom/index.js