json-asty 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Gruntfile.js +1 -1
- package/Makefile +1 -1
- package/README.md +1 -1
- package/eslint.yaml +1 -1
- package/lib/json-asty.browser.js +1 -1
- package/lib/json-asty.node.js +1 -1
- package/package.json +6 -6
- package/src/json-asty.cli.js +2 -2
- package/src/json-asty.d.ts +2 -2
- package/src/json-asty.js +1 -1
- package/src/json-asty.pegjs +1 -1
- package/tst/json-asty.js +1 -1
package/Gruntfile.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
** Copyright (c) 2018-
|
|
3
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
**
|
|
5
5
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
** a copy of this software and associated documentation files (the
|
package/Makefile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
##
|
|
2
2
|
## JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
## Copyright (c) 2018-
|
|
3
|
+
## Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
##
|
|
5
5
|
## Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
## a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -137,7 +137,7 @@ JSON (new):
|
|
|
137
137
|
License
|
|
138
138
|
-------
|
|
139
139
|
|
|
140
|
-
Copyright © 2018-
|
|
140
|
+
Copyright © 2018-2026 Dr. Ralf S. Engelschall (http://engelschall.com/)
|
|
141
141
|
|
|
142
142
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
143
143
|
a copy of this software and associated documentation files (the
|
package/eslint.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
##
|
|
2
2
|
## JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
## Copyright (c) 2018-
|
|
3
|
+
## Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
##
|
|
5
5
|
## Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
## a copy of this software and associated documentation files (the
|
package/lib/json-asty.browser.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
** Copyright (c) 2018-
|
|
3
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
**
|
|
5
5
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
** a copy of this software and associated documentation files (the
|
package/lib/json-asty.node.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
** Copyright (c) 2018-
|
|
3
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
**
|
|
5
5
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
** a copy of this software and associated documentation files (the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json-asty",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "Lossless JSON-to-AST Parser and AST-to-JSON Generator",
|
|
5
5
|
"keywords": [ "json", "ast", "parse", "generate" ],
|
|
6
6
|
"browser": "lib/json-asty.browser.js",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"eslint-plugin-promise": "6.6.0",
|
|
47
47
|
"eslint-plugin-import": "2.32.0",
|
|
48
48
|
"eslint-plugin-node": "11.1.0",
|
|
49
|
-
"@babel/core": "7.
|
|
50
|
-
"@babel/preset-env": "7.
|
|
51
|
-
"@babel/plugin-transform-runtime": "7.
|
|
52
|
-
"mocha": "11.7.
|
|
53
|
-
"chai": "6.2.
|
|
49
|
+
"@babel/core": "7.29.0",
|
|
50
|
+
"@babel/preset-env": "7.29.2",
|
|
51
|
+
"@babel/plugin-transform-runtime": "7.29.0",
|
|
52
|
+
"mocha": "11.7.5",
|
|
53
|
+
"chai": "6.2.2"
|
|
54
54
|
},
|
|
55
55
|
"upd": [ "!chalk", "!eslint", "!grunt-eslint" ],
|
|
56
56
|
"scripts": {
|
package/src/json-asty.cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*!
|
|
3
3
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
4
|
-
** Copyright (c) 2018-
|
|
4
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
5
5
|
**
|
|
6
6
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
7
7
|
** a copy of this software and associated documentation files (the
|
|
@@ -67,7 +67,7 @@ const cli = new CLIio({
|
|
|
67
67
|
if (argv.version) {
|
|
68
68
|
process.stderr.write(my.name + " " + my.version + " <" + my.homepage + ">\n")
|
|
69
69
|
process.stderr.write(my.description + "\n")
|
|
70
|
-
process.stderr.write("Copyright (c) 2018-
|
|
70
|
+
process.stderr.write("Copyright (c) 2018-2026 " + my.author.name + " <" + my.author.url + ">\n")
|
|
71
71
|
process.stderr.write("Licensed under " + my.license + " <http://spdx.org/licenses/" + my.license + ".html>\n")
|
|
72
72
|
process.exit(0)
|
|
73
73
|
}
|
package/src/json-asty.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
** Copyright (c) 2018-
|
|
3
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
**
|
|
5
5
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
** a copy of this software and associated documentation files (the
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
declare module "
|
|
25
|
+
declare module "json-asty" {
|
|
26
26
|
export default class JsonAsty {
|
|
27
27
|
/* parse JSON into AST */
|
|
28
28
|
static parse(json: string): object;
|
package/src/json-asty.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
** Copyright (c) 2018-
|
|
3
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
**
|
|
5
5
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
** a copy of this software and associated documentation files (the
|
package/src/json-asty.pegjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
** Copyright (c) 2018-
|
|
3
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
**
|
|
5
5
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
** a copy of this software and associated documentation files (the
|
package/tst/json-asty.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
** JSON-ASTy -- Lossless JSON-to-AST Parser and AST-to-JSON Generator
|
|
3
|
-
** Copyright (c) 2018-
|
|
3
|
+
** Copyright (c) 2018-2026 Dr. Ralf S. Engelschall <rse@engelschall.com>
|
|
4
4
|
**
|
|
5
5
|
** Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
** a copy of this software and associated documentation files (the
|