Skip to content

Commit 60ed498

Browse files
author
James Halliday
committed
6.1.0
1 parent e6e4704 commit 60ed498

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ var defaultVars = {
1111
return 'require(' + JSON.stringify(processPath) + ')';
1212
},
1313
global: function () {
14-
return 'typeof self !== "undefined" ? self : '
14+
return 'typeof global !== "undefined" ? global : '
15+
+ 'typeof self !== "undefined" ? self : '
1516
+ 'typeof window !== "undefined" ? window : {}'
1617
;
1718
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "insert-module-globals",
3-
"version": "6.0.0",
3+
"version": "6.1.0",
44
"description": "insert implicit module globals into a module-deps stream",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)