karma-common-js
Advanced tools
Changelog
v0.2.2
require('cry' + 'pto')
. Instead, throw a runtime error which can be caught to detect if the module is running in Node or not.Changelog
v0.2.1
new Buffer()
with new require('buffer').Buffer()
to make up for not having a global Buffer
constructor.Changelog
v0.2.0
node_modules
.Changelog
v0.1.3
var module = require('module');
the variable name module
was replaced since it had the same name as the required module.Changelog
v0.1.2
require
calls inside comments (this made it break with React)process.env
as an empty object