@ungap/global-this
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -11,3 +11,4 @@ (function (Object) { | ||
function get() { | ||
this.globalThis = this; | ||
var global = this || self; | ||
global.globalThis = global; | ||
delete Object.prototype._T_; | ||
@@ -14,0 +15,0 @@ } |
@@ -11,3 +11,4 @@ (function (Object) { | ||
function get() { | ||
this.globalThis = this; | ||
var global = this || self; | ||
global.globalThis = global; | ||
delete Object.prototype._T_; | ||
@@ -14,0 +15,0 @@ } |
@@ -11,5 +11,6 @@ (function (Object) { | ||
function get() { | ||
this.globalThis = this; | ||
var global = this || self; | ||
global.globalThis = global; | ||
delete Object.prototype._T_; | ||
} | ||
}(Object)); |
@@ -1,1 +0,1 @@ | ||
!function(t){function e(){this.globalThis=this,delete t.prototype._T_}"object"!=typeof globalThis&&(this?e():(t.defineProperty(t.prototype,"_T_",{configurable:!0,get:e}),_T_))}(Object); | ||
!function(t){function e(){var e=this||self;e.globalThis=e,delete t.prototype._T_}"object"!=typeof globalThis&&(this?e():(t.defineProperty(t.prototype,"_T_",{configurable:!0,get:e}),_T_))}(Object); |
{ | ||
"name": "@ungap/global-this", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A cross engine globalThis.", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
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
2458
47