{"_id":"globalthis","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"keywords":["window","self","global","globalThis","System.global","global object","global this value","ECMAScript","es-shim API","polyfill","shim"],"dist-tags":{"latest":"1.0.4"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"description":"ECMAScript spec-compliant polyfill/shim for `globalThis`","readme":"# globalThis <sup>[![Version Badge][npm-version-svg]][npm-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][npm-url]\n\nAn ECMAScript spec-compliant polyfill/shim for `globalThis`. Invoke its \"shim\" method to shim `globalThis` if it is unavailable.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec proposal](https://github.com/tc39/proposal-global).\n\nMost common usage:\n```js\nvar globalThis = require('globalthis')(); // returns native globalThis if compliant\n\t/* or */\nvar globalThis = require('globalthis/polyfill')(); // returns native globalThis if compliant\n```\n\n## Example\n\n```js\nvar assert = require('assert');\n\n// the below function is not CSP-compliant, but reliably gets the\n// global object in sloppy mode in every engine.\nvar getGlobal = Function('return this');\n\nassert.equal(globalThis, getGlobal());\n```\n\n```js\n/* when `globalThis` is not present */\nvar shimmedGlobal = require('globalthis').shim();\n\t/* or */\nvar shimmedGlobal = require('globalthis/shim')();\n\nassert.equal(shimmedGlobal, globalThis);\nassert.equal(shimmedGlobal, getGlobal());\n```\n\n```js\n/* when `globalThis` is present */\nvar shimmedGlobal = require('globalthis').shim();\n\nassert.equal(shimmedGlobal, globalThis);\nassert.equal(shimmedGlobal, getGlobal());\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[npm-url]: https://npmjs.org/package/globalthis\n[npm-version-svg]: https://versionbadg.es/ljharb/globalThis.svg\n[deps-svg]: https://david-dm.org/ljharb/globalThis.svg?theme=shields.io\n[deps-url]: https://david-dm.org/ljharb/globalThis\n[dev-deps-svg]: https://david-dm.org/ljharb/globalThis/dev-status.svg?theme=shields.io\n[dev-deps-url]: https://david-dm.org/ljharb/globalThis#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/globalthis.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/globalthis.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/globalthis.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=globalthis\n[codecov-image]: https://codecov.io/gh/es-shims/globalThis/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/globalThis/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/globalThis\n[actions-url]: https://github.com/es-shims/globalThis/actions\n","repository":{"type":"git","url":"git://github.com/ljharb/System.global.git"},"bugs":{"url":"https://github.com/ljharb/System.global/issues"},"license":"MIT","versions":{"1.0.3":{"name":"globalthis","version":"1.0.3","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"ECMAScript spec-compliant polyfill/shim for `globalThis`","license":"MIT","main":"index.js","browser":{"./implementation":"./implementation.browser.js"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest && npm run build","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run --silent tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound --property","build":"mkdir -p dist && browserify browserShim.js > dist/browser.js","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/System.global.git"},"keywords":["window","self","global","globalThis","System.global","global object","global this value","ECMAScript","es-shim API","polyfill","shim"],"dependencies":{"define-properties":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","browserify":"^16.5.2","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","is":"^3.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":["browserShim.js",".github/workflows"]},"gitHead":"8bc4bb4c715f89390fe083f2e2ed277474775972","bugs":{"url":"https://github.com/ljharb/System.global/issues"},"homepage":"https://github.com/ljharb/System.global#readme","_id":"globalthis@1.0.3","_nodeVersion":"18.0.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==","shasum":"5852882a52b80dc301b0660273e1ed082f0b6ccf","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/globalthis/-/globalthis-1.0.3.tgz","fileCount":17,"unpackedSize":22380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvl6Ag3XlEnTExP1AGX3sNtmXfpsdMoeK4U5G5TmZa6AiBRaAOvooCeEgj4WcQMjJH9f84jXP8SDBBRykaGdy9knA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidpV4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKDg/9HkPutWTbqpPPvfQ0ue+8JNQ7/p/syvt7nuvIHWP5eH422B9F\r\nIAM4rr8XlWtPsaLxibNnEPY5HZoDARvjEYo8Pu+C5lcnfSK0wyycjVzL9Nkx\r\ngSpmnC8VRDgLmlvOM2OnRwzR+tcN2zCjHI9Gj1sxbNdy8/uKHONB0Te8SDqz\r\n0kXQl2eYPVCwT/WlKm6gou7oIq7UtgZB0HXmIpQBZus5rMfUmbBLaZozvH6H\r\ntbOsTdtvg5tSt7aRt7EmI5hcXjBJqWpOmdqtojcrT/CZe1EgZkFhU5s5+J9i\r\nRS2C9Km/3ZjA+N5Ha29ve3AG4PJkYAh/43ZvxvxcsOUl+ls/6B4rEc4BftFO\r\nnVFjloBurAT6Of7IFE2WOff6KTdWSpKxnIZLaCo0dUluqe63OMB6ZfNv+VST\r\nUTFFjaayL4JGqvWdxnYdeVo0bg9BFpqlkK4EOw50mpVpmfOS2w8YmIWhp14B\r\n6Wg3wkpONbWQWEABLI3CWlMA0MDm6F5FIG78cEW4VjJSesC7Vhkh/UWOVhaV\r\nbyOEQ0exlNGNj63ITxldwmVvEcT8vQn78WzHGjWw+P45gLZXRAGIkR5xctgV\r\nB8u0kmoKne2VVaYTqtn1XpbktbSujaIryJv2CkoewDXucXsCQ/Z0ip6D3Go3\r\nYb3xNFBoZhOrJgagfLWmEgZ//j390LcgZhk=\r\n=awEf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globalthis_1.0.3_1651938680679_0.6455229664483892"},"_hasShrinkwrap":false},"1.0.4":{"name":"globalthis","version":"1.0.4","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"ECMAScript spec-compliant polyfill/shim for `globalThis`","license":"MIT","main":"index.js","browser":{"./implementation":"./implementation.browser.js"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest && npm run build","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run --silent tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound --property","build":"mkdir -p dist && browserify browserShim.js > dist/browser.js","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/System.global.git"},"keywords":["window","self","global","globalThis","System.global","global object","global this value","ECMAScript","es-shim API","polyfill","shim"],"dependencies":{"define-properties":"^1.2.1","gopd":"^1.0.1"},"devDependencies":{"@es-shims/api":"^2.5.0","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","browserify":"^16.5.2","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","is":"^3.3.0","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.5"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":["browserShim.js",".github/workflows"]},"_id":"globalthis@1.0.4","gitHead":"ac7b854ca44994583a71a5de17dd73a70e8beeb4","bugs":{"url":"https://github.com/ljharb/System.global/issues"},"homepage":"https://github.com/ljharb/System.global#readme","_nodeVersion":"22.0.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==","shasum":"7430ed3a975d97bfb59bcce41f5cabbafa651236","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/globalthis/-/globalthis-1.0.4.tgz","fileCount":17,"unpackedSize":23665,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvUhEtHNEDYj/BzG8TE6G0nwY0uOgp1CB41sXZjfdAEgIgRVTcl6smYgAa84b4igskyQjC0bKFE6iuZ+klqG9OEIE="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globalthis_1.0.4_1714444558892_0.7093046903349614"},"_hasShrinkwrap":false},"1.0.0":{"name":"globalthis","version":"1.0.0","author":{"name":"Jordan Harband"},"description":"ECMAScript spec-compliant polyfill/shim for `globalThis`","license":"MIT","main":"index.js","scripts":{"pretest":"npm run --silent lint && es-shim-api --bound --property","test":"npm run --silent tests-only","posttest":"npm run --silent security","tests-only":"npm run --silent test:implementation && npm run --silent test:shim","test:native":"node test/native.js","test:shim":"node test/shimmed.js","test:implementation":"node test/index.js","coverage":"covert test/*.js","coverage:quiet":"covert test/*.js --quiet","lint":"npm run --silent jscs && npm run --silent eslint","eslint":"eslint *.js test/*.js","jscs":"jscs *.js test/*.js","build":"mkdir -p dist && browserify browserShim.js > dist/browser.js","prepublish":"npm run --silent build","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/ljharb/System.global.git"},"keywords":["window","self","global","globalThis","System.global","global object","global this value","ECMAScript","es-shim API","polyfill","shim"],"dependencies":{"define-properties":"^1.1.2","function-bind":"^1.1.1","object-keys":"^1.0.12"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^13.0.0","browserify":"^16.2.2","covert":"^1.1.0","eslint":"^5.3.0","for-each":"^0.3.3","is":"^3.2.1","jscs":"^3.0.7","nsp":"^3.2.1","tape":"^4.9.1"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"gitHead":"e3589972860b976b8ea8c324363b3a8145049f97","bugs":{"url":"https://github.com/ljharb/System.global/issues"},"homepage":"https://github.com/ljharb/System.global#readme","_id":"globalthis@1.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"integrity":"sha512-vcCAZTJ3r5Qcu5l8/2oyVdoFwxKgfYnMTR2vwWeux/NAVZK3PwcMaWkdUIn4GJbmKuRK7xcvDsLuK+CKcXyodg==","shasum":"c5fb98213a9b4595f59cf3e7074f141b4169daae","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/globalthis/-/globalthis-1.0.0.tgz","fileCount":16,"unpackedSize":20254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbUCOCRA9TVsSAnZWagAAZvMP/2qkcLiywrpvkshfFokh\ne4KzzUlk3DF1hmxQ3W952K0BjrZhwkMaS8Pvj2M9mZcOBNMJ+R5MWEPHhgHq\n5T43vdoGMrXVDBqFfHqOwhPftONmJKGqJoh44roOmWkHZrPvhIC8BEv3MHjo\n4iBmLb4RWQl2OGaNrX+5CCSFAdRx4LmDl+1bpfs6Z2tvILIQ/9aBGrLtfNq8\n9n0nVquX7MkUyWfxMuseHz+46vnElQD3dOYvU4h2JP5TPBmnXketr4cfLPSo\nOyY9p/FstmDhQp3vLGg+HG63Uq++Jdx6iikRMTtkfuu8Cq/EMJa2WqjEBgRi\n/zbMZqLll8OXVTC+z4L+4h2VS9llJsac6tBFHayCVIhAHxz7H4WiAx2v7n2Z\nYsA7p5Texx17/wAiMQmutWOL1Ydv2xiCjbZgexfyeHGX2Cf9fdSl5oxn0rqW\nliNP6Mt46psqDLBhJqOFLibHMc/gH8vO7GQH94fguWa6pc1JK25U9+y3Q99m\nyPkbnPO+ybquOXddZ5G5BI5xXdTxeWPckLLrcjGprSz1qz3zDXJkKB/22OMw\nHS29iABcvPNJrz/fJfw8KBKQd8O9d9K5PwkzYTZZreD7Vdr9g2xYE0ONNjJ5\n20qsUjPMVQPeuTIewrrPdwbc50E4Qi+llM4xzY3tddVvHWMS/47OGiwDkUL4\nLlf/\r\n=VRUK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQxoo+MwZGgowV5HuwD7Wlevl7UtF7Nkd5AKj8EchdTAIhAJW7uvpxHd2RVZ8pqN/TTTVvIlcqVTqof7RB9RvhRN5t"}]},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globalthis_1.0.0_1533886605843_0.9880878702697569"},"_hasShrinkwrap":false},"1.0.1":{"name":"globalthis","version":"1.0.1","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"ECMAScript spec-compliant polyfill/shim for `globalThis`","license":"MIT","main":"index.js","browser":{"./implementation":"./implementation.browser.js"},"scripts":{"pretest":"npm run --silent lint && es-shim-api --bound --property","test":"npm run --silent tests-only","posttest":"npx aud","tests-only":"npm run --silent test:implementation && npm run --silent test:shim","test:native":"node test/native.js","test:shim":"node test/shimmed.js","test:implementation":"node test/index.js","coverage":"covert test/*.js","coverage:quiet":"covert test/*.js --quiet","lint":"eslint .","build":"mkdir -p dist && browserify browserShim.js > dist/browser.js","prepublish":"npm run --silent build","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/System.global.git"},"keywords":["window","self","global","globalThis","System.global","global object","global this value","ECMAScript","es-shim API","polyfill","shim"],"dependencies":{"define-properties":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^15.0.2","auto-changelog":"^1.16.2","browserify":"^16.5.0","covert":"^1.1.1","eslint":"^6.7.2","for-each":"^0.3.3","is":"^3.3.0","tape":"^4.11.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"de44cf7fcca3801c339df0ef3d19e1c40d9d09a2","bugs":{"url":"https://github.com/ljharb/System.global/issues"},"homepage":"https://github.com/ljharb/System.global#readme","_id":"globalthis@1.0.1","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"integrity":"sha512-mJPRTc/P39NH/iNG4mXa9aIhNymaQikTrnspeCa2ZuJ+mH2QN/rXwtX3XwKrHqWgUQFbNZKtHM105aHzJalElw==","shasum":"40116f5d9c071f9e8fb0037654df1ab3a83b7ef9","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/globalthis/-/globalthis-1.0.1.tgz","fileCount":18,"unpackedSize":25830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9nKoCRA9TVsSAnZWagAAV/IP/1Poa/lKCnHOmNp5hYBQ\ngfLnOD9WXHfDavOIrDm5kQZ+fJSaJNrsUlpQtHf2LtB7lDEzzYEeS00FS0qL\nJzg9TGpTvzu99s4zIuEtbzcSKc6WTJ+FiWHzeVb4fvrNPgmoskN5y+F4Trhn\nJTKdT6sXPuA3MB4x1vop+E5xZ3N5gkcX8HrxFhK8cSNo3gCtE0YU0ifIynur\n/xr+jtmRxQ8sEOLVIbm+dBovVUPG2Sw7nkGHg4BE7WJ7uuLaBsYabCpWWdDO\n2HOoH4XCvmCASPJ12l6+coBkDHdRgcbi6NfGGG/skia+coNLtMKm6hP+Ez5P\njaCW7m28X0Vat5JGsnNhMWWOu+9q0IUTEh67lkwZz7MF7O6KPCa7hOfs9M25\n2BQLxgLwMyH0Xi8pIb4ZkuiejFZ4osCchA5Nf+5hrhO/XwRSf8DksAF6iGRT\nNMWOVbYgKxxDX7UWwu1R3HZf8sqyj+nb1h+bs10UEzcO2dG7gsWJYL41AEut\nfgncGzL+O6iDBe45rEPt2da3SE0qnBrU6F4GhGaK8LU4XJ3pI767BQNYhZex\n6M3YeoTQZT6p+AuiiStCXmCVRz5xlKaYAJW147Qf3uv2KRdmbh5k9lNnlfJn\nk8dI274WLsAOOP0twCLmMozuXCKVht6OXckn8vrW27CucvKTeL7dtUku5pD+\nOs/T\r\n=WeXq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWddmmBlH41GP4pE8TtyV+YmMHMDe7wUeTOhAbRAmnkAiEA5AiXcPikcdr/MVHkfItXL/s+EXG8LtRqaPv3xHwpckE="}]},"maintainers":[{"email":"ljharb+esshims@gmail.com","name":"es-shims-owner"},{"email":"ljharb@gmail.com","name":"ljharb"}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globalthis_1.0.1_1576432296546_0.404246475618941"},"_hasShrinkwrap":false},"1.0.2":{"name":"globalthis","version":"1.0.2","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"ECMAScript spec-compliant polyfill/shim for `globalThis`","license":"MIT","main":"index.js","browser":{"./implementation":"./implementation.browser.js"},"scripts":{"prepublish":"safe-publish-latest && (not-in-publish || npm run --silent build)","pretest":"npm run lint","test":"npm run --silent tests-only","posttest":"npx aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint .","postlint":"es-shim-api --bound --property","build":"mkdir -p dist && browserify browserShim.js > dist/browser.js","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/System.global.git"},"keywords":["window","self","global","globalThis","System.global","global object","global this value","ECMAScript","es-shim API","polyfill","shim"],"dependencies":{"define-properties":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.5.1","aud":"^1.1.4","auto-changelog":"^2.2.1","browserify":"^16.5.2","eslint":"^7.20.0","for-each":"^0.3.3","in-publish":"^2.0.1","is":"^3.3.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.2.0"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"0aa16d5fa8ba9b97058960fe98f56d55573f085b","bugs":{"url":"https://github.com/ljharb/System.global/issues"},"homepage":"https://github.com/ljharb/System.global#readme","_id":"globalthis@1.0.2","_nodeVersion":"15.8.0","_npmVersion":"7.5.4","dist":{"integrity":"sha512-ZQnSFO1la8P7auIOQECnm0sSuoMeaSq0EEdXMBFF2QJO4uNcwbyhSgG3MruWNbFTqCLmxVwGOl7LZ9kASvHdeQ==","shasum":"2a235d34f4d8036219f7e34929b5de9e18166b8b","tarball":"https://nexus.nspop.dk/nexus/repository/nsp-npm/globalthis/-/globalthis-1.0.2.tgz","fileCount":20,"unpackedSize":67587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM/vFCRA9TVsSAnZWagAA96AP/2wC2aYkyzWz6OoCEVNi\n2f/MQ9afptEKc78a4Hvcvz7moZBW+Qhl98fCqOfBntDVzGv+CpdKr9PiSqS+\nhbGPOUNZRbcEl3Dy2lfkznbwJ4d6wtVER7h1aCWBKVrEnJg/2s6Qgkz8ZGnO\n37OAkRIkmNwf/E3F8N4cQz9PqVGAvgrRAAJfY3QpY9DIhjJr2A56xPCnX1EP\na92O1ukiM1xHOppKFdo5zpMSuqJR5fUlNpirEB/a1LG6Hty5IXwstva+jale\n0hGRMK/ekhTTAjmNfMGI+LN0ZKaeN38JXLu9x3QPbld4d0v73It9Qeb9RCtT\nHtq/plQM0aFOW4KR7W1KZOU7N1Ms7B2MPxuK5BJNE9y7XmitoOUBPeQ2STWJ\nHq7npKdh8jBfAh2Gr/A9BY2vLpAz/MNYROUJ/VkuMY703A7iv6RU2EhfSf1n\nufjAoiMNaaB0fTtCUo0cwyEc2neGGKlG41nQUQekRqXdE1DOQDzIPJ0y+2W0\nwmn7RTq17Gsujk5hCyIqMR0XoiQkwkrxE46QExksA5WMXrrNOCrK/5e3v39W\nQ+Bm56ulQCZIQOURBH6p6fmOCOkfsHk7ph+7n1BH9YxyFRnurlhkPMX1PucT\nY8x+XvDB+ZCELa236ysVOUAKwy+kSXFtg773aS43Md69AC7e6TTL5tAHrlFr\nlh+h\r\n=w7Iw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIByw5UykKGs9jNYvkKFj2QCHPjlTsSaNPJL23qtUAJTuAiEA/hPuaK+f09SGB9knWCBfmL9QX3jRkKV6MruKOIXvFlc="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globalthis_1.0.2_1614019525068_0.055499788302234565"},"_hasShrinkwrap":false}},"name":"globalthis","time":{"1.0.3":"2022-05-07T15:51:20.810Z","1.0.4":"2024-04-30T02:35:59.115Z","created":"2018-08-10T07:36:45.842Z","modified":"2025-05-07T15:13:12.806Z","1.0.0":"2018-08-10T07:36:45.922Z","1.0.1":"2019-12-15T17:51:36.683Z","1.0.2":"2021-02-22T18:45:25.242Z"},"readmeFilename":"README.md","homepage":"https://github.com/ljharb/System.global#readme"}