Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 6089bc1

Browse files
Merge pull request #137 from segmentio/dj/pkg
Only include version in package.json browserify
2 parents a6386b0 + 94c64ec commit 6089bc1

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

HISTORY.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# v3.11.0 / 2020-01-27
21

3-
- v3.11.0
2+
# v3.11.3 / 2020-04-13
3+
4+
- Transform package.json to strip excess in browserify
5+
6+
# v3.11.0
47
- feat: use SameSite=Lax by default (#128)
58

69
# v3.10.1 / 2019-11-20

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@segment/analytics.js-core",
33
"author": "Segment <friends@segment.com>",
4-
"version": "3.11.2",
4+
"version": "3.11.3",
55
"description": "The hassle-free way to integrate analytics into any web application.",
66
"keywords": [
77
"analytics",
@@ -60,6 +60,7 @@
6060
"is": "^3.1.0",
6161
"new-date": "^1.0.0",
6262
"next-tick": "^0.2.2",
63+
"package-json-versionify": "^1.0.4",
6364
"segmentio-facade": "^3.0.2",
6465
"spark-md5": "^2.0.2",
6566
"uuid": "^3.4.0"
@@ -122,5 +123,10 @@
122123
"commitizen": {
123124
"path": "cz-conventional-changelog"
124125
}
126+
},
127+
"browserify": {
128+
"transform": [
129+
"package-json-versionify"
130+
]
125131
}
126132
}

yarn.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,11 @@ browserify-istanbul@^2.0.0:
933933
minimatch "^3.0.0"
934934
through "^2.3.8"
935935

936+
browserify-package-json@^1.0.0:
937+
version "1.0.1"
938+
resolved "https://registry.yarnpkg.com/browserify-package-json/-/browserify-package-json-1.0.1.tgz#98dde8aa5c561fd6d3fe49bbaa102b74b396fdea"
939+
integrity sha1-mN3oqlxWH9bT/km7qhArdLOW/eo=
940+
936941
browserify-rsa@^4.0.0:
937942
version "4.0.1"
938943
resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524"
@@ -5060,6 +5065,13 @@ pac-resolver@^3.0.0:
50605065
netmask "^1.0.6"
50615066
thunkify "^2.1.2"
50625067

5068+
package-json-versionify@^1.0.4:
5069+
version "1.0.4"
5070+
resolved "https://registry.yarnpkg.com/package-json-versionify/-/package-json-versionify-1.0.4.tgz#5860587a944873a6b7e6d26e8e51ffb22315bf17"
5071+
integrity sha1-WGBYepRIc6a35tJujlH/siMVvxc=
5072+
dependencies:
5073+
browserify-package-json "^1.0.0"
5074+
50635075
package-json@^4.0.0:
50645076
version "4.0.1"
50655077
resolved "https://registry.yarnpkg.com/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed"

0 commit comments

Comments
 (0)