From f6c05367a5944d321b4eaf3665ab808da67808ab Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2020 17:01:00 -0400 Subject: [PATCH] Bump nanoid from 2.1.11 to 3.0.2 (#256) * Bump nanoid from 2.1.11 to 3.0.2 Bumps [nanoid](https://github.com/ai/nanoid) from 2.1.11 to 3.0.2. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/master/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/2.1.11...3.0.2) Signed-off-by: dependabot-preview[bot] * Migrate to nanoid 3 Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: rijkvanzanten --- package.json | 3 +-- src/stores/notifications/notifications.ts | 2 +- src/stores/requests/requests.ts | 2 +- yarn.lock | 15 ++++----------- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 800df59954..bfd44ba05b 100644 --- a/package.json +++ b/package.json @@ -20,12 +20,11 @@ "@popperjs/core": "^2.1.1", "@types/debug": "^4.1.5", "@types/lodash": "^4.14.149", - "@types/nanoid": "^2.1.0", "@vue/composition-api": "^0.5.0", "axios": "^0.19.2", "date-fns": "^2.11.1", "lodash": "^4.17.15", - "nanoid": "^2.1.11", + "nanoid": "^3.0.2", "pinia": "0.0.5", "portal-vue": "^2.1.7", "resize-observer": "^1.0.0", diff --git a/src/stores/notifications/notifications.ts b/src/stores/notifications/notifications.ts index e609573f62..fae3e1a60a 100644 --- a/src/stores/notifications/notifications.ts +++ b/src/stores/notifications/notifications.ts @@ -1,6 +1,6 @@ import { createStore } from 'pinia'; import { Notification, NotificationRaw } from './types'; -import nanoid from 'nanoid'; +import { nanoid } from 'nanoid'; export const useNotificationsStore = createStore({ id: 'useNotifications', diff --git a/src/stores/requests/requests.ts b/src/stores/requests/requests.ts index 6f20796742..21830d3cec 100644 --- a/src/stores/requests/requests.ts +++ b/src/stores/requests/requests.ts @@ -1,5 +1,5 @@ import { createStore } from 'pinia'; -import nanoid from 'nanoid'; +import { nanoid } from 'nanoid'; export const useRequestsStore = createStore({ id: 'requestsStore', diff --git a/yarn.lock b/yarn.lock index 97b282bd32..034e4e4e06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1736,13 +1736,6 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6" integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY= -"@types/nanoid@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/nanoid/-/nanoid-2.1.0.tgz#41edfda78986e9127d0dc14de982de766f994020" - integrity sha512-xdkn/oRTA0GSNPLIKZgHWqDTWZsVrieKomxJBOQUK9YDD+zfSgmwD5t4WJYra5S7XyhTw7tfvwznW+pFexaepQ== - dependencies: - "@types/node" "*" - "@types/node@*": version "13.7.7" resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.7.tgz#1628e6461ba8cc9b53196dfeaeec7b07fa6eea99" @@ -9798,10 +9791,10 @@ nan@^2.12.1: resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== -nanoid@^2.1.11: - version "2.1.11" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-2.1.11.tgz#ec24b8a758d591561531b4176a01e3ab4f0f0280" - integrity sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA== +nanoid@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.0.2.tgz#37e91e6f5277ce22335be473e2a5db1bd96dd026" + integrity sha512-WOjyy/xu3199NlQiQWlx7VbspSFlGtOxa1bRX9ebmXOnp1fje4bJfjPs1wLQ8jZbJUfD+yceJmw879ZSaVJkdQ== nanomatch@^1.2.9: version "1.2.13"