posthog-js
Advanced tools
Comparing version 1.28.0 to 1.29.0
@@ -0,1 +1,5 @@ | ||
## 1.29.0 - 2022-08-16 | ||
- fix: Use rollup and fix define module issues (#434) | ||
## 1.27.0 - 2022-08-01 | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "posthog-js", | ||
"version": "1.28.0", | ||
"version": "1.29.0", | ||
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", | ||
@@ -9,6 +9,4 @@ "repository": "https://github.com/PostHog/posthog-js", | ||
"scripts": { | ||
"start": "parcel watch src/loader-globals.ts --out-file dist/array.js", | ||
"serve": "parcel serve src/loader-globals.ts --port 3001 --out-file dist/array.js", | ||
"build": "yarn build-array && yarn build-rollup && yarn build-react", | ||
"build-array": "parcel build src/loader-globals.ts --out-file dist/array.js --public-url=/static", | ||
"start": "yarn build-rollup -w", | ||
"build": "yarn build-rollup && yarn build-react", | ||
"build-rollup": "tsc -b && rollup -c", | ||
@@ -28,2 +26,3 @@ "build-react": "cd react; yarn; yarn build;", | ||
"files": [ | ||
"lib/*", | ||
"dist/*", | ||
@@ -64,3 +63,2 @@ "react/dist/*" | ||
"node-fetch": "^2.6.1", | ||
"parcel": "1.12.3", | ||
"posthog-js": "link:.", | ||
@@ -70,2 +68,3 @@ "prettier": "^2.7.1", | ||
"rollup-plugin-dts": "^4.2.2", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rrweb": "^1.1.3", | ||
@@ -72,0 +71,0 @@ "sinon": "9.0.2", |
@@ -20,3 +20,3 @@ # PostHog Browser JS Library | ||
2. Run `python manage.py setup_dev --no-data` on posthog repo, which sets up a demo account. | ||
3. Optional: rebuild array.js on changes: `nodemon -w src/ --exec bash -c "yarn build-array"`. | ||
3. Optional: rebuild array.js on changes: `nodemon -w src/ --exec bash -c "yarn build-rollup"`. | ||
4. Export browserstack credentials: `export BROWSERSTACK_USERNAME=xxx BROWSERSTACK_ACCESS_KEY=xxx`. | ||
@@ -23,0 +23,0 @@ 5. Run tests: `npx testcafe "browserstack:ie" testcafe/e2e.spec.js`. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
28
1
1
2163046
14200