Socket
Socket
Sign inDemoInstall

micromark-util-symbol

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0

lib/codes.d.ts

32

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc