Skip to content
This repository was archived by the owner on Sep 22, 2023. It is now read-only.

optimizely/lodash-buffer-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lodash-buffer-bug

SSCCE for a bug in lodash 4.6.1, where if there is an element with id="Buffer" in the DOM when a webpack script which includes lodash is loaded, it taints the behavior of lodash such that some functions (such as _.cloneDeep) don't work properly.

Note: lodash@4.17.5 does not have the bug

demo

How to reproduce

npm install
npm test

About

SSCCE of a bug in lodash v4.6.1 when used with webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published