Skip to content

Commit

Permalink
chore: remove 'universal-analytics' dep
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed May 16, 2024
1 parent 8360a6a commit cc45d0e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 108 deletions.
25 changes: 0 additions & 25 deletions netlify/functions/classes/google-ua.js

This file was deleted.

57 changes: 0 additions & 57 deletions netlify/functions/classes/google-ua.test.js

This file was deleted.

4 changes: 0 additions & 4 deletions netlify/functions/image-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import VideoWrapper from './classes/VideoWrapper.js';
import cloudinary from './classes/cloudinary.js';

import { sendLambdaEvent } from './classes/google-ua.js';

const isProduction = process.env.NODE_ENV === 'production';

const throwException = (statusCode, message) => {
Expand All @@ -26,8 +24,6 @@ const getParam = (event, paramName) => {
};

export const handler = async (event, context, callback) => {
sendLambdaEvent(event);

const url = getParam(event, 'url');

if (url === undefined || url === null) {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
"node-html-parser": "^6.1.13",
"nprogress": "^0.2.0",
"prismjs": "^1.29.0",
"process": "^0.11.10",
"universal-analytics": "^0.5.3"
"process": "^0.11.10"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
Expand Down
20 changes: 0 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc45d0e

Please sign in to comment.