browserify / browserify/timers-browserify

timers-browserify dependency on setimmediate pollutes global environment

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
24
Forks
19
PR merge metrics
No merged PRs in 30d

Description

`timers-browserify` depends on `setimmediate` to make available `setImmediate` and `clearImmediate` functions.

This breaks proper encapsulation in Webpack builds where we don't want to pollute the global environment with polyfills. E.g. when authoring drop-in widgets for use within someone else's website and acting as a third-party.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.