fix(client): update nanoid (#39960)
parent
d94a240cf4
commit
38323f858f
|
@ -19355,9 +19355,9 @@
|
|||
"optional": true
|
||||
},
|
||||
"nanoid": {
|
||||
"version": "1.3.4",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-1.3.4.tgz",
|
||||
"integrity": "sha512-4ug4BsuHxiVHoRUe1ud6rUFT3WUMmjXt1W0quL0CviZQANdan7D8kqN5/maw53hmAApY/jfzMRkC57BNNs60ZQ=="
|
||||
"version": "3.1.12",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.12.tgz",
|
||||
"integrity": "sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A=="
|
||||
},
|
||||
"nanomatch": {
|
||||
"version": "1.2.13",
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
"jquery": "^3.5.1",
|
||||
"lodash": "^4.17.20",
|
||||
"monaco-editor": "^0.20.0",
|
||||
"nanoid": "^1.2.2",
|
||||
"nanoid": "^3.1.12",
|
||||
"prismjs": "^1.22.0",
|
||||
"query-string": "^6.13.5",
|
||||
"react": "^16.10.2",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { createAction, handleActions } from 'redux-actions';
|
||||
import nanoId from 'nanoid';
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
import { createTypes } from '../../../utils/createTypes';
|
||||
|
||||
|
@ -15,7 +15,7 @@ export const sagas = [];
|
|||
|
||||
export const createFlashMessage = createAction(
|
||||
types.createFlashMessage,
|
||||
msg => ({ id: nanoId(), ...msg })
|
||||
msg => ({ id: nanoid(), ...msg })
|
||||
);
|
||||
export const removeFlashMessage = createAction(types.removeFlashMessage);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { Component, Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import nanoid from 'nanoid';
|
||||
import { nanoid } from 'nanoid';
|
||||
import {
|
||||
Button,
|
||||
FormGroup,
|
||||
|
|
Loading…
Reference in New Issue