Skip to content

Commit 595d652

Browse files
committed
fix(deps): revert mdx dep version
1 parent 11497fc commit 595d652

3 files changed

Lines changed: 23 additions & 38 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@babel/preset-react": "7.0.0",
5252
"@babel/preset-typescript": "7.3.3",
5353
"@emotion/core": "10.0.10",
54-
"@mdx-js/mdx": "1.0.10",
54+
"@mdx-js/mdx": "0.20.3",
5555
"@mdx-js/tag": "0.20.3",
5656
"@semantic-release/changelog": "3.0.2",
5757
"@semantic-release/commit-analyzer": "6.1.0",

tests/mdxTransformer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = {
77

88
const code = `
99
import React from 'react'
10-
import mdx from '@mdx-js/mdx';
1110
import { MDXTag } from '@mdx-js/tag'
1211
${result}
1312
`;

yarn.lock

Lines changed: 22 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,25 @@
12801280
"@mdx-js/react" "^1.0.6"
12811281
loader-utils "^1.1.0"
12821282

1283-
"@mdx-js/mdx@1.0.10", "@mdx-js/mdx@^1.0.10":
1283+
"@mdx-js/mdx@0.20.3":
1284+
version "0.20.3"
1285+
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-0.20.3.tgz#1f32b4a4a0cc176a3192ef51a0a3502cdfdca3f0"
1286+
integrity sha512-IIlssEIPPAqo04krm270ifGjSVPqtTmjlryYGi8/4VXHCdi42l8v2piTJPo2NVc7J+HizY1uxxZb6AeoFsO/Iw==
1287+
dependencies:
1288+
"@babel/plugin-proposal-object-rest-spread" "^7.3.2"
1289+
"@babel/plugin-syntax-jsx" "^7.2.0"
1290+
change-case "^3.0.2"
1291+
detab "^2.0.0"
1292+
hast-util-raw "^5.0.0"
1293+
mdast-util-to-hast "^4.0.0"
1294+
remark-parse "^6.0.0"
1295+
remark-squeeze-paragraphs "^3.0.1"
1296+
to-style "^1.3.3"
1297+
unified "^7.0.0"
1298+
unist-builder "^1.0.1"
1299+
unist-util-visit "^1.3.0"
1300+
1301+
"@mdx-js/mdx@^1.0.10":
12841302
version "1.0.10"
12851303
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.0.10.tgz#9622a188c5d9dc29c96c14bea963d2e326bc8789"
12861304
integrity sha512-CnDSBx9epb0r1Cpzbw7btn0jfxM+cL66TKxRAEuLAqNJHYtTCK31gvlZ6oWjGgxHoQCBGeYUuIxUCbytyDgHlw==
@@ -3995,7 +4013,7 @@ debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
39954013
dependencies:
39964014
ms "^2.1.1"
39974015

3998-
debuglog@*, debuglog@^1.0.1:
4016+
debuglog@^1.0.1:
39994017
version "1.0.1"
40004018
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
40014019
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
@@ -6167,7 +6185,7 @@ import-local@^2.0.0:
61676185
pkg-dir "^3.0.0"
61686186
resolve-cwd "^2.0.0"
61696187

6170-
imurmurhash@*, imurmurhash@^0.1.4:
6188+
imurmurhash@^0.1.4:
61716189
version "0.1.4"
61726190
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
61736191
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
@@ -7590,11 +7608,6 @@ lockfile@^1.0.4:
75907608
dependencies:
75917609
signal-exit "^3.0.2"
75927610

7593-
lodash._baseindexof@*:
7594-
version "3.1.0"
7595-
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c"
7596-
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw=
7597-
75987611
lodash._baseuniq@~4.6.0:
75997612
version "4.6.0"
76007613
resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8"
@@ -7603,33 +7616,11 @@ lodash._baseuniq@~4.6.0:
76037616
lodash._createset "~4.0.0"
76047617
lodash._root "~3.0.0"
76057618

7606-
lodash._bindcallback@*:
7607-
version "3.0.1"
7608-
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e"
7609-
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4=
7610-
7611-
lodash._cacheindexof@*:
7612-
version "3.0.2"
7613-
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92"
7614-
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI=
7615-
7616-
lodash._createcache@*:
7617-
version "3.1.2"
7618-
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093"
7619-
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM=
7620-
dependencies:
7621-
lodash._getnative "^3.0.0"
7622-
76237619
lodash._createset@~4.0.0:
76247620
version "4.0.3"
76257621
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
76267622
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
76277623

7628-
lodash._getnative@*, lodash._getnative@^3.0.0:
7629-
version "3.9.1"
7630-
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
7631-
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
7632-
76337624
lodash._root@~3.0.0:
76347625
version "3.0.1"
76357626
resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692"
@@ -7675,11 +7666,6 @@ lodash.iteratee@^4.5.0:
76757666
resolved "https://registry.yarnpkg.com/lodash.iteratee/-/lodash.iteratee-4.7.0.tgz#be4177db289a8ccc3c0990f1db26b5b22fc1554c"
76767667
integrity sha1-vkF32yiajMw8CZDx2ya1si/BVUw=
76777668

7678-
lodash.restparam@*:
7679-
version "3.6.1"
7680-
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
7681-
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
7682-
76837669
lodash.set@^4.3.2:
76847670
version "4.3.2"
76857671
resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
@@ -10244,7 +10230,7 @@ readable-stream@~1.1.10:
1024410230
isarray "0.0.1"
1024510231
string_decoder "~0.10.x"
1024610232

10247-
readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0:
10233+
readdir-scoped-modules@^1.0.0:
1024810234
version "1.0.2"
1024910235
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747"
1025010236
integrity sha1-n6+jfShr5dksuuve4DDcm19AZ0c=

0 commit comments

Comments
 (0)