-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/optional-values
# Conflicts: # src/posthog-core.ts
- Loading branch information
Showing
30 changed files
with
774 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
src: './testcafe', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "posthog-js", | ||
"version": "1.75.4", | ||
"version": "1.77.3", | ||
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", | ||
"repository": "https://github.com/PostHog/posthog-js", | ||
"author": "[email protected]", | ||
|
@@ -46,14 +46,15 @@ | |
"@types/jest": "^29.5.1", | ||
"@types/react-dom": "^18.0.10", | ||
"@types/uuid": "^9.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.30.7", | ||
"@typescript-eslint/parser": "^5.30.7", | ||
"@typescript-eslint/eslint-plugin": "^6.4.0", | ||
"@typescript-eslint/parser": "^6.4.0", | ||
"babel-eslint": "10.1.0", | ||
"babel-jest": "^26.6.3", | ||
"cypress": "10.3.1", | ||
"eslint": "8.20.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-compat": "^4.1.4", | ||
"eslint-plugin-jest": "^27.2.3", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-react": "^7.30.1", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
|
@@ -77,10 +78,11 @@ | |
"rrweb-snapshot": "2.0.0-alpha.8", | ||
"rrweb-v1": "npm:[email protected]", | ||
"sinon": "9.0.2", | ||
"testcafe": "^1.19.0", | ||
"testcafe-browser-provider-browserstack": "^1.14.0", | ||
"testcafe": "1.19.0", | ||
"testcafe-browser-provider-browserstack": "1.14.0", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.7.4" | ||
"typescript": "^4.7.4", | ||
"yargs": "^17.7.2" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx,js,json}": "prettier --write", | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import Head from 'next/head' | ||
import Link from 'next/link' | ||
import React from 'react' | ||
|
||
export default function Home() { | ||
return ( | ||
<> | ||
<Head> | ||
<title>PostHog</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
</Head> | ||
<main> | ||
<h1>A long page</h1> | ||
<div className="buttons"> | ||
<Link href="/">Home</Link> | ||
</div> | ||
|
||
{Array.from({ length: 100 }, (_, i) => ( | ||
<p key={i}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | ||
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco | ||
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in | ||
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat | ||
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
))} | ||
|
||
<div className="buttons"> | ||
<Link href="/">Home</Link> | ||
</div> | ||
</main> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Head from 'next/head' | ||
|
||
export default function Home() { | ||
return ( | ||
<> | ||
<Head> | ||
<title>PostHog</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
</Head> | ||
<main> | ||
<h1>Video</h1> | ||
<p>Useful testing for Replay handling video elements</p> | ||
<div style={{margin: 10}}> | ||
<h3>Video</h3> | ||
<video controls={true} style={{width: 500}}> | ||
<source src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" /> | ||
</video> | ||
</div> | ||
|
||
<div style={{margin: 10}}> | ||
<h3>Audio</h3> | ||
<audio controls={true}> | ||
<source src="https://github.com/rafaelreis-hotmart/Audio-Sample-files/raw/master/sample.mp3" type="audio/mp3" /> | ||
</audio> | ||
</div> | ||
</main> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.