posthog-js
Advanced tools
Comparing version 1.8.0-beta.1 to 1.8.0
@@ -0,1 +1,8 @@ | ||
## 1.8.0 - 2020-12-14 | ||
- Using gzip-based compression over lzstring using the fflate library: [fflate](https://github.com/101arrowz/fflate). This reduces the amount of data transferred, and makes posthog servers respond faster (requires posthog 1.19.0). https://github.com/PostHog/posthog/issues/2560 | ||
- Support last touch $referrer and $referring_domain user properties https://github.com/PostHog/posthog-js/pull/139 | ||
- Publish a ES dist file https://github.com/PostHog/posthog-js/pull/157 | ||
- Publish a react integration for feature flags https://github.com/PostHog/posthog-js/pull/154 | ||
## 1.7.2 - 2020-11-28 | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "posthog-js", | ||
"version": "1.8.0-beta.1", | ||
"version": "1.8.0", | ||
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", | ||
@@ -11,8 +11,11 @@ "repository": "https://github.com/PostHog/posthog-js", | ||
"serve": "parcel serve src/loader-globals.js --port 3001 --out-file dist/array.js", | ||
"build": "parcel build src/loader-globals.js --out-file dist/array.js --no-source-maps", | ||
"build": "yarn build-array && yarn build-module && yarn build-es-module && yarn process-types && yarn build-react", | ||
"build-array": "parcel build src/loader-globals.js --out-file dist/array.js --no-source-maps", | ||
"build-module": "rollup -i src/loader-module.js -f cjs -o dist/module.js -c rollup.config.js", | ||
"build-es-module": "rollup -i src/loader-module.js -f es -o dist/es.js -c rollup.config.js", | ||
"build-react": "cd react; yarn; cd ..; tsc -p react", | ||
"process-types": "mkdir -p dist; eslint src --ext .ts -c .eslintrc.ts.js --fix && tsc && cp -f src/*.d.ts dist/", | ||
"lint": "eslint src --fix", | ||
"prepublishOnly": "yarn lint && yarn test && yarn build && yarn build-module && yarn process-types", | ||
"test": "jest src", | ||
"prepublishOnly": "yarn lint && yarn test && yarn build", | ||
"test": "jest", | ||
"test-watch": "jest --watch", | ||
@@ -22,5 +25,6 @@ "cypress": "cypress open" | ||
"main": "dist/module.js", | ||
"types": "dist/module.d.ts", | ||
"module": "dist/es.js", | ||
"files": [ | ||
"dist/*" | ||
"dist/*", | ||
"react/dist/*" | ||
], | ||
@@ -37,13 +41,16 @@ "devDependencies": { | ||
"babel-jest": "^26.1.0", | ||
"cypress": "^6.0.0", | ||
"cypress": "^6.1.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint": "^7.3.1", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"given2": "^2.1.7", | ||
"husky": "^4.2.5", | ||
"jest": "^26.1.0", | ||
"jsdom-global": "3.0.2", | ||
"jsdom": "16.2.2", | ||
"jsdom-global": "3.0.2", | ||
"lint-staged": "^10.2.11", | ||
"localStorage": "1.0.4", | ||
"parcel": "^1.12.4", | ||
"posthog-js": "link:.", | ||
"prettier": "^2.0.5", | ||
@@ -61,9 +68,13 @@ "rollup": "^2.18.2", | ||
"lint-staged": { | ||
"*.{ts,js,json}": "prettier --write", | ||
"*.ts": [ | ||
"*.{ts,tsx,js,json}": "prettier --write", | ||
"*.{ts,tsx}": [ | ||
"eslint -c .eslintrc.ts.js --fix", | ||
"tsc" | ||
"tsc --noEmit --esModuleInterop --jsx react" | ||
] | ||
}, | ||
"jest": { | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/cypress/" | ||
], | ||
"moduleFileExtensions": [ | ||
@@ -70,0 +81,0 @@ "js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1057854
35
11352
2
28