Calyhre / gatsby-remark-abbr

Add abbr syntax support to gatsby-remark
1 stars 2 forks source link

chore: update deps #25

Open PaulieScanlon opened 2 years ago

PaulieScanlon commented 2 years ago

Hey @Calyhre I'm Paul, nice to meet you. I was wondering if you could help me out with this PR.

I'd liked to update gatsby-transformer-remark and add "gatsby": "4.0.0" to the peerDependencies.

After updating remark-abbr, gatsby-transformer-remark the tests are failing. Are you able to give me some pointers about what might be causing the tests to fail?

    TypeError: Cannot set properties of undefined (setting 'abbr')

      4 |
      5 | function pluginWrapper(options) {
    > 6 |   transformer = remarkAbbr.call(this, options);
        |                            ^
      7 | }
Calyhre commented 2 years ago

It seems that since remark-parse switched to micromark, we cannot use remark-abbr anymore as it's incompatible