Skip to content

Commit

Permalink
Merge branch 'main' into dn-chore/upgrade-rrweb
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Oct 17, 2024
2 parents b6f2a18 + ded55cf commit 9245c9e
Show file tree
Hide file tree
Showing 11 changed files with 414 additions and 301 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"presets": ["@babel/env", ["@babel/typescript", { "jsxPragma": "h" }]],
"plugins": [
"@babel/plugin-transform-nullish-coalescing-operator",
[
"@babel/transform-react-jsx",
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Server-side rendering and ES5
name: ES5 support check

on:
- pull_request
Expand All @@ -19,8 +19,5 @@ jobs:

- run: pnpm install && pnpm build

- name: Run es-check to check if our bundle is ES5 compatible
run: npx es-check@6.1.1 es5 dist/{array,main}.js

- name: Require module via node
run: cd dist; node -e "require('./main')"
- name: Run es-check to check if our ie11 bundle is ES5 compatible
run: npx es-check@7.2.1 es5 dist/array.full.es5.js
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 1.172.0 - 2024-10-17

- chore: build an es5 bundle and move main to es6 (#1480)

## 1.171.0 - 2024-10-17

- feat: start session recording on url trigger (#1451)
- chore: babel targets in rollup config (#1479)

## 1.170.1 - 2024-10-16

- feat: add stack to stacktraceless "exceptions" (#1472)
Expand Down
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthog-js",
"version": "1.170.1",
"version": "1.172.0",
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.",
"repository": "https://github.com/PostHog/posthog-js",
"author": "hey@posthog.com",
Expand Down Expand Up @@ -38,30 +38,33 @@
"react/package.json"
],
"dependencies": {
"core-js": "^3.38.1",
"fflate": "^0.4.8",
"preact": "^10.19.3",
"web-vitals": "^4.0.1"
"web-vitals": "^4.2.0"
},
"devDependencies": {
"@babel/core": "7.18.9",
"@babel/plugin-syntax-decorators": "^7.23.3",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.25.8",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "7.18.9",
"@babel/preset-typescript": "^7.18.6",
"@cypress/skip-test": "^2.6.1",
"@jest/globals": "^27.5.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-typescript": "^12.1.1",
"@rrweb/types": "2.0.0-alpha.16",
"@sentry/types": "8.7.0",
"@testing-library/dom": "^9.3.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/preact": "^3.2.4",
"@types/eslint": "^8.44.6",
"@types/jest": "^27.5.1",
"@types/jest": "^27.5.2",
"@types/node": "^22.5.0",
"@types/react-dom": "^18.0.10",
"@types/sinon": "^17.0.1",
Expand Down Expand Up @@ -97,9 +100,8 @@
"posthog-js": "link:",
"preact-render-to-string": "^6.3.1",
"prettier": "^2.7.1",
"rollup": "^4.9.6",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-ts": "^3.4.5",
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-visualizer": "^5.12.0",
"rrweb": "2.0.0-alpha.16",
"@rrweb/rrweb-plugin-console-record": "2.0.0-alpha.15",
Expand Down
Loading

0 comments on commit 9245c9e

Please sign in to comment.