From e1d243ec8da32500fc338d4669313ee1f05404ae Mon Sep 17 00:00:00 2001 From: Sam Poder <39828164+sampoder@users.noreply.github.com> Date: Sun, 10 Jul 2022 16:04:14 -0400 Subject: [PATCH] Gotta hit that install! --- package-lock.json | 66 ++++++++++++++++++++++++++++++++++++++++- package.json | 3 +- src/interactions/css.js | 3 +- 3 files changed, 68 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index b242001..405a530 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,8 @@ "js-yaml": "^3.13.1", "jsonwebtoken": "^8.5.1", "lodash": "^4.17.21", - "pluralize": "^8.0.0" + "pluralize": "^8.0.0", + "pusher": "^5.1.1-beta" }, "devDependencies": { "@babel/cli": "^7.10.5", @@ -5237,6 +5238,15 @@ "node": ">=0.10.0" } }, + "node_modules/is-base64": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-base64/-/is-base64-1.1.0.tgz", + "integrity": "sha512-Nlhg7Z2dVC4/PTvIFkgVVNvPHSO2eR/Yd0XzhGiXCXEvWnptXlXa/clQ8aePPiMuxEGcWfzWbGw2Fe3d+Y3v1g==", + "bin": { + "is_base64": "bin/is-base64", + "is-base64": "bin/is-base64" + } + }, "node_modules/is-binary-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", @@ -6916,6 +6926,26 @@ "node": ">=6" } }, + "node_modules/pusher": { + "version": "5.1.1-beta", + "resolved": "https://registry.npmjs.org/pusher/-/pusher-5.1.1-beta.tgz", + "integrity": "sha512-kGzseVc0MM5kJ6d5TFbtZXeBqDI1enkDq5QjfviEly9/57RSCiY/965ve6IJ5NbMp7T8ZPCqg82FIAkJ+zFxNg==", + "dependencies": { + "abort-controller": "^3.0.0", + "is-base64": "^1.1.0", + "node-fetch": "^2.6.1", + "tweetnacl": "^1.0.0", + "tweetnacl-util": "^0.15.0" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/pusher/node_modules/tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" + }, "node_modules/q": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/q/-/q-2.0.3.tgz", @@ -8494,6 +8524,11 @@ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" }, + "node_modules/tweetnacl-util": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz", + "integrity": "sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw==" + }, "node_modules/twilio": { "version": "3.33.2", "resolved": "https://registry.npmjs.org/twilio/-/twilio-3.33.2.tgz", @@ -13579,6 +13614,11 @@ "kind-of": "^3.0.2" } }, + "is-base64": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-base64/-/is-base64-1.1.0.tgz", + "integrity": "sha512-Nlhg7Z2dVC4/PTvIFkgVVNvPHSO2eR/Yd0XzhGiXCXEvWnptXlXa/clQ8aePPiMuxEGcWfzWbGw2Fe3d+Y3v1g==" + }, "is-binary-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", @@ -14997,6 +15037,25 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" }, + "pusher": { + "version": "5.1.1-beta", + "resolved": "https://registry.npmjs.org/pusher/-/pusher-5.1.1-beta.tgz", + "integrity": "sha512-kGzseVc0MM5kJ6d5TFbtZXeBqDI1enkDq5QjfviEly9/57RSCiY/965ve6IJ5NbMp7T8ZPCqg82FIAkJ+zFxNg==", + "requires": { + "abort-controller": "^3.0.0", + "is-base64": "^1.1.0", + "node-fetch": "^2.6.1", + "tweetnacl": "^1.0.0", + "tweetnacl-util": "^0.15.0" + }, + "dependencies": { + "tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" + } + } + }, "q": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/q/-/q-2.0.3.tgz", @@ -16324,6 +16383,11 @@ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" }, + "tweetnacl-util": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz", + "integrity": "sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw==" + }, "twilio": { "version": "3.33.2", "resolved": "https://registry.npmjs.org/twilio/-/twilio-3.33.2.tgz", diff --git a/package.json b/package.json index 06cc1fc..dddd630 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "js-yaml": "^3.13.1", "jsonwebtoken": "^8.5.1", "lodash": "^4.17.21", - "pluralize": "^8.0.0" + "pluralize": "^8.0.0", + "pusher": "^5.1.1-beta" }, "devDependencies": { "@babel/cli": "^7.10.5", diff --git a/src/interactions/css.js b/src/interactions/css.js index 8bd8383..05d8c0a 100644 --- a/src/interactions/css.js +++ b/src/interactions/css.js @@ -1,7 +1,6 @@ import { reaction } from "../utils" let validateCss = require('css-validator'); - -const Pusher = require("pusher"); +let Pusher = require("pusher"); const pusher = new Pusher({ appId: "1435548",