Skip to content

Commit

Permalink
Merge pull request #468 from appearhere/fix-merge-recursive-security-…
Browse files Browse the repository at this point in the history
…vulnerability

Fix merge-recursive security vulnerability
  • Loading branch information
loranmutafov committed Dec 16, 2019
2 parents 19588e7 + df476b5 commit 4222ca4
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 46 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"react-on-visible": "^1.5.0",
"react-portal": "^4.1.3",
"react-transition-group": "1.x",
"short-id": "^0.1.0-1",
"shortid": "^2.2.15",
"subscribe-ui-event": "^1.1.1",
"warning": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default {
external: [
'@appearhere/react-input-range',
'@appearhere/react-stickynode',
'short-id',
'shortid',
'nuka-carousel',
'classnames',
'classnames/bind',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';
import shortid from 'short-id';
import shortid from 'shortid';
import FittedImage from '../../FittedImage/FittedImage';
import IconLink from '../../IconLink/IconLink';
import RemoveOrphans from '../../RemoveOrphans/RemoveOrphans';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import shortid from 'short-id';
import shortid from 'shortid';
import FittedImage from '../../FittedImage/FittedImage';
import Icon from '../../Icon/Icon';
import RemoveOrphans from '../../RemoveOrphans/RemoveOrphans';
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/components/Carousel/Carousel.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import PropTypes from 'prop-types';
import React, { useState, useEffect } from 'react';
import React, { useState } from 'react';
import cx from 'classnames';
import NukaCarousel from 'nuka-carousel';
import shortid from 'short-id';
import shortid from 'shortid';
import Icon from '../Icon/Icon';
import BtnContainer from '../BtnContainer/BtnContainer';
import ScreenReadable from '../ScreenReadable/ScreenReadable';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/GridLayout/GridLayout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from 'react';
import css from './GridLayout.css';
import PropTypes from 'prop-types';
import shortid from 'short-id';
import shortid from 'shortid';

export default class GridLayout extends Component {
static propTypes = {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/components/MobileCarousel/MobileCarousel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import React, { Children } from 'react';
import shortid from 'short-id';
import React from 'react';
import shortid from 'shortid';

import css from './MobileCarousel.css';

Expand Down
47 changes: 10 additions & 37 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2963,11 +2963,6 @@ assert@^1.1.1:
dependencies:
util "0.10.3"

[email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.0.tgz#c7f85438fdd466bc7ca16ab90c81513797a5d23b"
integrity sha1-x/hUOP3UZrx8oWq5DIFRN5el0js=

assertion-error@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b"
Expand Down Expand Up @@ -10776,11 +10771,6 @@ [email protected]:
version "1.0.1"
resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"

[email protected]:
version "0.0.3"
resolved "https://registry.yarnpkg.com/merge-recursive/-/merge-recursive-0.0.3.tgz#de7901efcaecc906d8cab2ad1e9c470f5a3dae84"
integrity sha1-3nkB78rsyQbYyrKtHpxHD1o9roQ=

merge-stream@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1"
Expand Down Expand Up @@ -11158,6 +11148,11 @@ nan@^2.3.0:
version "2.10.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f"

nanoid@^2.1.0:
version "2.1.8"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-2.1.8.tgz#2dbb0224231b246e3b4c819de7bfea6384dabf08"
integrity sha512-g1z+n5s26w0TGKh7gjn7HCqurNKMZWzH08elXzh/gM/csQHd/UqDV6uxMghQYg9IvqRPm1QpeMk50YMofHvEjQ==

nanomatch@^1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.9.tgz#879f7150cb2dab7a471259066c104eee6e0fa7c2"
Expand Down Expand Up @@ -11531,13 +11526,6 @@ nwmatcher@^1.4.1, nwmatcher@^1.4.3:
version "1.4.4"
resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.4.tgz#2285631f34a95f0d0395cd900c96ed39b58f346e"

oath@latest:
version "1.0.0"
resolved "https://registry.yarnpkg.com/oath/-/oath-1.0.0.tgz#2f4e1f7797b903a78b243527dc68245b0aeb0d58"
integrity sha1-L04fd5e5A6eLJDUn3GgkWwrrDVg=
dependencies:
simple-assert "~1.0.0"

oauth-sign@~0.8.1, oauth-sign@~0.8.2:
version "0.8.2"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
Expand Down Expand Up @@ -14707,13 +14695,6 @@ schema-utils@^2.0.0:
ajv "^6.10.2"
ajv-keywords "^3.4.1"

sechash@~0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/sechash/-/sechash-0.2.1.tgz#8b71fe47d68272f47a35f1640e4cc921325b133b"
integrity sha1-i3H+R9aCcvR6NfFkDkzJITJbEzs=
dependencies:
oath latest

section-iterator@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/section-iterator/-/section-iterator-2.0.0.tgz#bf444d7afeeb94ad43c39ad2fb26151627ccba2a"
Expand Down Expand Up @@ -14965,25 +14946,17 @@ shellwords@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"

short-id@^0.1.0-1:
version "0.1.0-1"
resolved "https://registry.yarnpkg.com/short-id/-/short-id-0.1.0-1.tgz#a4c0f3537fff4623ff84964882b5d43019a24095"
integrity sha1-pMDzU3//RiP/hJZIgrXUMBmiQJU=
shortid@^2.2.15:
version "2.2.15"
resolved "https://registry.yarnpkg.com/shortid/-/shortid-2.2.15.tgz#2b902eaa93a69b11120373cd42a1f1fe4437c122"
integrity sha512-5EaCy2mx2Jgc/Fdn9uuDuNIIfWBpzY4XIlhoqtXF6qsf+/+SGZ+FxDdX/ZsMZiWupIWNqAEmiNY4RC+LSmCeOw==
dependencies:
merge-recursive "0.0.3"
sechash "~0.2.1"
nanoid "^2.1.0"

signal-exit@^3.0.0, signal-exit@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"

simple-assert@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/simple-assert/-/simple-assert-1.0.0.tgz#53f1790000d714424124290780bc2a3e511cf0ef"
integrity sha1-U/F5AADXFEJBJCkHgLwqPlEc8O8=
dependencies:
assertion-error "1.0.0"

simple-swizzle@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
Expand Down

1 comment on commit 4222ca4

@vercel
Copy link

@vercel vercel bot commented on 4222ca4 Dec 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.