We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6c8211 commit ea93a10Copy full SHA for ea93a10
index.cjs
@@ -83,7 +83,7 @@ const State = {
83
numberExpValue: 'numberExpValue',
84
};
85
86
-module.exports.JSON22 = class {
+class JSON22 {
87
88
static #Stack = class {
89
#array;
@@ -741,3 +741,5 @@ module.exports.JSON22 = class {
741
return result.join('');
742
}
743
744
+
745
+module.exports = { JSON22 };
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "json22",
3
- "version": "0.0.3",
+ "version": "0.0.4",
4
"description": "JSON superset with an ability to deal with classes and extended support for number values",
5
"author": "Dmitry Dutikov",
6
"license": "MIT",
0 commit comments