Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mdx-js/mdx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.17.4
Choose a base ref
...
head repository: mdx-js/mdx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.17.5
Choose a head ref
  • 3 commits
  • 9 files changed
  • 1 contributor

Commits on Feb 15, 2019

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b9bf054 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0741f49 View commit details
  3. v0.17.5

    johno committed Feb 15, 2019
    Copy the full SHA
    6137b50 View commit details
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "3.4.0",
"version": "0.17.4",
"version": "0.17.5",
"packages": [
"packages/*"
],
6 changes: 3 additions & 3 deletions packages/loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdx-js/loader",
"version": "0.17.4",
"version": "0.17.5",
"description": "Loader for MDX",
"license": "MIT",
"keywords": [
@@ -27,8 +27,8 @@
"index.js"
],
"dependencies": {
"@mdx-js/mdx": "^0.17.4",
"@mdx-js/tag": "^0.17.0",
"@mdx-js/mdx": "^0.17.5",
"@mdx-js/tag": "^0.17.5",
"loader-utils": "^1.1.0"
},
"devDependencies": {
4 changes: 2 additions & 2 deletions packages/mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdx-js/mdx",
"version": "0.17.4",
"version": "0.17.5",
"description": "Parse MDX and transpile to JSX",
"license": "MIT",
"keywords": [
@@ -45,7 +45,7 @@
"@babel/core": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.1.6",
"@mapbox/rehype-prism": "^0.3.0",
"@mdx-js/tag": "^0.17.0",
"@mdx-js/tag": "^0.17.5",
"hast-util-select": "^3.0.0",
"jest": "^23.6.0",
"prettier": "^1.14.2",
4 changes: 2 additions & 2 deletions packages/parcel-plugin-mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdx-js/parcel-plugin-mdx",
"version": "0.17.4",
"version": "0.17.5",
"description": "Parcel plugin for MDX",
"license": "MIT",
"keywords": [
@@ -27,7 +27,7 @@
"src"
],
"dependencies": {
"@mdx-js/mdx": "^0.17.4",
"@mdx-js/mdx": "^0.17.5",
"parcel-bundler": "^1.4.1"
},
"peerDependencies": {
2 changes: 1 addition & 1 deletion packages/remark-mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark-mdx",
"version": "0.17.4",
"version": "0.17.5",
"description": "Support import, export, and JSX in markdown",
"license": "MIT",
"keywords": [
5 changes: 3 additions & 2 deletions packages/remark-mdx/tag.js
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ const attributeName = '[a-zA-Z_:][a-zA-Z0-9:._-]*'
const unquoted = '[^"\'=<>`\\u0000-\\u0020]+'
const singleQuoted = "'[^']*'"
const doubleQuoted = '"[^"]*"'
const jsProps = '{[^\n]*}'
const jsProps = '{.*}'
const attributeValue =
'(?:' +
unquoted +
@@ -42,5 +42,6 @@ exports.tag = new RegExp(
declaration +
'|' +
cdata +
')'
')',
's'
)
15 changes: 15 additions & 0 deletions packages/remark-mdx/test/fixtures/inline-parsing.js
Original file line number Diff line number Diff line change
@@ -64,5 +64,20 @@ module.exports = [
{
description: 'Handles links',
mdx: 'Hello, <Component>{props.world}</Component> and a moustache! }: <https://johno.com>'
},
{
description: 'Handles multiline JSX blocks',
mdx: `
<Image
src={asset(\`\${SOME_CONSTANT}/some.png\`)}
width="123"
height="456"
caption={
<span>
Here's a caption
</span>
}
/>
`.trim()
}
]
6 changes: 3 additions & 3 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdx-js/runtime",
"version": "0.17.4",
"version": "0.17.5",
"description": "Parse and render MDX in a runtime environment",
"license": "MIT",
"keywords": [
@@ -33,8 +33,8 @@
"src/"
],
"dependencies": {
"@mdx-js/mdx": "^0.17.4",
"@mdx-js/tag": "^0.17.0",
"@mdx-js/mdx": "^0.17.5",
"@mdx-js/tag": "^0.17.5",
"buble": "^0.19.6"
},
"devDependencies": {
7 changes: 4 additions & 3 deletions packages/tag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdx-js/tag",
"version": "0.17.0",
"version": "0.17.5",
"description": "A fully-featured Markdown/MDX React component for ambitious projects",
"license": "MIT",
"keywords": [
@@ -32,14 +32,15 @@
"babel-preset-stage-0": "^6.24.1",
"jest": "^23.1.0",
"react": "^16.3.2",
"react-dom": "^16.3.2"
"react-dom": "^16.3.2",
"rimraf": "^2.6.3"
},
"peerDependencies": {
"react": "^0.14.x || ^15.x || ^16.x"
},
"scripts": {
"build": "babel src -d dist",
"clean": "rm -rf dist",
"clean": "rimraf dist",
"prepublish": "npm run clean && npm run build",
"test": "jest"
}