Comparing version 0.0.5 to 0.0.6
@@ -23,3 +23,3 @@ "use strict"; | ||
var d = (0, _index.doc)(); | ||
(0, _chai.expect)(d["null"]).to.be["true"]; | ||
(0, _chai.expect)(d.__null).to.be["true"]; | ||
}); | ||
@@ -39,4 +39,4 @@ }); | ||
var w = (0, _index.win)(); | ||
(0, _chai.expect)(w["null"]).to.be["true"]; | ||
(0, _chai.expect)(w.__null).to.be["true"]; | ||
}); | ||
}); |
@@ -15,3 +15,3 @@ "use strict"; | ||
return 'undefined' !== typeof w.document ? w.document : { | ||
"null": true | ||
__null: true | ||
}; | ||
@@ -24,3 +24,3 @@ }; | ||
return 'undefined' !== typeof window ? window : { | ||
"null": true | ||
__null: true | ||
}; | ||
@@ -27,0 +27,0 @@ }; |
@@ -16,3 +16,3 @@ import { win, doc } from '../index.js'; | ||
var d = doc(); | ||
expect(d["null"]).to.be["true"]; | ||
expect(d.__null).to.be["true"]; | ||
}); | ||
@@ -32,4 +32,4 @@ }); | ||
var w = win(); | ||
expect(w["null"]).to.be["true"]; | ||
expect(w.__null).to.be["true"]; | ||
}); | ||
}); |
@@ -8,3 +8,3 @@ /** | ||
return 'undefined' !== typeof w.document ? w.document : { | ||
"null": true | ||
__null: true | ||
}; | ||
@@ -15,3 +15,3 @@ }; | ||
return 'undefined' !== typeof window ? window : { | ||
"null": true | ||
__null: true | ||
}; | ||
@@ -18,0 +18,0 @@ }; |
{ | ||
"name": "win-doc", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Simple to avoid global not found error", | ||
@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4431