Skip to content

Commit 46778f3

Browse files
committed
Bump version add ES5 note
1 parent 33bad6f commit 46778f3

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ Require `cbor-redux` in [Node](https://www.npmjs.com/package/cbor-redux):
2626
const { CBOR } = require('cbor-redux')
2727
```
2828

29-
or import in [Deno](https://deno.land/x/cbor_redux@0.2.0):
29+
or import in [Deno](https://deno.land/x/cbor_redux):
3030
```javascript
31-
import { CBOR } from 'https://deno.land/x/cbor_redux@0.2.0/mod.ts'
31+
import { CBOR } from 'https://deno.land/x/cbor_redux@0.3.0/mod.ts'
3232
```
3333

3434
or script on an [HTML page](https://www.skypack.dev/npm/cbor-redux):
3535
```html
36-
<script src="https://cdn.skypack.dev/cbor-redux@^0.2.0" type="text/javascript"></script>
36+
<script src="https://cdn.skypack.dev/cbor-redux@^0.3.0" type="text/javascript"></script>
3737
```
38+
> For ES5 polyfill, use es5/CBOR.js in the npm package or else `<script src="https://unpkg.com/[email protected]/esm/CBOR.js"></script>`.
3839
3940
Then you can use it via the `CBOR`-object in your code:
4041

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cbor-redux",
3-
"version": "0.2.1",
3+
"version": "0.3.0",
44
"main": "dist/CBOR.js",
55
"types": "dist/CBOR.d.ts",
66
"module": "esm/CBOR.js",

0 commit comments

Comments
 (0)