{"bugs":{"url":"https://github.com/PostHog/posthog-js/issues"},"dist":{"shasum":"cf7353108bc02c8559c1d8709c8d7e8f279020c4","tarball":"https://registry.npmjs.org/posthog-js/-/posthog-js-1.331.3.tgz","fileCount":630,"integrity":"sha512-3COFd84KB8AjDc95qZUexKqKfSHaSkyc/KjkD+IaK+MnCSR7zvPKyhrPUKqWigvP4wbiXiDNc1ojf0v1/vgumA==","signatures":[{"sig":"MEQCIFQc2cfQYHf53xHMFvy+26ip1Vt8WD9IpGYIsD36i/qJAiBKzFbDObuyiYbGY21MAY3cfo88GA+4QmGFCs+qncuKbg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/posthog-js@1.331.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28543726},"main":"dist/main.js","name":"posthog-js","_from":"file:posthog-js-1.331.3.tgz","types":"dist/module.d.ts","author":{"name":"hey@posthog.com"},"module":"dist/module.js","license":"SEE LICENSE IN LICENSE","scripts":{"dev":"tsc -b && NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -cw","lint":"eslint src && eslint playwright","test":"pnpm test:unit && pnpm test:functional","build":"tsc -b && rollup -c","clean":"rimraf lib dist react/dist","start":"pnpm build-react && NODE_OPTIONS=\"--max-old-space-size=8192\" pnpm build-rollup -w","package":"pnpm pack --out $PACKAGE_DEST/%s.tgz","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","check-react":"[ -d 'react/dist' ] || { echo '@posthog/react has not been built'; exit 1; }","playwright-ui":"pnpm exec playwright test --ui --project webkit --project firefox --project chromium","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 '.*survey.*.test.'","playwright:surveys":"pnpm exec playwright test packages/browser/playwright/mocked/surveys/* --project webkit --project firefox --project chromium","generate-references":"pnpm exec api-extractor run --config ./api-extractor.json --local && node scripts/generate-docs.js","playwright-webserver":"npx http-server ./ -p 2345","playwright:surveys:ui":"pnpm exec playwright test packages/browser/playwright/mocked/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","playwright:integration":"pnpm exec playwright test --config playwright.config.integration.ts --project webkit --project firefox --project chromium","run-testcafe-localhost":"node scripts/run-testcafe-localhost.mjs","write-mangled-property-names":"WRITE_MANGLED_PROPERTIES=1 pnpm build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d24f322a-cc71-48a3-9fc8-3dabddddc913"}},"homepage":"https://posthog.com/docs/libraries/js","_resolved":"/tmp/ff4eba8e02c7635a36d4ec6f78d14873/posthog-js-1.331.3.tgz","_integrity":"sha512-3COFd84KB8AjDc95qZUexKqKfSHaSkyc/KjkD+IaK+MnCSR7zvPKyhrPUKqWigvP4wbiXiDNc1ojf0v1/vgumA==","repository":{"url":"git+https://github.com/PostHog/posthog-js.git","type":"git"},"_npmVersion":"11.6.4","description":"Posthog-js allows you to automatically capture usage and send events to PostHog.","directories":{},"maintainers":[{"name":"watilo","email":"corywatilo@gmail.com"},{"name":"twixes","email":"dev@twixes.com"},{"name":"fuziontech","email":"fuziontech@gmail.com"},{"name":"mariusandra","email":"marius.andra@gmail.com"},{"name":"ben-posthog","email":"ben@posthog.com"},{"name":"timgl","email":"tim@posthog.com"},{"name":"fraserhopper","email":"fraser@posthog.com"},{"name":"manoelposthog","email":"manoel@posthog.com"},{"name":"robbie-c","email":"robbie.coomber@gmail.com"},{"name":"frankposthog","email":"frank@posthog.com"},{"name":"tom-posthog","email":"tom.p@posthog.com"},{"name":"adamleithp","email":"adamleithp@gmail.com"},{"name":"peterkirkhamposthog","email":"peter@posthog.com"},{"name":"joshuasnyder","email":"joshua@timenavi.com"},{"name":"huguespouillot","email":"hpouillot@gmail.com"}],"_nodeVersion":"22.21.1","browserslist":["> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11"],"dependencies":{"fflate":"^0.4.8","preact":"^10.28.0","core-js":"^3.38.1","dompurify":"^3.3.1","web-vitals":"^4.2.4","@posthog/core":"1.12.0","@posthog/types":"1.331.3","@opentelemetry/api":"^1.9.0","@opentelemetry/api-logs":"^0.208.0","@opentelemetry/sdk-logs":"^0.208.0","@opentelemetry/resources":"^2.2.0","query-selector-shadow-dom":"^1.0.1","@opentelemetry/exporter-logs-otlp-http":"^0.208.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^1.3.3","jest":"29.7.0","husky":"^8.0.1","jsdom":"16.7.0","sinon":"9.0.2","tslib":"^2.5.0","yargs":"^17.7.2","dotenv":"^17.2.0","expect":"^29.7.0","rollup":"^4.53.3","cssnano":"^7.0.7","postcss":"^8.5.3","ts-node":"^10.9.2","date-fns":"^3.6.0","testcafe":"^2.6.2","@types/web":"^0.0.222","babel-jest":"^29.7.0","fast-check":"^2.17.0","node-fetch":"^2.6.11","posthog-js":"link:","typescript":"5.8.2","@babel/core":"^7.27.1","@types/jest":"^29.5.14","@types/node":"^22.5.0","http-server":"14.1.1","@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":"^29.7.0","@rrweb/record":"2.0.0-alpha.17","@sentry/types":"8.7.0","@types/dotenv":"^8.2.3","postcss-import":"^16.1.0","postcss-nesting":"^13.0.1","@playwright/test":"^1.52.0","@types/dompurify":"^3.2.0","compare-versions":"^6.1.0","@babel/preset-env":"^7.27.1","rollup-plugin-dts":"^6.2.3","identity-obj-proxy":"^3.0.0","@rollup/plugin-json":"^6.1.0","@posthog/rrweb-types":"^0.0.35","@rollup/plugin-babel":"^6.0.4","@testing-library/dom":"^10.4.1","@posthog/rrweb-record":"^0.0.35","@rollup/plugin-terser":"^0.4.4","rollup-plugin-postcss":"^4.0.2","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^28.0.6","@testing-library/preact":"^3.2.4","preact-render-to-string":"^6.3.1","@babel/preset-typescript":"^7.27.1","rollup-plugin-visualizer":"^6.0.3","@rollup/plugin-typescript":"^12.1.4","@testing-library/jest-dom":"^6.9.1","@rollup/plugin-node-resolve":"^16.0.1","@posthog-tooling/rollup-utils":"1.1.1","@babel/plugin-syntax-decorators":"^7.27.1","@types/query-selector-shadow-dom":"^1.0.4","@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.35","testcafe-browser-provider-browserstack":"^1.15.2","@babel/plugin-transform-exponentiation-operator":"^7.27.1","@babel/plugin-transform-nullish-coalescing-operator":"^7.27.1"},"_npmOperationalInternal":{"tmp":"tmp/posthog-js_1.331.3_1768939775310_0.09583147498149036","host":"s3://npm-registry-packages-npm-production"},"_id":"posthog-js@1.331.3","version":"1.331.3"}