diff --git a/package-lock.json b/package-lock.json index a4fb2f853..4a4fad1ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "snyk-vulnerability-scanner", "version": "0.0.0", "dependencies": { - "@amplitude/experiment-node-server": "^1.3.0", + "@amplitude/experiment-node-server": "^1.9.0", "@babel/parser": "^7.12.11", "@babel/traverse": "^7.12.12", "@babel/types": "^7.12.12", @@ -219,17 +219,64 @@ "uuid": "dist/bin/uuid" } }, - "node_modules/@amplitude/evaluation-js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@amplitude/evaluation-js/-/evaluation-js-1.0.0.tgz", - "integrity": "sha512-U2ibGJ+5XLwfyHPmwDdxkqWhxxmZBs/gnPWalKBnmcY4zGXfBi2XkGbHsghlAD3XD3vZ1eMl7xqhHp3CWtpp/g==" + "node_modules/@amplitude/analytics-core": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@amplitude/analytics-core/-/analytics-core-1.2.5.tgz", + "integrity": "sha512-V7CVlHVN+1diKiOpdp2bCPZ0mbS4CmUYF+v+eXDwVfJL3M/t3sVcT1apXnmVYGYi14cGu9hQOD11rD6qKbUOsw==", + "license": "MIT", + "dependencies": { + "@amplitude/analytics-types": "^1.3.4", + "tslib": "^2.4.1" + } + }, + "node_modules/@amplitude/analytics-core/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "license": "0BSD" + }, + "node_modules/@amplitude/analytics-node": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@amplitude/analytics-node/-/analytics-node-1.3.5.tgz", + "integrity": "sha512-PVdCs3duu4OQNIQ3ENCKdm6wnoMAOdpSZD3tpWbEQVKh08FlxWLrR8eQN48nvhs+i6yEwGGVr1SfRDPpsMog1w==", + "license": "MIT", + "dependencies": { + "@amplitude/analytics-core": "^1.2.5", + "@amplitude/analytics-types": "^1.3.4", + "tslib": "^2.4.1" + } + }, + "node_modules/@amplitude/analytics-node/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "license": "0BSD" + }, + "node_modules/@amplitude/analytics-types": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@amplitude/analytics-types/-/analytics-types-1.3.4.tgz", + "integrity": "sha512-tR70gzqFkEzX9QpxvWYMfLCledT7vMhgd3d4/bkp3nnGXTOORaVUOCcSgOyxyuFdSx84T61aP/eZPKIcZcaP+A==", + "license": "MIT" + }, + "node_modules/@amplitude/experiment-core": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@amplitude/experiment-core/-/experiment-core-0.7.2.tgz", + "integrity": "sha512-Wc2NWvgQ+bLJLeF0A9wBSPIaw0XuqqgkPKsoNFQrmS7r5Djd56um75In05tqmVntPJZRvGKU46pAp8o5tdf4mA==", + "license": "MIT", + "dependencies": { + "js-base64": "^3.7.5" + } }, "node_modules/@amplitude/experiment-node-server": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@amplitude/experiment-node-server/-/experiment-node-server-1.3.0.tgz", - "integrity": "sha512-ahkN1H+9nHteqVaktitzjs43UTUJ0iwVplz0Brm6XKd7wT/w7ICbyPjvfPepqu6l71j5065DhVA7g1hdufkP/Q==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@amplitude/experiment-node-server/-/experiment-node-server-1.9.0.tgz", + "integrity": "sha512-vXCocb1MrJpjcdr6Bq/+8rPTOhOqyuNkGZ7oqpnrfvkRnGgNCVetbhC1i3x7Ky5CofgrE5mX1BLQW5JH4lxgUQ==", + "license": "MIT", "dependencies": { - "@amplitude/evaluation-js": "1.0.0" + "@amplitude/analytics-node": "^1.3.4", + "@amplitude/analytics-types": "^1.3.1", + "@amplitude/experiment-core": "^0.7.2", + "eventsource": "^2.0.2" } }, "node_modules/@amplitude/identify": { @@ -4102,6 +4149,15 @@ "node": ">= 0.6" } }, + "node_modules/eventsource": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-2.0.2.tgz", + "integrity": "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/express": { "version": "4.17.2", "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", @@ -5401,6 +5457,12 @@ "resolved": "https://registry.npmjs.org/join-component/-/join-component-1.1.0.tgz", "integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU=" }, + "node_modules/js-base64": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.7.tgz", + "integrity": "sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==", + "license": "BSD-3-Clause" + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -8590,17 +8652,61 @@ } } }, - "@amplitude/evaluation-js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@amplitude/evaluation-js/-/evaluation-js-1.0.0.tgz", - "integrity": "sha512-U2ibGJ+5XLwfyHPmwDdxkqWhxxmZBs/gnPWalKBnmcY4zGXfBi2XkGbHsghlAD3XD3vZ1eMl7xqhHp3CWtpp/g==" + "@amplitude/analytics-core": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@amplitude/analytics-core/-/analytics-core-1.2.5.tgz", + "integrity": "sha512-V7CVlHVN+1diKiOpdp2bCPZ0mbS4CmUYF+v+eXDwVfJL3M/t3sVcT1apXnmVYGYi14cGu9hQOD11rD6qKbUOsw==", + "requires": { + "@amplitude/analytics-types": "^1.3.4", + "tslib": "^2.4.1" + }, + "dependencies": { + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + } + } + }, + "@amplitude/analytics-node": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@amplitude/analytics-node/-/analytics-node-1.3.5.tgz", + "integrity": "sha512-PVdCs3duu4OQNIQ3ENCKdm6wnoMAOdpSZD3tpWbEQVKh08FlxWLrR8eQN48nvhs+i6yEwGGVr1SfRDPpsMog1w==", + "requires": { + "@amplitude/analytics-core": "^1.2.5", + "@amplitude/analytics-types": "^1.3.4", + "tslib": "^2.4.1" + }, + "dependencies": { + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + } + } + }, + "@amplitude/analytics-types": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@amplitude/analytics-types/-/analytics-types-1.3.4.tgz", + "integrity": "sha512-tR70gzqFkEzX9QpxvWYMfLCledT7vMhgd3d4/bkp3nnGXTOORaVUOCcSgOyxyuFdSx84T61aP/eZPKIcZcaP+A==" + }, + "@amplitude/experiment-core": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@amplitude/experiment-core/-/experiment-core-0.7.2.tgz", + "integrity": "sha512-Wc2NWvgQ+bLJLeF0A9wBSPIaw0XuqqgkPKsoNFQrmS7r5Djd56um75In05tqmVntPJZRvGKU46pAp8o5tdf4mA==", + "requires": { + "js-base64": "^3.7.5" + } }, "@amplitude/experiment-node-server": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@amplitude/experiment-node-server/-/experiment-node-server-1.3.0.tgz", - "integrity": "sha512-ahkN1H+9nHteqVaktitzjs43UTUJ0iwVplz0Brm6XKd7wT/w7ICbyPjvfPepqu6l71j5065DhVA7g1hdufkP/Q==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@amplitude/experiment-node-server/-/experiment-node-server-1.9.0.tgz", + "integrity": "sha512-vXCocb1MrJpjcdr6Bq/+8rPTOhOqyuNkGZ7oqpnrfvkRnGgNCVetbhC1i3x7Ky5CofgrE5mX1BLQW5JH4lxgUQ==", "requires": { - "@amplitude/evaluation-js": "1.0.0" + "@amplitude/analytics-node": "^1.3.4", + "@amplitude/analytics-types": "^1.3.1", + "@amplitude/experiment-core": "^0.7.2", + "eventsource": "^2.0.2" } }, "@amplitude/identify": { @@ -11579,6 +11685,11 @@ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", "dev": true }, + "eventsource": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-2.0.2.tgz", + "integrity": "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA==" + }, "express": { "version": "4.17.2", "resolved": "https://registry.npmjs.org/express/-/express-4.17.2.tgz", @@ -12532,6 +12643,11 @@ "resolved": "https://registry.npmjs.org/join-component/-/join-component-1.1.0.tgz", "integrity": "sha1-uEF7dQZho5K+4sJTfGiyqdSXfNU=" }, + "js-base64": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.7.tgz", + "integrity": "sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==" + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", diff --git a/package.json b/package.json index fb321914a..5d641d510 100644 --- a/package.json +++ b/package.json @@ -427,7 +427,7 @@ "yalc": "^1.0.0-pre.44" }, "dependencies": { - "@amplitude/experiment-node-server": "^1.3.0", + "@amplitude/experiment-node-server": "^1.9.0", "@babel/parser": "^7.12.11", "@babel/traverse": "^7.12.12", "@babel/types": "^7.12.12",