Skip to content
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

The most recent version of iferr includes node_modules.old #2

Closed
iarna opened this issue Jun 18, 2018 · 1 comment
Closed

The most recent version of iferr includes node_modules.old #2

iarna opened this issue Jun 18, 2018 · 1 comment

Comments

@iarna
Copy link

iarna commented Jun 18, 2018

To avoid this in the future, you may want to add a files section to your package.json, like:

  "files": [ "iferr.js" ],

Below shows what's in the distribution tarball:

$ npm pack --dry-run iferr
npm notice 
npm notice 📦  iferr@1.0.1
npm notice === Tarball Contents === 
npm notice 595B    package.json                                                  
npm notice 837B    iferr.js                                                      
npm notice 1.1kB   LICENSE                                                       
npm notice 909B    README.md                                                     
npm notice 1.1kB   test/index.coffee                                             
npm notice 58B     test/mocha.opts                                               
npm notice 1.2kB   node_modules.old/balanced-match/index.js                      
npm notice 1.1kB   node_modules.old/balanced-match/LICENSE.md                    
npm notice 1.9kB   node_modules.old/balanced-match/package.json                  
npm notice 3.3kB   node_modules.old/balanced-match/README.md                     
npm notice 4.8kB   node_modules.old/brace-expansion/index.js                     
npm notice 2.0kB   node_modules.old/brace-expansion/package.json                 
npm notice 3.7kB   node_modules.old/brace-expansion/README.md                    
npm notice 649B    node_modules.old/browser-stdout/index.js                      
npm notice 1.3kB   node_modules.old/browser-stdout/package.json                  
npm notice 611B    node_modules.old/browser-stdout/README.md                     
npm notice 755B    node_modules.old/coffeescript/bin/cake                        
npm notice 760B    node_modules.old/coffeescript/bin/coffee                      
npm notice 6.1kB   node_modules.old/coffeescript/lib/.DS_Store                   
npm notice 5.3kB   node_modules.old/coffeescript/lib/coffeescript/browser.js     
npm notice 4.5kB   node_modules.old/coffeescript/lib/coffeescript/cake.js        
npm notice 18.2kB  node_modules.old/coffeescript/lib/coffeescript/coffeescript.js
npm notice 25.6kB  node_modules.old/coffeescript/lib/coffeescript/command.js     
npm notice 53.4kB  node_modules.old/coffeescript/lib/coffeescript/grammar.js     
npm notice 12.1kB  node_modules.old/coffeescript/lib/coffeescript/helpers.js     
npm notice 6.6kB   node_modules.old/coffeescript/lib/coffeescript/index.js       
npm notice 66.0kB  node_modules.old/coffeescript/lib/coffeescript/lexer.js       
npm notice 219.1kB node_modules.old/coffeescript/lib/coffeescript/nodes.js       
npm notice 8.4kB   node_modules.old/coffeescript/lib/coffeescript/optparse.js    
npm notice 163.4kB node_modules.old/coffeescript/lib/coffeescript/parser.js      
npm notice 2.8kB   node_modules.old/coffeescript/lib/coffeescript/register.js    
npm notice 10.9kB  node_modules.old/coffeescript/lib/coffeescript/repl.js        
npm notice 43.0kB  node_modules.old/coffeescript/lib/coffeescript/rewriter.js    
npm notice 6.1kB   node_modules.old/coffeescript/lib/coffeescript/scope.js       
npm notice 8.0kB   node_modules.old/coffeescript/lib/coffeescript/sourcemap.js   
npm notice 1.1kB   node_modules.old/coffeescript/LICENSE                         
npm notice 2.8kB   node_modules.old/coffeescript/README.md                       
npm notice 40B     node_modules.old/coffeescript/register.js                     
npm notice 53B     node_modules.old/coffeescript/repl.js                         
npm notice 7.9kB   node_modules.old/commander/History.md                         
npm notice 25.6kB  node_modules.old/commander/index.js                           
npm notice 1.1kB   node_modules.old/commander/LICENSE                            
npm notice 10.3kB  node_modules.old/commander/Readme.md                          
npm notice 43B     node_modules.old/concat-map/.travis.yml                       
npm notice 171B    node_modules.old/concat-map/example/map.js                    
npm notice 345B    node_modules.old/concat-map/index.js                          
npm notice 1.1kB   node_modules.old/concat-map/LICENSE                           
npm notice 1.8kB   node_modules.old/concat-map/package.json                      
npm notice 1.2kB   node_modules.old/concat-map/README.markdown                   
npm notice 1.1kB   node_modules.old/concat-map/test/map.js                       
npm notice 46B     node_modules.old/debug/.coveralls.yml                         
npm notice 219B    node_modules.old/debug/.eslintrc                              
npm notice 185B    node_modules.old/debug/.travis.yml                            
npm notice 12.9kB  node_modules.old/debug/CHANGELOG.md                           
npm notice 1.7kB   node_modules.old/debug/karma.conf.js                          
npm notice 1.1kB   node_modules.old/debug/LICENSE                                
npm notice 1.2kB   node_modules.old/debug/Makefile                               
npm notice 40B     node_modules.old/debug/node.js                                
npm notice 2.0kB   node_modules.old/debug/package.json                           
npm notice 19.8kB  node_modules.old/debug/README.md                              
npm notice 5.7kB   node_modules.old/debug/src/browser.js                         
npm notice 4.9kB   node_modules.old/debug/src/debug.js                           
npm notice 263B    node_modules.old/debug/src/index.js                           
npm notice 4.3kB   node_modules.old/debug/src/node.js                            
npm notice 1.2kB   node_modules.old/diff/CONTRIBUTING.md                         
npm notice 178.5kB node_modules.old/diff/dist/diff.js                            
npm notice 31.9kB  node_modules.old/diff/dist/diff.min.js                        
npm notice 2.2kB   node_modules.old/diff/lib/convert/dmp.js                      
npm notice 3.1kB   node_modules.old/diff/lib/convert/xml.js                      
npm notice 1.9kB   node_modules.old/diff/lib/diff/array.js                       
npm notice 27.9kB  node_modules.old/diff/lib/diff/base.js                        
npm notice 1.5kB   node_modules.old/diff/lib/diff/character.js                   
npm notice 1.8kB   node_modules.old/diff/lib/diff/css.js                         
npm notice 11.1kB  node_modules.old/diff/lib/diff/json.js                        
npm notice 5.2kB   node_modules.old/diff/lib/diff/line.js                        
npm notice 1.9kB   node_modules.old/diff/lib/diff/sentence.js                    
npm notice 7.9kB   node_modules.old/diff/lib/diff/word.js                        
npm notice 7.6kB   node_modules.old/diff/lib/index.js                            
npm notice 17.9kB  node_modules.old/diff/lib/patch/apply.js                      
npm notice 18.5kB  node_modules.old/diff/lib/patch/create.js                     
npm notice 41.2kB  node_modules.old/diff/lib/patch/merge.js                      
npm notice 15.1kB  node_modules.old/diff/lib/patch/parse.js                      
npm notice 2.0kB   node_modules.old/diff/lib/util/array.js                       
npm notice 4.2kB   node_modules.old/diff/lib/util/distance-iterator.js           
npm notice 1.7kB   node_modules.old/diff/lib/util/params.js                      
npm notice 1.6kB   node_modules.old/diff/LICENSE                                 
npm notice 2.8kB   node_modules.old/diff/package.json                            
npm notice 8.7kB   node_modules.old/diff/README.md                               
npm notice 14.4kB  node_modules.old/diff/release-notes.md                        
npm notice 74B     node_modules.old/diff/runtime.js                              
npm notice 226B    node_modules.old/escape-string-regexp/index.js                
npm notice 1.1kB   node_modules.old/escape-string-regexp/license                 
npm notice 552B    node_modules.old/escape-string-regexp/readme.md               
npm notice 1.3kB   node_modules.old/fs.realpath/index.js                         
npm notice 2.1kB   node_modules.old/fs.realpath/LICENSE                          
npm notice 8.5kB   node_modules.old/fs.realpath/old.js                           
npm notice 881B    node_modules.old/fs.realpath/README.md                        
npm notice 1.4kB   node_modules.old/glob/changelog.md                            
npm notice 6.2kB   node_modules.old/glob/common.js                               
npm notice 19.4kB  node_modules.old/glob/glob.js                                 
npm notice 765B    node_modules.old/glob/LICENSE                                 
npm notice 14.7kB  node_modules.old/glob/README.md                               
npm notice 12.0kB  node_modules.old/glob/sync.js                                 
npm notice 287B    node_modules.old/growl/.eslintrc.json                         
npm notice 23.5kB  node_modules.old/growl/.tags                                  
npm notice 19.5kB  node_modules.old/growl/.tags1                                 
npm notice 404B    node_modules.old/growl/.travis.yml                            
npm notice 1.2kB   node_modules.old/growl/History.md                             
npm notice 7.9kB   node_modules.old/growl/lib/growl.js                           
npm notice 1.7kB   node_modules.old/growl/package.json                           
npm notice 3.9kB   node_modules.old/growl/Readme.md                              
npm notice 1.4kB   node_modules.old/growl/test.js                                
npm notice 294B    node_modules.old/has-flag/index.js                            
npm notice 1.1kB   node_modules.old/has-flag/license                             
npm notice 961B    node_modules.old/has-flag/readme.md                           
npm notice 3.6kB   node_modules.old/he/bin/he                                    
npm notice 84.8kB  node_modules.old/he/he.js                                     
npm notice 1.1kB   node_modules.old/he/LICENSE-MIT.txt                           
npm notice 3.1kB   node_modules.old/he/man/he.1                                  
npm notice 14.2kB  node_modules.old/he/README.md                                 
npm notice 1.4kB   node_modules.old/inflight/inflight.js                         
npm notice 748B    node_modules.old/inflight/LICENSE                             
npm notice 991B    node_modules.old/inflight/README.md                           
npm notice 672B    node_modules.old/inherits/inherits_browser.js                 
npm notice 192B    node_modules.old/inherits/inherits.js                         
npm notice 749B    node_modules.old/inherits/LICENSE                             
npm notice 1.6kB   node_modules.old/inherits/README.md                           
npm notice 765B    node_modules.old/minimatch/LICENSE                            
npm notice 25.3kB  node_modules.old/minimatch/minimatch.js                       
npm notice 6.3kB   node_modules.old/minimatch/README.md                          
npm notice 48B     node_modules.old/minimist/.travis.yml                         
npm notice 69B     node_modules.old/minimist/example/parse.js                    
npm notice 5.6kB   node_modules.old/minimist/index.js                            
npm notice 1.1kB   node_modules.old/minimist/LICENSE                             
npm notice 1.6kB   node_modules.old/minimist/package.json                        
npm notice 1.6kB   node_modules.old/minimist/readme.markdown                     
npm notice 726B    node_modules.old/minimist/test/dash.js                        
npm notice 454B    node_modules.old/minimist/test/default_bool.js                
npm notice 441B    node_modules.old/minimist/test/dotted.js                      
npm notice 779B    node_modules.old/minimist/test/long.js                        
npm notice 240B    node_modules.old/minimist/test/parse_modified.js              
npm notice 7.5kB   node_modules.old/minimist/test/parse.js                       
npm notice 1.6kB   node_modules.old/minimist/test/short.js                       
npm notice 191B    node_modules.old/minimist/test/whitespace.js                  
npm notice 116B    node_modules.old/mkdirp/.travis.yml                           
npm notice 731B    node_modules.old/mkdirp/bin/cmd.js                            
npm notice 315B    node_modules.old/mkdirp/bin/usage.txt                         
npm notice 142B    node_modules.old/mkdirp/examples/pow.js                       
npm notice 2.6kB   node_modules.old/mkdirp/index.js                              
npm notice 1.1kB   node_modules.old/mkdirp/LICENSE                               
npm notice 1.5kB   node_modules.old/mkdirp/package.json                          
npm notice 2.1kB   node_modules.old/mkdirp/readme.markdown                       
npm notice 1.1kB   node_modules.old/mkdirp/test/chmod.js                         
npm notice 855B    node_modules.old/mkdirp/test/clobber.js                       
npm notice 900B    node_modules.old/mkdirp/test/mkdirp.js                        
npm notice 868B    node_modules.old/mkdirp/test/opts_fs_sync.js                  
npm notice 938B    node_modules.old/mkdirp/test/opts_fs.js                       
npm notice 991B    node_modules.old/mkdirp/test/perm_sync.js                     
npm notice 871B    node_modules.old/mkdirp/test/perm.js                          
npm notice 988B    node_modules.old/mkdirp/test/race.js                          
npm notice 987B    node_modules.old/mkdirp/test/rel.js                           
npm notice 855B    node_modules.old/mkdirp/test/return_sync.js                   
npm notice 826B    node_modules.old/mkdirp/test/return.js                        
npm notice 496B    node_modules.old/mkdirp/test/root.js                          
npm notice 906B    node_modules.old/mkdirp/test/sync.js                          
npm notice 934B    node_modules.old/mkdirp/test/umask_sync.js                    
npm notice 936B    node_modules.old/mkdirp/test/umask.js                         
npm notice 13.6kB  node_modules.old/mocha/bin/_mocha                             
npm notice 2.3kB   node_modules.old/mocha/bin/mocha                              
npm notice 710B    node_modules.old/mocha/bin/options.js                         
npm notice 4.3kB   node_modules.old/mocha/browser-entry.js                       
npm notice 71.5kB  node_modules.old/mocha/CHANGELOG.md                           
npm notice 412B    node_modules.old/mocha/images/error.png                       
npm notice 388B    node_modules.old/mocha/images/ok.png                          
npm notice 56B     node_modules.old/mocha/index.js                               
npm notice 53B     node_modules.old/mocha/lib/browser/.eslintrc.yaml             
npm notice 82B     node_modules.old/mocha/lib/browser/growl.js                   
npm notice 2.3kB   node_modules.old/mocha/lib/browser/progress.js                
npm notice 292B    node_modules.old/mocha/lib/browser/tty.js                     
npm notice 1.8kB   node_modules.old/mocha/lib/context.js                         
npm notice 743B    node_modules.old/mocha/lib/hook.js                            
npm notice 2.5kB   node_modules.old/mocha/lib/interfaces/bdd.js                  
npm notice 3.8kB   node_modules.old/mocha/lib/interfaces/common.js               
npm notice 1.4kB   node_modules.old/mocha/lib/interfaces/exports.js              
npm notice 155B    node_modules.old/mocha/lib/interfaces/index.js                
npm notice 2.1kB   node_modules.old/mocha/lib/interfaces/qunit.js                
npm notice 2.3kB   node_modules.old/mocha/lib/interfaces/tdd.js                  
npm notice 12.7kB  node_modules.old/mocha/lib/mocha.js                           
npm notice 2.3kB   node_modules.old/mocha/lib/ms.js                              
npm notice 227B    node_modules.old/mocha/lib/pending.js                         
npm notice 10.8kB  node_modules.old/mocha/lib/reporters/base.js                  
npm notice 1.5kB   node_modules.old/mocha/lib/reporters/doc.js                   
npm notice 1.3kB   node_modules.old/mocha/lib/reporters/dot.js                   
npm notice 9.0kB   node_modules.old/mocha/lib/reporters/html.js                  
npm notice 946B    node_modules.old/mocha/lib/reporters/index.js                 
npm notice 1.2kB   node_modules.old/mocha/lib/reporters/json-stream.js           
npm notice 1.6kB   node_modules.old/mocha/lib/reporters/json.js                  
npm notice 1.8kB   node_modules.old/mocha/lib/reporters/landing.js               
npm notice 1.2kB   node_modules.old/mocha/lib/reporters/list.js                  
npm notice 1.9kB   node_modules.old/mocha/lib/reporters/markdown.js              
npm notice 642B    node_modules.old/mocha/lib/reporters/min.js                   
npm notice 4.9kB   node_modules.old/mocha/lib/reporters/nyan.js                  
npm notice 2.0kB   node_modules.old/mocha/lib/reporters/progress.js              
npm notice 1.6kB   node_modules.old/mocha/lib/reporters/spec.js                  
npm notice 1.3kB   node_modules.old/mocha/lib/reporters/tap.js                   
npm notice 4.1kB   node_modules.old/mocha/lib/reporters/xunit.js                 
npm notice 8.6kB   node_modules.old/mocha/lib/runnable.js                        
npm notice 22.9kB  node_modules.old/mocha/lib/runner.js                          
npm notice 9.0kB   node_modules.old/mocha/lib/suite.js                           
npm notice 476B    node_modules.old/mocha/lib/template.html                      
npm notice 1.1kB   node_modules.old/mocha/lib/test.js                            
npm notice 16.2kB  node_modules.old/mocha/lib/utils.js                           
npm notice 1.1kB   node_modules.old/mocha/LICENSE                                
npm notice 5.6kB   node_modules.old/mocha/mocha.css                              
npm notice 486.8kB node_modules.old/mocha/mocha.js                               
npm notice 12.5kB  node_modules.old/mocha/README.md                              
npm notice 2.8kB   node_modules.old/ms/index.js                                  
npm notice 1.1kB   node_modules.old/ms/license.md                                
npm notice 1.7kB   node_modules.old/ms/readme.md                                 
npm notice 765B    node_modules.old/once/LICENSE                                 
npm notice 935B    node_modules.old/once/once.js                                 
npm notice 1.8kB   node_modules.old/once/README.md                               
npm notice 611B    node_modules.old/path-is-absolute/index.js                    
npm notice 1.1kB   node_modules.old/path-is-absolute/license                     
npm notice 1.2kB   node_modules.old/path-is-absolute/readme.md                   
npm notice 38B     node_modules.old/supports-color/browser.js                    
npm notice 2.3kB   node_modules.old/supports-color/index.js                      
npm notice 1.1kB   node_modules.old/supports-color/license                       
npm notice 1.7kB   node_modules.old/supports-color/readme.md                     
npm notice 765B    node_modules.old/wrappy/LICENSE                               
npm notice 685B    node_modules.old/wrappy/README.md                             
npm notice 905B    node_modules.old/wrappy/wrappy.js                             
npm notice === Tarball Details === 
npm notice name:          iferr                                   
npm notice version:       1.0.1                                   
npm notice filename:      iferr-1.0.1.tgz                         
npm notice package size:  596.7 kB                                
npm notice unpacked size: 2.3 MB                                  
npm notice shasum:        37b878f51d1e91a12d9f84ae7fca922a64c53a54
npm notice integrity:     sha512-e7YmhEfXYL+P2[...]UVylesh4VSC9g==
npm notice total files:   232                                     
npm notice 
iferr-1.0.1.tgz
@shesek
Copy link
Owner

shesek commented Jun 18, 2018

Oh darn, thanks for catching this! I released v0.1.2 without the extraneous directory and added the suggested files configuration.

@shesek shesek closed this as completed Jun 18, 2018
zkat added a commit to npm/cli that referenced this issue Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants