{
  "manifest": {
    "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"
      ]
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-globalthis-1.0.3-5852882a52b80dc301b0660273e1ed082f0b6ccf-integrity/node_modules/globalthis/package.json",
    "readmeFilename": "README.md",
    "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",
    "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2016 Jordan Harband\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz",
    "hash": "5852882a52b80dc301b0660273e1ed082f0b6ccf",
    "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==",
    "registry": "npm",
    "packageName": "globalthis",
    "cacheIntegrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== sha1-WFKIKlK4DcMBsGYCc+HtCC8LbM8="
  },
  "registry": "npm",
  "hash": "5852882a52b80dc301b0660273e1ed082f0b6ccf"
}