{"bugs":{"url":"https://github.com/PostHog/posthog-js/issues"},"dist":{"shasum":"852ac03e02bbad161438eeca0751c246cadc44e7","tarball":"https://registry.npmjs.org/posthog-js/-/posthog-js-1.245.2.tgz","fileCount":504,"integrity":"sha512-6N2CMksaTXolR4z6UmMgJt6NdDvfGMJu4gLrV9te855aKm6huLviIQ3AUY8XTsd64YqVhrGyIyk3Nnfm45OPgg==","signatures":[{"sig":"MEQCIAzjAhi20xolEvHLXNINNxJFAk6vAWjJ89rdPduBq7uvAiBdBjDAcF+Zv3Qr8jYRbz/3LbdfSBiiJUWo38j1iISpwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22117912},"main":"dist/main.js","name":"posthog-js","pnpm":{"patchedDependencies":{"@rrweb/record@2.0.0-alpha.17":"patches/@rrweb__record@2.0.0-alpha.17.patch","@rrweb/rrweb-plugin-console-record@2.0.0-alpha.17":"patches/@rrweb__rrweb-plugin-console-record@2.0.0-alpha.17.patch"}},"types":"dist/module.d.ts","author":{"name":"hey@posthog.com"},"module":"dist/module.js","gitHead":"fb4fc0f63189d6f54e058ee4fd09373f5f4c7ab2","license":"SEE LICENSE IN LICENSE","scripts":{"lint":"eslint src && eslint playwright","test":"pnpm test:unit && pnpm test:custom-eslint-rules && pnpm test:functional","build":"pnpm build-rollup && pnpm build-react","start":"pnpm build-react && NODE_OPTIONS=\"--max-old-space-size=8192\" pnpm build-rollup -w","prepare":"[ -z \"$VERCEL\" ] && husky install || echo \"Skipping husky install on vercel build\"","lint:fix":"eslint src --fix && eslint playwright --fix","prettier":"prettier --write src/ functional_tests/ playwright/","test:unit":"jest src","typecheck":"tsc --noEmit --project tsconfig.json","playwright":"pnpm exec playwright test --project webkit --project firefox --project chromium","test-watch":"jest --watch src","test:react":"cd react; pnpm test","build-react":"cd react; NODE_ENV=dev pnpm i; pnpm build;","build-rollup":"rm -rf lib && tsc -b && rollup -c --bundleConfigAsCjs","playwright-ui":"pnpm exec playwright test --ui --project webkit --project firefox --project chromium","prepublishOnly":"pnpm lint && pnpm build && pnpm test && pnpm test:react","prettier:check":"prettier --check src/ functional_tests/ playwright/","test:typecheck":"cd src/__tests__ && tsc --noEmit --project tsconfig.json","test:functional":"jest functional_tests","test:unit:surveys":"jest '.*surveys.*.test.'","playwright:surveys":"pnpm exec playwright test playwright/surveys/* --project webkit --project firefox --project chromium","playwright-webserver":"npx http-server ./ -p 8082","playwright:surveys:ui":"pnpm exec playwright test playwright/surveys/* --ui --project webkit --project firefox --project chromium","check-testcafe-results":"ts-node testcafe/check-testcafe-results.js","deprecate-old-versions":"node scripts/deprecate-old-versions.mjs","run-testcafe-localhost":"node scripts/run-testcafe-localhost.mjs","test:custom-eslint-rules":"jest eslint-rules","write-mangled-property-names":"WRITE_MANGLED_PROPERTIES=1 pnpm build-rollup"},"_npmUser":{"name":"timgl","email":"tim@posthog.com"},"homepage":"https://posthog.com/docs/libraries/js","repository":{"url":"git+https://github.com/PostHog/posthog-js.git","type":"git"},"_npmVersion":"10.8.2","description":"Posthog-js allows you to automatically capture usage and send events to PostHog.","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{ts,tsx}":["eslint src --fix","eslint playwright --fix","prettier --write"],"*.{ts,tsx,js,json}":"prettier --write"},"maintainers":[{"name":"timgl","email":"tim@posthog.com"}],"_nodeVersion":"18.20.8","browserslist":["> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11"],"dependencies":{"fflate":"^0.4.8","preact":"^10.19.3","core-js":"^3.38.1","web-vitals":"^4.2.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@9.15.4","devDependencies":{"msw":"^1.3.3","jest":"^27.5.1","husky":"^8.0.1","jsdom":"16.5.0","sinon":"9.0.2","tslib":"^2.5.0","yargs":"^17.7.2","eslint":"8.57.0","expect":"^29.7.0","rollup":"^4.28.1","cssnano":"^7.0.7","postcss":"^8.5.3","ts-node":"^10.9.2","date-fns":"^3.6.0","prettier":"^3.4.2","testcafe":"1.19.0","@types/web":"^0.0.222","babel-jest":"^26.6.3","fast-check":"^2.17.0","node-fetch":"^2.6.11","posthog-js":"link:","typescript":"^5.5.4","@babel/core":"7.27.1","@types/jest":"^27.5.2","@types/node":"^22.5.0","http-server":"14.1.1","lint-staged":"^10.2.11","@rrweb/types":"2.0.0-alpha.17","@types/sinon":"^17.0.1","browserslist":"^4.24.5","jsdom-global":"3.0.2","localStorage":"1.0.4","@jest/globals":"^27.5.1","@rrweb/record":"2.0.0-alpha.17","@sentry/types":"8.7.0","@types/eslint":"^8.44.6","postcss-import":"^16.1.0","postcss-nesting":"^13.0.1","@playwright/test":"^1.52.0","@types/react-dom":"^18.0.10","compare-versions":"^6.1.0","@babel/preset-env":"7.27.2","rollup-plugin-dts":"^6.1.1","eslint-plugin-jest":"^28.8.3","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","eslint-plugin-react":"^7.30.1","@posthog/rrweb-types":"^0.0.13","@rollup/plugin-babel":"^6.0.4","@testing-library/dom":"^9.3.0","eslint-plugin-compat":"^6.0.1","@posthog/rrweb-record":"^0.0.13","@rollup/plugin-terser":"^0.4.4","rollup-plugin-postcss":"^4.0.2","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^5.2.1","@rollup/plugin-commonjs":"^28.0.1","@testing-library/preact":"^3.2.4","preact-render-to-string":"^6.3.1","@babel/preset-typescript":"^7.27.1","eslint-config-posthog-js":"link:eslint-rules","eslint-plugin-posthog-js":"link:eslint-rules","rollup-plugin-visualizer":"^5.12.0","@rollup/plugin-typescript":"^12.1.2","@testing-library/jest-dom":"^6.5.0","@typescript-eslint/parser":"^8.29.1","eslint-plugin-react-hooks":"^4.6.0","@rollup/plugin-node-resolve":"^16.0.0","eslint-plugin-no-only-tests":"^3.1.0","@babel/plugin-syntax-decorators":"^7.27.1","@typescript-eslint/eslint-plugin":"^8.29.1","@babel/plugin-transform-react-jsx":"^7.27.1","@rrweb/rrweb-plugin-console-record":"2.0.0-alpha.17","@posthog/rrweb-plugin-console-record":"^0.0.13","testcafe-browser-provider-browserstack":"1.14.0","@babel/plugin-transform-exponentiation-operator":"^7.27.1","@babel/plugin-transform-nullish-coalescing-operator":"^7.27.1"},"peerDependencies":{"@rrweb/types":"2.0.0-alpha.17","rrweb-snapshot":"2.0.0-alpha.17"},"peerDependenciesMeta":{"@rrweb/types":{"optional":true},"rrweb-snapshot":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/posthog-js_1.245.2_1747906572511_0.8487165357186779","host":"s3://npm-registry-packages-npm-production"},"_id":"posthog-js@1.245.2","version":"1.245.2"}