docopt.coffee icon indicating copy to clipboard operation
docopt.coffee copied to clipboard

Docopt breaks lots of JS modules.

Open robotlolita opened this issue 11 years ago • 3 comments

Due to Docopt manipulating native objects' prototypes, it breaks lots of modules that rely on the standard behaviour. Right now, it isn't safe to use Docopt with any other module, since those modules are likely to break.

This is related to #4, but broader.

robotlolita avatar May 04 '13 19:05 robotlolita

Other than overwriting Array.toString, is there anything else?

sonwell avatar May 08 '13 16:05 sonwell

+1

sequelize.js - broken due to messing with Array.toString

brettlaforge avatar Mar 11 '14 21:03 brettlaforge

I think this is fixed now, it's not defining or extending Array directly.

nickserv avatar Nov 11 '17 07:11 nickserv