micromark-util-symbol
Advanced tools
Comparing version 1.1.0 to 2.0.0
{ | ||
"name": "micromark-util-symbol", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "micromark utility with symbols", | ||
@@ -31,30 +31,6 @@ "license": "MIT", | ||
"files": [ | ||
"codes.d.ts", | ||
"codes.js", | ||
"constants.d.ts", | ||
"constants.js", | ||
"types.d.ts", | ||
"types.js", | ||
"values.d.ts", | ||
"values.js" | ||
"lib/" | ||
], | ||
"To do": "next major: remove `.js` suffixes", | ||
"exports": { | ||
"./codes": "./codes.js", | ||
"./codes.js": "./codes.js", | ||
"./constants": "./constants.js", | ||
"./constants.js": "./constants.js", | ||
"./types": "./types.js", | ||
"./types.js": "./types.js", | ||
"./values": "./values.js", | ||
"./values.js": "./values.js" | ||
}, | ||
"scripts": {}, | ||
"xo": false, | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"detail": true, | ||
"strict": true, | ||
"ignoreCatch": true | ||
} | ||
"exports": "./lib/default.js", | ||
"xo": false | ||
} |
@@ -49,3 +49,3 @@ # micromark-util-symbol | ||
```js | ||
import {codes} from 'https://esm.sh/micromark-util-symbol/codes@1' | ||
import * as symbol from 'https://esm.sh/micromark-util-symbol@1' | ||
``` | ||
@@ -57,3 +57,3 @@ | ||
<script type="module"> | ||
import {codes} from 'https://esm.sh/micromark-util-symbol/codes@1?bundle' | ||
import * as symbol from 'https://esm.sh/micromark-util-symbol@1?bundle' | ||
</script> | ||
@@ -65,6 +65,3 @@ ``` | ||
```js | ||
import {codes} from 'micromark-util-symbol/codes' | ||
import {constants} from 'micromark-util-symbol/constants' | ||
import {types} from 'micromark-util-symbol/types' | ||
import {values} from 'micromark-util-symbol/values' | ||
import {codes, constants, types, values} from 'micromark-util-symbol' | ||
@@ -79,10 +76,7 @@ console.log(codes.atSign) // 64 | ||
This package has four entries in its export map: `micromark-util-symbol/codes`, | ||
`micromark-util-symbol/constants`, `micromark-util-symbol/types`, | ||
`micromark-util-symbol/values`. | ||
This package exports the identifiers `codes`, `constants`, `types`, and | ||
`values`. | ||
There is no default export. | ||
Each module exports an identifier with the same name (for example, | ||
`micromark-util-symbol/codes` has `codes`), which is an object mapping strings | ||
to other values. | ||
Each identifier is an object mapping strings to values. | ||
See the code for the exposed data. | ||
@@ -97,8 +91,10 @@ | ||
Projects maintained by the unified collective are compatible with all maintained | ||
Projects maintained by the unified collective are compatible with maintained | ||
versions of Node.js. | ||
As of now, that is Node.js 16+. | ||
Our projects sometimes work with older versions, but this is not guaranteed. | ||
This package works with `micromark` version 3+. | ||
When we cut a new major release, we drop support for unmaintained versions of | ||
Node. | ||
This means we try to keep the current release line, | ||
`micromark-util-symbol@^2`, compatible with Node.js 16. | ||
This package works with `micromark@^3`. | ||
@@ -105,0 +101,0 @@ ## Security |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
12
1057
37512
1
169
1