diff -Nru node-flatted-3.2.4~ds/debian/changelog node-flatted-3.2.5~ds/debian/changelog --- node-flatted-3.2.4~ds/debian/changelog 2021-11-27 09:56:23.000000000 +0000 +++ node-flatted-3.2.5~ds/debian/changelog 2022-02-08 14:58:07.000000000 +0000 @@ -1,3 +1,15 @@ +node-flatted (3.2.5~ds-1) unstable; urgency=medium + + [ upstream ] + * new release + + [ Jonas Smedegaard ] + * tighten lintian overrides + * update generating documentation; + build-depend on cmark-gfm (not pandoc) + + -- Jonas Smedegaard Tue, 08 Feb 2022 15:58:07 +0100 + node-flatted (3.2.4~ds-1) unstable; urgency=medium [ upstream ] diff -Nru node-flatted-3.2.4~ds/debian/control node-flatted-3.2.5~ds/debian/control --- node-flatted-3.2.4~ds/debian/control 2021-11-07 20:38:30.000000000 +0000 +++ node-flatted-3.2.5~ds/debian/control 2022-02-08 14:56:35.000000000 +0000 @@ -6,6 +6,7 @@ Jonas Smedegaard , Build-Depends: brotli, + cmark-gfm , debhelper-compat (= 13), node-ascjs, node-babel-core (>= 7), @@ -14,7 +15,6 @@ node-tap , node-typescript , nodejs , - pandoc , pigz, rollup, terser, diff -Nru node-flatted-3.2.4~ds/debian/copyright_hints node-flatted-3.2.5~ds/debian/copyright_hints --- node-flatted-3.2.4~ds/debian/copyright_hints 2021-11-27 09:55:52.000000000 +0000 +++ node-flatted-3.2.5~ds/debian/copyright_hints 2022-02-08 14:55:25.000000000 +0000 @@ -57,8 +57,8 @@ FIXME Files: debian/source/lintian-overrides -Copyright: debian/copyright GPL-3+ - debian/copyright gpl-3+ +Copyright: GPL-3+ + gpl-3+ License: UNKNOWN FIXME diff -Nru node-flatted-3.2.4~ds/debian/rules node-flatted-3.2.5~ds/debian/rules --- node-flatted-3.2.4~ds/debian/rules 2021-11-07 20:38:43.000000000 +0000 +++ node-flatted-3.2.5~ds/debian/rules 2022-02-08 14:57:20.000000000 +0000 @@ -11,20 +11,6 @@ # * See LICENSE = magnet:?xt=urn:btih:b8999bbaf509c08d127678643c515b9ab0836bae&dn=ISC.txt ISC -%: - dh $@ - -# pre-compress for browser use -%.gz: % - pigz --force --keep -11 -- $< - brotli --force --keep --best --suffix=.brotli -- $< - -%.html: %.md - pandoc --from gfm-raw_html --to html --standalone --output $@ $< - -%.txt: %.md - pandoc --from gfm-raw_html --to plain --output $@ $< - # optimize JavaScript for browser use # * include source-map debian/js/%.min.js: @@ -72,4 +58,18 @@ override_dh_installdocs: dh_installdocs --all -- $(DOCS) +# pre-compress for browser use +%.gz: % + pigz --force --keep -11 -- $< + brotli --force --keep --best --suffix=.brotli -- $< + +%.html: %.md + cmark-gfm $< > $@ + +%.txt: %.md + cmark-gfm --to plaintext $< > $@ + +%: + dh $@ + .SECONDARY: diff -Nru node-flatted-3.2.4~ds/debian/source/lintian-overrides node-flatted-3.2.5~ds/debian/source/lintian-overrides --- node-flatted-3.2.4~ds/debian/source/lintian-overrides 2021-11-04 21:51:01.000000000 +0000 +++ node-flatted-3.2.5~ds/debian/source/lintian-overrides 2022-02-08 14:55:44.000000000 +0000 @@ -1,3 +1,3 @@ # License is in Reference field (see bug#786450) -missing-license-paragraph-in-dep5-copyright debian/copyright gpl-3\+ * -missing-license-text-in-dep5-copyright debian/copyright GPL-3\+ * +missing-license-paragraph-in-dep5-copyright gpl-3\+ * +missing-license-text-in-dep5-copyright GPL-3\+ * diff -Nru node-flatted-3.2.4~ds/package.json node-flatted-3.2.5~ds/package.json --- node-flatted-3.2.4~ds/package.json 2021-11-09 16:02:41.000000000 +0000 +++ node-flatted-3.2.5~ds/package.json 2022-01-26 17:01:53.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "flatted", - "version": "3.2.4", + "version": "3.2.5", "description": "A super light and fast circular JSON parser.", "unpkg": "min.js", "types": "types.d.ts", @@ -52,7 +52,10 @@ "module": "./esm/index.js", "type": "module", "exports": { - "import": "./esm/index.js", - "default": "./cjs/index.js" + ".": { + "import": "./esm/index.js", + "default": "./cjs/index.js" + }, + "./package.json": "./package.json" } } diff -Nru node-flatted-3.2.4~ds/package-lock.json node-flatted-3.2.5~ds/package-lock.json --- node-flatted-3.2.4~ds/package-lock.json 2021-11-09 16:02:41.000000000 +0000 +++ node-flatted-3.2.5~ds/package-lock.json 2022-01-26 17:01:53.000000000 +0000 @@ -1,12 +1,12 @@ { "name": "flatted", - "version": "3.2.4", + "version": "3.2.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "flatted", - "version": "3.2.4", + "version": "3.2.5", "license": "ISC", "devDependencies": { "@babel/core": "^7.16.0", diff -Nru node-flatted-3.2.4~ds/README.md node-flatted-3.2.5~ds/README.md --- node-flatted-3.2.4~ds/README.md 2021-11-09 16:02:41.000000000 +0000 +++ node-flatted-3.2.5~ds/README.md 2022-01-26 17:01:53.000000000 +0000 @@ -8,13 +8,13 @@ ## Announcement 📣 -There is a standard approach to recursion and more data-types than what JSON allow, and it's part of this [Structured Clone Module](https://github.com/ungap/structured-clone/#readme). +There is a standard approach to recursion and more data-types than what JSON allows, and it's part of the [Structured Clone polyfill](https://github.com/ungap/structured-clone/#readme). -Beside acting as a polyfill, its `@ungap/structured-clone/json` export provides both `stringify` and `parse`, and it's been tested for being faster than *flatted*, but its produced output is also smaller than *flatted*. +Beside acting as a polyfill, its `@ungap/structured-clone/json` export provides both `stringify` and `parse`, and it's been tested for being faster than *flatted*, but its produced output is also smaller than *flatted* in general. The *@ungap/structured-clone* module is, in short, a drop in replacement for *flatted*, but it's not compatible with *flatted* specialized syntax. -However, if recursion, as well as more data-types, are what you are after, or interesting for your projects, consider switching to this new module whenever you can 👍 +However, if recursion, as well as more data-types, are what you are after, or interesting for your projects/use cases, consider switching to this new module whenever you can 👍 - - - @@ -42,7 +42,7 @@ stringify(a); // [["1","0"],{"a":"0"}] ``` -## toJSON and from JSON +## toJSON and fromJSON If you'd like to implicitly survive JSON serialization, these two helpers helps: