Skip to content

Commit 2ae43a2

Browse files
committed
2.2.2
Same code, dev dependencies updated to avoid vulnerabilities (rollup, and serialize-javascript used by plugin-terser).
1 parent 0b5e9c7 commit 2ae43a2

7 files changed

Lines changed: 226 additions & 140 deletions

File tree

docs/INSTALL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
Copy the latest version of the [jsonstat-toolkit code](https://raw.githubusercontent.com/jsonstat/toolkit/master/iife.js) to your server and use a script tag in your webpage to link to it. <strong>jsonstat-toolkit</strong> is also available from several CDNs ([unpkg](https://unpkg.com), [jsDelivr](https://www.jsdelivr.com/)):
1212

1313
```html
14-
<script src="https://unpkg.com/jsonstat-toolkit@2.2.1"></script>
14+
<script src="https://unpkg.com/jsonstat-toolkit@2.2.2"></script>
1515
```
1616

1717
```html
18-
<script src="https://cdn.jsdelivr.net/npm/jsonstat-toolkit@2.2.1"></script>
18+
<script src="https://cdn.jsdelivr.net/npm/jsonstat-toolkit@2.2.2"></script>
1919
```
2020
Full example: [A Population Pyramid in a Couple of Lines of Code](https://jsonstat.com/examples/73d6d471b42abc17ac01502024be5f28).
2121

@@ -34,13 +34,13 @@ Modern browsers support ECMAScript modules. Copy the latest version of the [ECMA
3434

3535
```html
3636
<script type="module">
37-
import JSONstat from "https://unpkg.com/jsonstat-toolkit@2.2.1/import.mjs";
37+
import JSONstat from "https://unpkg.com/jsonstat-toolkit@2.2.2/import.mjs";
3838
</script>
3939
```
4040

4141
```html
4242
<script type="module">
43-
import JSONstat from "https://cdn.jsdelivr.net/npm/jsonstat-toolkit@2.2.1/import.mjs";
43+
import JSONstat from "https://cdn.jsdelivr.net/npm/jsonstat-toolkit@2.2.2/import.mjs";
4444
</script>
4545
```
4646

@@ -83,5 +83,5 @@ import { JSONstat } from "@jsonstat/toolkit"
8383
To import a particular version of the jsonstat-toolkit in [Observable](https://observablehq.com/):
8484

8585
```js
86-
JSONstat = require("jsonstat-toolkit@2.2.1").catch(() => window["JSONstat"])
86+
JSONstat = require("jsonstat-toolkit@2.2.2").catch(() => window["JSONstat"])
8787
```

iife.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

import.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

main.cjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

module.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)