scripting / reallysimple

A Node package that reads RSS, Atom and RDF feeds and calls back with a simple, consistent JavaScript object.
MIT License
83 stars 0 forks source link

Uncaught ReferenceError: myVersion is not defined #3

Open scotthansonde opened 2 years ago

scotthansonde commented 2 years ago

Using reallysimple in a project I get this error:

reallysimple.js:1 Uncaught ReferenceError: myVersion is not defined at node_modules/reallysimple/reallysimple.js (reallysimple.js:1:37)

Changing the semi-colon to a comma in line 1 seems to fix the error.

scripting commented 2 years ago

@scotthansonde -- thanks for the report.

For some reason it isn't an error when I use reallysimple.

We must be using different versions of Node and therefore our JS interpreters are different?

I don't know, but I have fixed the semicolon, and re-released in the form of v0.4.10.

Please let me know if it worked.

scotthansonde commented 2 years ago

Yes, the error is fixed 👍