mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 09:33:19 +03:00
fbd6e37767
* Add option to specify a URL in the manual extension * Fix error when option parameter isn't provided The uglify-js dependency had to be updated to support the optional chaining operator * Remove the possibility to pass a function for the custom URL This added weight unnecessarily, as the users can simply call the function themselves before triggering the event. * Change optional chaining to ternary for improved browser support * Revert package-lock.json to version 3.9.4 of uglify-js It was previously updated to support optional chaining; reverting it as a reminder that this is the current browser support level that is accepted by Plausible.
138 lines
4.9 KiB
JSON
138 lines
4.9 KiB
JSON
{
|
|
"name": "tracker",
|
|
"lockfileVersion": 2,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"generatorics": "^1.1.0",
|
|
"handlebars": "^4.7.7",
|
|
"uglify-js": "^3.9.4"
|
|
}
|
|
},
|
|
"node_modules/commander": {
|
|
"version": "2.20.3",
|
|
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
|
|
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
|
|
},
|
|
"node_modules/generatorics": {
|
|
"version": "1.1.0",
|
|
"resolved": "https://registry.npmjs.org/generatorics/-/generatorics-1.1.0.tgz",
|
|
"integrity": "sha1-aVBgu42IuQmzAXGlyz1CR2hmETg=",
|
|
"engines": {
|
|
"node": ">=6.0.0"
|
|
}
|
|
},
|
|
"node_modules/handlebars": {
|
|
"version": "4.7.7",
|
|
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
|
|
"integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
|
|
"dependencies": {
|
|
"minimist": "^1.2.5",
|
|
"neo-async": "^2.6.0",
|
|
"source-map": "^0.6.1",
|
|
"wordwrap": "^1.0.0"
|
|
},
|
|
"bin": {
|
|
"handlebars": "bin/handlebars"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.4.7"
|
|
},
|
|
"optionalDependencies": {
|
|
"uglify-js": "^3.1.4"
|
|
}
|
|
},
|
|
"node_modules/minimist": {
|
|
"version": "1.2.5",
|
|
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
|
|
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
|
|
},
|
|
"node_modules/neo-async": {
|
|
"version": "2.6.2",
|
|
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
|
|
"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="
|
|
},
|
|
"node_modules/source-map": {
|
|
"version": "0.6.1",
|
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
|
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
}
|
|
},
|
|
"node_modules/uglify-js": {
|
|
"version": "3.9.4",
|
|
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.9.4.tgz",
|
|
"integrity": "sha512-8RZBJq5smLOa7KslsNsVcSH+KOXf1uDU8yqLeNuVKwmT0T3FA0ZoXlinQfRad7SDcbZZRZE4ov+2v71EnxNyCA==",
|
|
"dependencies": {
|
|
"commander": "~2.20.3"
|
|
},
|
|
"bin": {
|
|
"uglifyjs": "bin/uglifyjs"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.8.0"
|
|
}
|
|
},
|
|
"node_modules/wordwrap": {
|
|
"version": "1.0.0",
|
|
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
|
|
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"commander": {
|
|
"version": "2.20.3",
|
|
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
|
|
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
|
|
},
|
|
"generatorics": {
|
|
"version": "1.1.0",
|
|
"resolved": "https://registry.npmjs.org/generatorics/-/generatorics-1.1.0.tgz",
|
|
"integrity": "sha1-aVBgu42IuQmzAXGlyz1CR2hmETg="
|
|
},
|
|
"handlebars": {
|
|
"version": "4.7.7",
|
|
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
|
|
"integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
|
|
"requires": {
|
|
"minimist": "^1.2.5",
|
|
"neo-async": "^2.6.0",
|
|
"source-map": "^0.6.1",
|
|
"uglify-js": "^3.1.4",
|
|
"wordwrap": "^1.0.0"
|
|
}
|
|
},
|
|
"minimist": {
|
|
"version": "1.2.5",
|
|
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
|
|
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
|
|
},
|
|
"neo-async": {
|
|
"version": "2.6.2",
|
|
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
|
|
"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="
|
|
},
|
|
"source-map": {
|
|
"version": "0.6.1",
|
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
|
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
|
|
},
|
|
"uglify-js": {
|
|
"version": "3.9.4",
|
|
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.9.4.tgz",
|
|
"integrity": "sha512-8RZBJq5smLOa7KslsNsVcSH+KOXf1uDU8yqLeNuVKwmT0T3FA0ZoXlinQfRad7SDcbZZRZE4ov+2v71EnxNyCA==",
|
|
"requires": {
|
|
"commander": "~2.20.3"
|
|
}
|
|
},
|
|
"wordwrap": {
|
|
"version": "1.0.0",
|
|
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
|
|
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
|
|
}
|
|
}
|
|
}
|