Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "json-loose", | ||
"description": "Transforms loosely structured plain object strings into valid JSON strings", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"publishConfig": { | ||
@@ -21,10 +21,10 @@ "access": "public" | ||
"type": "module", | ||
"main": "./dist/index.cjs", | ||
"browser": "./dist/index.umd.cjs", | ||
"module": "./dist/index.js", | ||
"main": "./dist/index.cjs.js", | ||
"browser": "./dist/index.umd.js", | ||
"module": "./dist/index.es.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.es.js", | ||
"require": "./dist/index.cjs.js", | ||
"types": "./dist/index.d.ts" | ||
@@ -31,0 +31,0 @@ } |
@@ -17,7 +17,7 @@ # json-loose | ||
```html | ||
<script type="module"> | ||
import jsonLoose from 'https://cdn.jsdelivr.net/npm/json-loose/+esm' | ||
</script> | ||
``` | ||
| Type | URL | | ||
| :--- | :---------------------------------------------------------- | | ||
| ESM | `https://cdn.jsdelivr.net/npm/json-loose/+esm` | | ||
| CJS | `https://cdn.jsdelivr.net/npm/json-loose/dist/index.cjs.js` | | ||
| UMD | `https://cdn.jsdelivr.net/npm/json-loose/dist/index.umd.js` | | ||
@@ -24,0 +24,0 @@ ## Usage |
13089