{"name":"globals","version":"17.1.0","keywords":["globals","global","identifiers","variables","vars","jshint","eslint","environments"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"globals@17.1.0","maintainers":[{"name":"byk","email":"ben@byk.im"},{"name":"nzakas","email":"nicholas@nczconsulting.com"},{"name":"lo1tuma","email":"schreck.mathias@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/globals#readme","bugs":{"url":"https://github.com/sindresorhus/globals/issues"},"xo":{"rules":{"unicorn/prefer-module":"off"},"overrides":[{"files":["data/*.mjs"],"rules":{"camelcase":"off","unicorn/filename-case":["error",{"cases":{"camelCase":true,"kebabCase":true}}],"import/no-anonymous-default-export":"off"}},{"files":["scripts/*.mjs"],"rules":{"n/no-unsupported-features/node-builtins":"off"}},{"envs":["browser","worker","serviceworker"],"files":["scripts/browser/assets/**/*.mjs"],"rules":{"unicorn/prefer-add-event-listener":"off","n/no-unsupported-features/node-builtins":"off"}}]},"tsd":{"compilerOptions":{"resolveJsonModule":true}},"dist":{"shasum":"03448e667caa3914312a7937eef48c4a59dc6859","tarball":"http://registry-npm.ywwl.com/globals/download/globals-17.1.0.tgz","fileCount":6,"integrity":"sha512-8HoIcWI5fCvG5NADj4bDav+er9B9JMj2vyL2pI8D0eismKyUvPLTSs+Ln3wqhwcp306i73iyVnEKx3F6T47TGw==","signatures":[{"sig":"MEQCIBcKNThZ0yzsPQm7HSzZG9ghqBO+Inj0L9e0n+EdAZhQAiBOR9Ag/rN+UcYFY/Qef4dyaqrS95NRa9kDBkaZBt7U/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":240585,"size":29169,"noattachment":false,"key":"/globals/-/globals-17.1.0.tgz"},"types":"./index.d.ts","engines":{"node":">=18"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"7a2f3546a195b67ee07d76acce39499d34b4c8fe","scripts":{"test":"npm run build && xo && ava && tsd","build":"run-s build:data build:types","update":"node scripts/update.mjs","prepare":"npm run build","build:data":"node scripts/generate-data.mjs","build:types":"node scripts/generate-types.mjs","update:jest":"node scripts/update.mjs --job=jest","update:vitest":"node scripts/update.mjs --job=vitest","update:worker":"node scripts/update.mjs --job=worker","update:browser":"node scripts/update.mjs --job=browser","update:builtin":"node scripts/update.mjs --job=builtin","update:shelljs":"node scripts/update.mjs --job=shelljs","update:bunBuiltin":"node scripts/update.mjs --job=bunBuiltin","update:denoBuiltin":"node scripts/update.mjs --job=denoBuiltin","update:nodeBuiltin":"node scripts/update.mjs --job=nodeBuiltin","update:audioWorklet":"node scripts/update.mjs --job=audioWorklet","update:sharedWorker":"node scripts/update.mjs --job=sharedWorker","update:serviceworker":"node scripts/update.mjs --job=serviceworker","update:builtin-yearly":"node scripts/update.mjs --job=builtin-yearly"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/globals.git","type":"git"},"_npmVersion":"11.7.0","description":"Global identifiers from different JavaScript environments","directories":{},"sideEffects":false,"_nodeVersion":"25.3.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.60.0","ava":"^6.3.0","tsd":"^0.32.0","cheerio":"^1.0.0","outdent":"^0.8.0","shelljs":"^0.9.2","get-port":"^7.1.0","puppeteer":"^24.36.0","type-fest":"^4.41.0","nano-spawn":"^0.2.0","npm-run-all2":"^8.0.1","is-identifier":"^1.0.1","eslint-plugin-jest":"^28.11.0","@vitest/eslint-plugin":"^1.1.44"},"_npmOperationalInternal":{"tmp":"tmp/globals_17.1.0_1769134945738_0.4488112149825958","host":"s3://npm-registry-packages-npm-production"},"readme":"# globals\n\n> Global identifiers from different JavaScript environments\n\nIt's just a [JSON file](globals.json), so you can use it in any environment.\n\nThis package is used by ESLint 8 and earlier. For ESLint 9 and later, you should depend on this package directly in [your ESLint config](https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables).\n\n## Install\n\n```sh\nnpm install globals\n```\n\n## Usage\n\n```js\nimport globals from 'globals';\n\nconsole.log(globals.browser);\n/*\n{\n\taddEventListener: false,\n\tapplicationCache: false,\n\tArrayBuffer: false,\n\tatob: false,\n\t…\n}\n*/\n```\n\nEach global is given a value of `true` or `false`. A value of `true` indicates that the variable may be overwritten. A value of `false` indicates that the variable should be considered read-only. This information is used by static analysis tools to flag incorrect behavior. We assume all variables should be `false` unless we hear otherwise.\n\nFor Node.js this package provides two sets of globals:\n\n- `globals.nodeBuiltin`: Globals available to all code running in Node.js.\n\tThese will usually be available as properties on the `globalThis` object and include `process`, `Buffer`, but not CommonJS arguments like `require`.\n\tSee: https://nodejs.org/api/globals.html\n- `globals.node`: A combination of the globals from `nodeBuiltin` plus all CommonJS arguments (\"CommonJS module scope\").\n\tSee: https://nodejs.org/api/modules.html#modules_the_module_scope\n\nWhen analyzing code that is known to run outside of a CommonJS wrapper, for example, JavaScript modules, `nodeBuiltin` can find accidental CommonJS references.\n","publish_time":1769134945905,"_cnpm_publish_time":1769134945905,"dist-tags":{"latest":"17.14.0"}}