- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- YUICompressor was unable to minify the json-parse code because it contained
eval
. It had inserted a placeholderEVAL_TOKEN
which to allow minification, then used a post-minify script to replaceEVAL_TOKEN
witheval
. This appears not to be necessary any more, and caused a problem with the 3.10.0 CDN deployed files and was removed. [lsmith]
- No changes.
- No changes.
- No changes.
- The JavaScript fallback version is only loaded when the environment doesn't provide a native implementation.
- No changes.
- No changes.
- Updated to use native JSON when in Node.js
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- Remove indirect
eval()
. [Ticket #2530295]
- No changes.
-
Convert parse input to a string before processing.
-
eval()
now referenced indirectly to allow for better compression. -
dateToString
deprecated; use areplacer
. A Date function extension is in the works.
- No changes.
-
useNative___ disabled for browsers with very broken native APIs (FF3.1beta1-3).
-
Assumption of
window
removed to support browser-less environment.
-
Leverages native
JSON.stringify
if available. -
Added
Y.JSON.useNativeParse
anduseNativeStringify
properties that can be set tofalse
to use the JavaScript implementations. Use these if your use case triggers an edge-case bug in one of the native implementations. Hopefully these will be unnecessary in a few minor versions of the A-grade browsers. -
Added support for
toJSON()
methods on objects being stringified. -
Moved Date stringification before replacer to be in accordance with ES5.
-
Leverages native
JSON.parse
if available. -
Stringify API change. Third argument changed from depth control to indent (Per the ECMA 5 spec).
-
Stringify now throws an
Error
if the object has cyclical references (Per the ECMA 5 spec). -
Restructured
stringify()
to leverageY.Lang.type
.
- No changes.
- Initial release.