mjackson / unpkg

The CDN for everything on npm
https://unpkg.com
Other
3k stars 302 forks source link

cowsay doesn't work #289

Closed brucejo75 closed 2 years ago

brucejo75 commented 3 years ago

cowsay depends on a subdirectory in it's path: /build/.cows/...

Unpkg cannot navigate to that subdirectory. In fact, the subdirectory [does not even exist] (https://unpkg.com/browse/cowsay@1.4.0/build/) as far as unpkg is concerned.

Does Unpkg not handle paths with leading dots?

Aside:

mjackson commented 2 years ago

That directory is not present in the cowsay package on npm. Here's a list of all the files in cowsay 1.4.0:

node_modules/cowsay
├── LICENSE
├── README.md
├── build
│   ├── cowsay.es.js
│   └── cowsay.umd.js
├── cli.js
├── cows
│   ├── C3PO.cow
│   ├── R2-D2.cow
│   ├── USA.cow
│   ├── ackbar.cow
│   ├── aperture-blank.cow
│   ├── aperture.cow
│   ├── armadillo.cow
│   ├── atat.cow
│   ├── atom.cow
│   ├── awesome-face.cow
│   ├── banana.cow
│   ├── bearface.cow
│   ├── beavis.zen.cow
│   ├── bees.cow
│   ├── bill-the-cat.cow
│   ├── biohazard.cow
│   ├── bishop.cow
│   ├── black-mesa.cow
│   ├── bong.cow
│   ├── box.cow
│   ├── broken-heart.cow
│   ├── bud-frogs.cow
│   ├── bunny.cow
│   ├── cake-with-candles.cow
│   ├── cake.cow
│   ├── cat.cow
│   ├── cat2.cow
│   ├── catfence.cow
│   ├── charizardvice.cow
│   ├── charlie.cow
│   ├── cheese.cow
│   ├── chessmen.cow
│   ├── chito.cow
│   ├── claw-arm.cow
│   ├── clippy.cow
│   ├── companion-cube.cow
│   ├── cower.cow
│   ├── cowfee.cow
│   ├── cthulhu-mini.cow
│   ├── cube.cow
│   ├── daemon.cow
│   ├── dalek-shooting.cow
│   ├── dalek.cow
│   ├── default.cow
│   ├── docker-whale.cow
│   ├── doge.cow
│   ├── dolphin.cow
│   ├── dragon-and-cow.cow
│   ├── dragon.cow
│   ├── ebi_furai.cow
│   ├── elephant-in-snake.cow
│   ├── elephant.cow
│   ├── elephant2.cow
│   ├── explosion.cow
│   ├── eyes.cow
│   ├── fat-banana.cow
│   ├── fat-cow.cow
│   ├── fence.cow
│   ├── fire.cow
│   ├── flaming-sheep.cow
│   ├── fox.cow
│   ├── ghost.cow
│   ├── ghostbusters.cow
│   ├── glados.cow
│   ├── goat.cow
│   ├── goat2.cow
│   ├── golden-eagle.cow
│   ├── hand.cow
│   ├── happy-whale.cow
│   ├── hedgehog.cow
│   ├── hellokitty.cow
│   ├── hippie.cow
│   ├── hiya.cow
│   ├── hiyoko.cow
│   ├── homer.cow
│   ├── hypno.cow
│   ├── ibm.cow
│   ├── iwashi.cow
│   ├── jellyfish.cow
│   ├── karl_marx.cow
│   ├── kilroy.cow
│   ├── king.cow
│   ├── kiss.cow
│   ├── kitten.cow
│   ├── kitty.cow
│   ├── knight.cow
│   ├── koala.cow
│   ├── kosh.cow
│   ├── lamb.cow
│   ├── lamb2.cow
│   ├── lightbulb.cow
│   ├── lobster.cow
│   ├── lollerskates.cow
│   ├── luke-koala.cow
│   ├── mailchimp.cow
│   ├── maze-runner.cow
│   ├── mech-and-cow.cow
│   ├── meow.cow
│   ├── milk.cow
│   ├── minotaur.cow
│   ├── mona-lisa.cow
│   ├── moofasa.cow
│   ├── mooghidjirah.cow
│   ├── moojira.cow
│   ├── moose.cow
│   ├── mule.cow
│   ├── mutilated.cow
│   ├── nyan.cow
│   ├── octopus.cow
│   ├── okazu.cow
│   ├── owl.cow
│   ├── pawn.cow
│   ├── periodic-table.cow
│   ├── personality-sphere.cow
│   ├── pinball-machine.cow
│   ├── psychiatrichelp.cow
│   ├── psychiatrichelp2.cow
│   ├── pterodactyl.cow
│   ├── queen.cow
│   ├── radio.cow
│   ├── ren.cow
│   ├── renge.cow
│   ├── robot.cow
│   ├── robotfindskitten.cow
│   ├── roflcopter.cow
│   ├── rook.cow
│   ├── sachiko.cow
│   ├── satanic.cow
│   ├── seahorse-big.cow
│   ├── seahorse.cow
│   ├── sheep.cow
│   ├── shikato.cow
│   ├── shrug.cow
│   ├── skeleton.cow
│   ├── small.cow
│   ├── smiling-octopus.cow
│   ├── snoopy.cow
│   ├── snoopyhouse.cow
│   ├── snoopysleep.cow
│   ├── spidercow.cow
│   ├── squid.cow
│   ├── squirrel.cow
│   ├── stegosaurus.cow
│   ├── stimpy.cow
│   ├── sudowoodo.cow
│   ├── supermilker.cow
│   ├── surgery.cow
│   ├── tableflip.cow
│   ├── taxi.cow
│   ├── telebears.cow
│   ├── template.cow
│   ├── threader.cow
│   ├── threecubes.cow
│   ├── toaster.cow
│   ├── tortoise.cow
│   ├── turkey.cow
│   ├── turtle.cow
│   ├── tux-big.cow
│   ├── tux.cow
│   ├── tweety-bird.cow
│   ├── vader-koala.cow
│   ├── vader.cow
│   ├── weeping-angel.cow
│   ├── whale.cow
│   ├── wizard.cow
│   ├── wood.cow
│   ├── world.cow
│   ├── www.cow
│   ├── yasuna_01.cow
│   ├── yasuna_02.cow
│   ├── yasuna_03.cow
│   ├── yasuna_03a.cow
│   ├── yasuna_04.cow
│   ├── yasuna_05.cow
│   ├── yasuna_06.cow
│   ├── yasuna_07.cow
│   ├── yasuna_08.cow
│   ├── yasuna_09.cow
│   ├── yasuna_10.cow
│   ├── yasuna_11.cow
│   ├── yasuna_12.cow
│   ├── yasuna_13.cow
│   ├── yasuna_14.cow
│   ├── yasuna_16.cow
│   ├── yasuna_17.cow
│   ├── yasuna_18.cow
│   ├── yasuna_19.cow
│   ├── yasuna_20.cow
│   ├── ymd_udon.cow
│   └── zen-noh-milk.cow
├── index.js
├── lib
│   ├── balloon.js
│   ├── cows.js
│   ├── faces.js
│   └── replacer.js
└── package.json

3 directories, 201 files