@readme/syntax-highlighter 14.0.0 → 15.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +27753 -2
- package/dist/index.node.js +393 -1
- package/dist-utils/canonical.d.ts +60 -0
- package/dist-utils/canonical.js +66 -0
- package/dist-utils/index.d.ts +89 -0
- package/dist-utils/index.js +9 -0
- package/dist-utils/modes.d.ts +82 -0
- package/dist-utils/modes.js +105 -0
- package/dist-utils/uppercase.d.ts +1 -0
- package/dist-utils/uppercase.js +114 -0
- package/knip.ts +12 -0
- package/package.json +34 -18
- package/src/codeEditor/{cm.options.js → cm.options.ts} +4 -2
- package/src/codeEditor/{index.jsx → index.tsx} +22 -29
- package/src/codeMirror/index.jsx +1 -1
- package/src/index.js +4 -4
- package/src/utils/{canonical.js → canonical.ts} +4 -2
- package/src/utils/index.ts +5 -0
- package/src/utils/{modes.js → modes.ts} +6 -8
- package/src/utils/{uppercase.js → uppercase.ts} +4 -4
- package/tsconfig.json +12 -0
- package/webpack.config.js +14 -7
- package/dist/index.js.LICENSE.txt +0 -9
- /package/src/{index.node.js → index.node.ts} +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This mode has been adapted from the source of `codemirror-solidity` as the way that library is
|
|
3
|
-
* structured makes it impossible for us load as an isolated mode for our Codemirror needs. The
|
|
4
|
-
* source is mostly presented as-is with the exception of a few areas adapted into to our coding
|
|
5
|
-
* standards (such as using `const` instead of `let` for immutable data).
|
|
6
|
-
*
|
|
7
|
-
* @license MIT
|
|
8
|
-
* @see {@link https://github.com/alincode/codemirror-solidity}
|
|
9
|
-
*/
|
|
File without changes
|