From 9e9675740201d571506cf092678edd8bbe65d487 Mon Sep 17 00:00:00 2001 From: Thierry DEGREMONT Date: Tue, 30 Jul 2024 18:41:02 +0200 Subject: [PATCH] pb uuid --- package-lock.json | 3 ++- .../graphql-mesh/custom-plugins/monitor-yoga.ts | 2 +- packages/graphql-mesh/package-lock.json | 16 +++++++++++++++- packages/graphql-mesh/package.json | 3 ++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5280e88..5b3d08f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4337,7 +4337,8 @@ "monitor-yoga": "file:./custom-plugins/monitor-yoga.ts", "patch-package": "^8.0.0", "prom-client": "^15.1.3", - "sucrase": "^3.35.0" + "sucrase": "^3.35.0", + "uuid": "^10.0.0" }, "devDependencies": { "@graphql-mesh/types": "^0.96.3", diff --git a/packages/graphql-mesh/custom-plugins/monitor-yoga.ts b/packages/graphql-mesh/custom-plugins/monitor-yoga.ts index 7339cd3..f0b9bae 100644 --- a/packages/graphql-mesh/custom-plugins/monitor-yoga.ts +++ b/packages/graphql-mesh/custom-plugins/monitor-yoga.ts @@ -1,7 +1,7 @@ import { Plugin } from 'graphql-yoga' import { Logger } from '../utils/logger' import { GraphQLError } from 'graphql' -import { v4 as uuidv4 } from 'uuid'; +import { v4 as uuidv4 } from 'uuid' /** * monitor plugin in order to get event contextual log and add some security rules * useful to : diff --git a/packages/graphql-mesh/package-lock.json b/packages/graphql-mesh/package-lock.json index 7d72698..f6923bb 100644 --- a/packages/graphql-mesh/package-lock.json +++ b/packages/graphql-mesh/package-lock.json @@ -28,7 +28,8 @@ "monitor-yoga": "file:./custom-plugins/monitor-yoga.ts", "patch-package": "^8.0.0", "prom-client": "^15.1.3", - "sucrase": "^3.35.0" + "sucrase": "^3.35.0", + "uuid": "^10.0.0" }, "devDependencies": { "@graphql-mesh/types": "^0.96.3", @@ -6715,6 +6716,19 @@ "license": "MIT", "optional": true }, + "node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/uWebSockets.js": { "version": "20.43.0", "resolved": "git+ssh://git@github.com/uNetworking/uWebSockets.js.git#1977b5039938ad863d42fc4958d48c17e5a1fa06", diff --git a/packages/graphql-mesh/package.json b/packages/graphql-mesh/package.json index fd8031a..1d05ecd 100644 --- a/packages/graphql-mesh/package.json +++ b/packages/graphql-mesh/package.json @@ -32,7 +32,8 @@ "graphql": "^16.8.1", "inject-additional-transforms": "file:./local-pkg/inject-additional-transforms-1.0.0.tgz", "patch-package": "^8.0.0", - "sucrase": "^3.35.0" + "sucrase": "^3.35.0", + "uuid": "^10.0.0" }, "devDependencies": { "@graphql-mesh/types": "^0.96.3",