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.0
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.3
Choose a head ref
  • 8 commits
  • 28 files changed
  • 3 contributors

Commits on Feb 12, 2019

  1. Improve parsing for JSX blocks (including inline) (#396)

    * Implement support for Some.Component style JSX blocks
    
    * Add failing test for string interpolation
    
    * Add failing test for js functions as props
    
    * Add failing test for js functions as props with returns
    
    * Make value parsing for JSX props more flexible
    
    * Don't lint fixtures file
    
    * Add nested object props fixture
    
    * Add another fixture for randomly placed brackets
    
    * Add link shortcut to fixture
    
    * Remove object props since it is a subset of js props
    
    * Update packages/remark-mdx/test/fixtures/inline-parsing.js
    
    Co-Authored-By: johno <johnotander@gmail.com>
    johno authored Feb 12, 2019
    1
    Copy the full SHA
    8249e64 View commit details
  2. v0.17.1

    johno committed Feb 12, 2019
    1
    Copy the full SHA
    fac2cf9 View commit details
  3. 1
    Copy the full SHA
    e01693e View commit details
  4. 1
    Copy the full SHA
    8d9d9b5 View commit details
  5. v0.17.2

    johno committed Feb 12, 2019
    1
    Copy the full SHA
    14d9b19 View commit details
  6. Issue 344: Automate canary releases (#400)

    * Add publish script and configuration for ci
    
    * Add travis config to skip cleanup
    
    * Add .npmrc file for publishing through travis
    
    * Get correct tags before publishing with lerna
    leimonio authored and johno committed Feb 12, 2019
    1
    Copy the full SHA
    1113438 View commit details

Commits on Feb 14, 2019

  1. Improve import and export parsing with babel (#399)

    * Improve import and export parsing with babel
    
    This introduces babel for better handling import and
    export parsing. Anything that is an import/export block
    will be parsed by babel and split up ensuring that
    edge cases will no longer occur based on how the
    JS is grouped. It also makes parsing the export default
    nodes more robust.
    
    - #345
    - #340
    
    * Add multiline fixtures
    
    * Preserve positional information for AST nodes
    
    In order to maintain positional metadata for AST nodes
    that are parsed, we need to ensure that each import/export
    is eaten in order as a correct subvalue.
    
    Since the remark eat function requires the string to be
    consumed in order, with no missing characters, the babel
    plugin now returns the start value which is used to sort
    the nodes and partition the input string. They're then
    combined again and returned as nodes that can be eaten
    in order by the tokenizer.
    
    This also comes with the benefit of no longer changing the
    input code which occurs with the prior babel generator.
    
    * Remove unneeded babel generator dep
    
    * Simplify partition function
    
    * Make naming consistent
    
    * Add snapshot test to verify positional info
    johno authored Feb 14, 2019
    Copy the full SHA
    39e95c5 View commit details
  2. v0.17.3

    johno committed Feb 14, 2019
    1
    Copy the full SHA
    d987df9 View commit details
Loading