Giter Club home page Giter Club logo

Comments (3)

miha42-github avatar miha42-github commented on July 3, 2024

@jgoodie I haven't tested with node 21, but let me know the experience. I believe it is fixed now. The problem was that I had an old stale module running around and was not using the new module which has a new maintainer.

The fix was:

  1. Make sure the latest for PlainJs json2csv was installed. In the package.json file this means "@json2csv/plainjs": "^7.0.4".
  2. In src/cli/output.js ensure that the new module is imported import {Parser} from '@json2csv/plainjs' and the new way to call the parser method was performed. This means that we'd construct a new Parser object with const csvParser = new Parser() and then call csvParser.parse(objs).
  3. Publish the new version.

To check the fix please run: sudo npm i -g mediumroast_js

from mediumroast_js.

jgoodie avatar jgoodie commented on July 3, 2024

@miha42-github it looks good. I'll close this out.

from mediumroast_js.

miha42-github avatar miha42-github commented on July 3, 2024

This is closed, the problem was the new module for json2csv was included in the package just not imported and used. This was fixed.

from mediumroast_js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.