Debian Codegraph @

CHANGES

raw
1 Revision history for Perl extension Data::JavaScript.
2
3 1.16 Sun Nov 2 10:19:35 EST 2025
4 - Debian patch for Perl 5.42 warning
5 - Fix unquoted period reported by jwrightrecs, which matches real num regexp
6 - Unquote numbers in scientific notation for brevity of output
7 (Maybe older JSON did not support them, and that's why they were wrapped?)
8 - Remove 404 issue tracker from YAML.
9 Wayback machine shows title only of three tickets circa 2010,
10 the first two of which are from MSTEMLE / manchicken
11 1. Update documentation
12 2. Add support for modern JavaScript data structures
13 3. single . as value isn't quoted - jwrightrecs
14
15 1.15 Sun Oct 11 11:37:15 EDT 2020
16 - Adding skip check to the perlcritic test to avoid cpan tester issues.
17
18 1.14 Fri Oct 8 23:33:20 EDT 2020
19 - Modernized codebase
20 - Added CI
21
22 1.13 Thu Aug 14 11:01:10 EDT 2008
23 - Finished implementing import
24 - "Simplified"/unified __quotemeta code forks
25
26 1.12 Wed Aug 13 22:48:12 EDT 2008
27 - Some minor refactoring, including the removal of a dependency on
28 Exporter
29 - Fixed a misnumbered test in 1_11, which was intended to be a
30 development release.
31 - Escape </script> based on reports of certain stupid browsers
32 ceasing to parse JavaScript upon encountering this string,
33 even in strings.
34 - Added explicit license
35
36 1_11 Tue Nov 15 14:30:22 EST 2005
37 - Touched up documentation
38 - Fixed syntax errors for hash key names that are also JS keywords
39 Reported by Kevin J. of Activestate
40 - Hash keys are now dumped in alphabetical order, this makes code
41 easier to debug (as suggested by Scott Wessels) and is necessary
42 for thorough testing.
43 - Special characters tab, newline, carriage return, ", and \ are
44 now escaped in place instead of as hex: \t, \n, \r, \", \\
45
46 1.10 Sun Nov 13 03:50 EST 2005
47 - Touched up documentation
48 - Explicitly requires Perl 5
49 - Previously undocumented, "private", quotemeta is now __quotemeta
50 though you may still import and use it
51 - Defaults to JavaScript1.3 compatible code with Unicode and undefined
52 support, specifc JS=>1.2 on the use line for backwards compatbility.
53 - Removed unnecessary evaluation of numeric elements, this fixes octal
54 interpretation of zipcodes, etc. Still, zipcodes such as 02137 would
55 be *correctly* evaluated by the client as 1119. However, in keeping
56 with the principle of least surprise any purely numeric string with
57 a leading zero will be treated as a string and quoted. If you really
58 meant to send a literal octal value, you can always eval the var
59 Similarly, engineering and hex notations are passed through to
60 strings as well.
61
62 Thanks for reports from Javier Arturo Rodriguez, Marius Feraru,
63 Joseph Annino, Alan Fairless, Kevin J.
64 - quotemeta has been completely rewritten with support for Unicode
65
66 Thanks for reports from Slaven Rezic, Marius Feraru, Sean Burke
67
68 1.08 Thu Feb 13 09:04:27 EST 2003
69 - Touched up the documentation
70
71 1.07 Sat Feb 8 12:40:16 EST 2003
72 - Added means to control how undef is dumped, suggested by Slaven Rezic
73 In doing so I have removed the undocumented feature that a list
74 was silently transformed into a list reference.
75 - Touched up the documentation
76
77 ****
78
79 Ariel Brosh passed away a few months ago. I volunteered to maintain this
80 module as it was the inspiration for my own Data::JavaScript::LiteObject
81
82 http://use.perl.org/article.pl?sid=03/01/12/226258&mode=nested
83
84 ****
85
86 1.04 Thu Jul 19 2001
87 - Fixed quoting back, thanks to Garick Hamlin
88
89 1.00 Mon Jun 12 21:03:29 2000
90 - original version; created by h2xs 1.19
91