Skip to content

Commit

Permalink
Release v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Sep 28, 2024
1 parent 009584b commit 16376a2
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 15 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ const html = prettyPrintJson.toHtml(data, options?);
##### JavaScript:
Pass data into `prettyPrintJson.toHtml(data, options)` and display the results.
```javascript
const data = { active: true, mode: '🚃', codes: [48348, 28923, 39080], city: 'London' };
const data = {
active: true,
mode: '🚃',
codes: [48348, 28923, 39080],
city: 'London',
};
const elem = document.getElementById('account');
elem.innerHTML = prettyPrintJson.toHtml(data);
```
Expand Down
2 changes: 1 addition & 1 deletion dist/css/pretty-print-json.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! pretty-print-json v3.0.2 ~~ https://pretty-print-json.js.org ~~ MIT License */
/*! pretty-print-json v3.0.3 ~~ https://pretty-print-json.js.org ~~ MIT License */

/* Layout */
.json-container { font-family: menlo, consolas, monospace; font-style: normal; font-weight: bold; line-height: 1.4em; font-size: 0.9rem; transition: background-color 400ms; }
Expand Down
2 changes: 1 addition & 1 deletion dist/css/pretty-print-json.dark-mode.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! pretty-print-json v3.0.2 ~~ https://pretty-print-json.js.org ~~ MIT License */
/*! pretty-print-json v3.0.3 ~~ https://pretty-print-json.js.org ~~ MIT License */

/* Layout */
.json-container { font-family: menlo, consolas, monospace; font-style: normal; font-weight: bold; line-height: 1.4em; font-size: 0.9rem; transition: background-color 400ms; }
Expand Down
2 changes: 1 addition & 1 deletion dist/css/pretty-print-json.dark-mode.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/pretty-print-json.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/pretty-print-json.prefers.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! pretty-print-json v3.0.2 ~~ https://pretty-print-json.js.org ~~ MIT License */
/*! pretty-print-json v3.0.3 ~~ https://pretty-print-json.js.org ~~ MIT License */

/* Layout */
.json-container { font-family: menlo, consolas, monospace; font-style: normal; font-weight: bold; line-height: 1.4em; font-size: 0.9rem; transition: background-color 400ms; }
Expand Down
2 changes: 1 addition & 1 deletion dist/css/pretty-print-json.prefers.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/pretty-print-json.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! pretty-print-json v3.0.2 ~~ https://pretty-print-json.js.org ~~ MIT License
//! pretty-print-json v3.0.3 ~~ https://pretty-print-json.js.org ~~ MIT License

export type FormatSettings = {
indent: number;
Expand Down
4 changes: 2 additions & 2 deletions dist/pretty-print-json.dev.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! pretty-print-json v3.0.2 ~~ https://pretty-print-json.js.org ~~ MIT License
//! pretty-print-json v3.0.3 ~~ https://pretty-print-json.js.org ~~ MIT License

const prettyPrintJson = {
version: '3.0.2',
version: '3.0.3',
toHtml(data, options) {
const defaults = {
indent: 3,
Expand Down
4 changes: 2 additions & 2 deletions dist/pretty-print-json.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! pretty-print-json v3.0.2 ~~ https://pretty-print-json.js.org ~~ MIT License
//! pretty-print-json v3.0.3 ~~ https://pretty-print-json.js.org ~~ MIT License

const prettyPrintJson = {
version: '3.0.2',
version: '3.0.3',
toHtml(data, options) {
const defaults = {
indent: 3,
Expand Down
4 changes: 2 additions & 2 deletions dist/pretty-print-json.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pretty-print-json",
"version": "3.0.2",
"version": "3.0.3",
"description": "Pretty-print JSON data into HTML to indent and colorize (written in functional TypeScript)",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit 16376a2

Please sign in to comment.