You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly thank you for doing all this hard work to make using uuids easy to generate. Very much appreciated!
I just tried to use Version 1.6.2 of your code in a NetSuite environment which is a essentially a Mozilla javascript engine written in Java that supports only very old version of javascript (well before the advent of modern Node). As such the buffer type doesn't exist.
This is fine since it can be polyfilled, however I am having an issue where this error is raised on line 701 of the uuid.js file.
org.mozilla.javascript.EcmaError: ReferenceError: "Buffer" is not defined.
Perhaps in a future version rather than a simple "if (Buffer)" you could implement a safe method like the typeof line above so that the code will fall through to the else clause and still have a chance of working?!
Otherwise great job!
Thanks.
Paolo
SoftWUD
The text was updated successfully, but these errors were encountered:
Firstly thank you for doing all this hard work to make using uuids easy to generate. Very much appreciated!
I just tried to use Version 1.6.2 of your code in a NetSuite environment which is a essentially a Mozilla javascript engine written in Java that supports only very old version of javascript (well before the advent of modern Node). As such the buffer type doesn't exist.
This is fine since it can be polyfilled, however I am having an issue where this error is raised on line 701 of the uuid.js file.
org.mozilla.javascript.EcmaError: ReferenceError: "Buffer" is not defined.
Perhaps in a future version rather than a simple "if (Buffer)" you could implement a safe method like the typeof line above so that the code will fall through to the else clause and still have a chance of working?!
Otherwise great job!
Thanks.
Paolo
SoftWUD
The text was updated successfully, but these errors were encountered: