posthog-node
Advanced tools
Comparing version 1.3.0 to 2.0.0-alpha1
102
package.json
{ | ||
"name": "posthog-node", | ||
"version": "1.3.0", | ||
"description": "PostHog Node.js integration", | ||
"license": "MIT", | ||
"repository": "PostHog/posthog-node", | ||
"author": { | ||
"name": "PostHog", | ||
"email": "hey@posthog.com", | ||
"url": "https://posthog.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"limit": "25 KB", | ||
"path": "index.js" | ||
} | ||
], | ||
"scripts": { | ||
"dependencies": "yarn", | ||
"size": "size-limit", | ||
"test": "nyc ava tests/*.js", | ||
"report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov", | ||
"format": "prettier --write ." | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.d.ts", | ||
"event-validation.js", | ||
"cli.js", | ||
"feature-flags.js" | ||
], | ||
"bin": { | ||
"posthog": "cli.js" | ||
}, | ||
"keywords": [ | ||
"posthog", | ||
"stats", | ||
"analysis", | ||
"funnels" | ||
], | ||
"dependencies": { | ||
"axios": "0.24.0", | ||
"axios-retry": "^3.1.9", | ||
"component-type": "^1.2.1", | ||
"join-component": "^1.1.0", | ||
"md5": "^2.3.0", | ||
"ms": "^2.1.3", | ||
"remove-trailing-slash": "^0.1.1", | ||
"uuid": "^8.3.2" | ||
}, | ||
"devDependencies": { | ||
"ava": "^3.15.0", | ||
"basic-auth": "^2.0.1", | ||
"body-parser": "^1.17.1", | ||
"codecov": "^3.0.0", | ||
"commander": "^2.9.0", | ||
"delay": "^4.2.0", | ||
"express": "^4.15.2", | ||
"nyc": "^14.1.1", | ||
"pify": "^4.0.1", | ||
"prettier": "^2.3.1", | ||
"sinon": "^7.3.2", | ||
"size-limit": "^1.3.5", | ||
"snyk": "^1.171.1" | ||
} | ||
"name": "posthog-node", | ||
"version": "2.0.0-alpha1", | ||
"description": "PostHog Node.js integration", | ||
"repository": "PostHog/posthog-node", | ||
"scripts": { | ||
"prepublish": "cd .. && yarn build" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
"name": "PostHog", | ||
"email": "hey@posthog.com", | ||
"url": "https://posthog.com" | ||
}, | ||
"main": "lib/index.cjs.js", | ||
"module": "lib/index.esm.js", | ||
"types": "lib/index.d.ts", | ||
"dependencies": { | ||
"undici": "^5.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.0.0", | ||
"commander": "^9.3.0" | ||
}, | ||
"keywords": [ | ||
"posthog", | ||
"stats", | ||
"analysis", | ||
"funnels" | ||
], | ||
"bin": { | ||
"posthog": "cli.js" | ||
} | ||
} |
@@ -1,26 +0,11 @@ | ||
# PostHog Node.js Library | ||
# PostHog Node.js | ||
[](https://www.npmjs.com/package/posthog-node) | ||
[](https://opensource.org/licenses/MIT) | ||
> 🚧 This is a WIP. Currently the only officially supported way of using PostHog on the web is [posthog-node](https://github.com/PostHog/posthog-node) | ||
Please see [PostHog Docs](https://posthog.com/docs). | ||
Specifically, [Node.js library details](https://posthog.com/docs/libraries/node). | ||
Please see the main [PostHog docs](https://www.posthog.com/docs). | ||
## Releasing a new version | ||
Specifically, the [Node.js integration](https://posthog.com/docs/integrate/server/node) details. | ||
Just bump up `version` in `package.json` on the main branch and the new version will be published automatically. | ||
It's advised to use `bump patch/minor/major` label on PRs - that way the above will be done automatically | ||
when the PR is merged. | ||
Courtesy of GitHub Actions. | ||
## Thanks | ||
This library is largely based on the `analytics-node` package. | ||
## Questions? | ||
### [Join our Slack community.](https://posthog.com/slack) | ||
### [Join our Slack community.](https://join.slack.com/t/posthogusers/shared_invite/enQtOTY0MzU5NjAwMDY3LTc2MWQ0OTZlNjhkODk3ZDI3NDVjMDE1YjgxY2I4ZjI4MzJhZmVmNjJkN2NmMGJmMzc2N2U3Yjc3ZjI5NGFlZDQ) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
340359
1
2
21
3205
2
12
1
+ Addedundici@^5.8.0
+ Added@fastify/busboy@2.1.1(transitive)
+ Addedundici@5.28.5(transitive)
- Removedaxios@0.24.0
- Removedaxios-retry@^3.1.9
- Removedcomponent-type@^1.2.1
- Removedjoin-component@^1.1.0
- Removedmd5@^2.3.0
- Removedms@^2.1.3
- Removedremove-trailing-slash@^0.1.1
- Removeduuid@^8.3.2
- Removed@babel/runtime@7.26.9(transitive)
- Removedaxios@0.24.0(transitive)
- Removedaxios-retry@3.9.1(transitive)
- Removedcharenc@0.0.2(transitive)
- Removedcomponent-type@1.2.2(transitive)
- Removedcrypt@0.0.2(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-retry-allowed@2.2.0(transitive)
- Removedjoin-component@1.1.0(transitive)
- Removedmd5@2.3.0(transitive)
- Removedms@2.1.3(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedremove-trailing-slash@0.1.1(transitive)
- Removeduuid@8.3.2(transitive)