Commit Graph

178 Commits

Author SHA1 Message Date
Stephen Li 25b9f6b90a
(enh) add lib/common.js to sideEffects (#3828)
vite/rollup will treeshake side effect imports (whereas webpack will not) if the files themselves are not marked in package.json

Resolves #3827
2023-08-04 01:14:37 -04:00
Josh Goebel 381c49247b (chore) update deps 2023-04-29 09:34:14 -04:00
Josh Goebel 77a8e5c165 (release prep) bump for 10.8.0 release 2023-03-19 16:51:53 -04:00
Josh Goebel 82688fad18 (release) bump 11.7.0 2022-11-23 17:07:54 -05:00
Josh Goebel bed790f3f3
(release) 11.6.0 (attempt two) 2022-07-13 11:09:49 -04:00
Josh Goebel f5f97fb2fb
(chore) bump deps 2022-07-13 10:27:16 -04:00
Josh Goebel 0f5b40d840
rewind glob 2022-06-12 08:35:06 -04:00
Josh Goebel f78eac4330
(chore) bump deps 2022-06-12 08:30:56 -04:00
Ivan Sagalaev aaeb543f0a
(chore) assign `author` to Josh Goebel (#3513)
I'm getting contacted occasionally by people who look up the
package's author from npm's registry. Package.json doesn't have a
dedicated 'maintainer' field, so 'author' should work, I think.
2022-03-29 17:23:53 -04:00
dirkjf 4db262dbdc
(chore) explicitly set sideEffect for css and scss files, fixes #3504 (#3511) 2022-03-29 08:38:29 -04:00
Josh Goebel 7a62552656 release 10.5.0
Signed-off-by: Josh Goebel <me@joshgoebel.com>
2022-03-11 19:04:53 -05:00
Vladimir Jimenez e220158cdd
Update colors (dev dep) to new maintained version (#3485) 2022-02-16 23:00:19 -05:00
Josh Goebel 87a588b452
(chore) bump deps (#3480) 2022-02-15 11:04:28 -05:00
Shane Osbourne 891a2ffc73
(chore) add sideEffects: false to enable tree-shaking in esbuild & others 2022-02-09 15:27:28 -05:00
Josh Goebel 2d0e7c1094 (chore) release 10.4.0 2022-01-06 09:56:23 -05:00
Josh Goebel c37ef5b7b9
(enh) improve default theme accessibility (#3402)
* first pass at accessibility report in checkTheme
* resolve CSS color names when necessary
* (enh) default Dark theme is WCAG AAA wrt contrast
* (enh) improve accessibility of default theme
2021-12-09 10:52:21 -05:00
Jan Pilzer cd1c9dcf10
(chore) apply lint to our tooling scripts also (#3380) 2021-10-31 20:37:00 -04:00
Josh Goebel 175b8561ae (release) bump 11.3.1 2021-10-17 16:16:39 -04:00
Josh Goebel 0ce39797ee 11.3.0 2021-10-17 09:30:27 -04:00
Josh Goebel 390649338a (chore) bump npm dependencies 2021-10-05 22:47:11 -04:00
Josh Goebel 2a5c592e5e release 11.2.0 2021-08-01 21:38:37 -04:00
Josh Goebel 83ad2fbd99 (release) bump 11.1.0 2021-07-08 10:56:36 -04:00
Josh Goebel 1c7c6963f0 (chore) bump some deps 2021-05-29 21:04:40 -04:00
Josh Goebel 947e9255dc bump version to 11.0.0 2021-05-29 21:01:50 -04:00
Josh Goebel 1657b0e53f bump deps 2021-05-13 19:08:21 -04:00
Josh Goebel f7e5e3333d 11.0.0-beta0 version bump 2021-05-04 08:31:23 -04:00
Josh Goebel 3470e22f9e (chore) bump prior to 11.alpha1 2021-04-21 20:59:43 -04:00
Josh Goebel 6a7c0e6fdc
(chore) Builds ES and CJS modules side by side with conditional exports (#3007)
- drops the legacy `lib/highlight.js`
- build ES modules in `es` folder side-by-side with `lib` for CJS
- adds `lib/common`
- loader is no longer supported, languages must `export default` or equiv
- add --no-esm build option (for speed)
- add `.js.js` stubs for maximum compatible with requires using extensions
2021-04-16 11:57:17 -04:00
Josh Goebel 562662e0f6 11.0.0-alpha0 version bump 2021-04-13 07:27:38 -04:00
Josh Goebel d279920fe6 (chore) remove Vue plugin entirely 2021-04-13 07:27:38 -04:00
Josh Goebel 256a5da57c (chore) bump deps 2021-04-13 07:27:38 -04:00
Josh Goebel a9b7bb6043 (chore) remove useBR, fixMarkup, tabReplace features 2021-04-13 07:27:38 -04:00
Josh Goebel 623e9a0747 (chore) add css dependency, improve default theme 2021-04-09 02:01:33 -04:00
Josh Goebel 421b23b0ae (chore) fix TS issue, bump 10.7.1 2021-03-21 04:19:12 -04:00
Josh Goebel 7ec45af1c0 (chore) bump version to 10.7.0 2021-03-20 09:08:17 -04:00
Josh Goebel 35d1e28131 (chore) AUTHORS.txt -> CONTRIBUTORS.md
- Move AUTHORS.txt to CONTRIBUTORS.md
- Removes the manually maintained list of contributors
- Links to GitHub contributor graph information instead
- Update README links
- `contributors` in package.json is now core team (current and alumni)
- remove this step from the pull request template
2021-03-03 03:32:17 -05:00
Josh Goebel db39f7f374 (chore) bump deps 2021-02-08 08:20:41 -05:00
Josh Goebel aa03ebd451 (chore) bump 10.6 version 2021-02-08 08:16:26 -05:00
Josh Goebel 561cdfa6c8 (chore) bump dependencies 2021-01-22 10:52:42 -05:00
Josh Goebel 1fc1337704 (chore) remove jsbeautify, we use eslint for this purpose 2021-01-22 10:47:20 -05:00
John Haugeland a951323fe8
(chore) Removed eslint-plugin-standard (redundant) (#2968) 2021-01-20 19:30:26 -05:00
Josh Goebel 331c65fa69 bump dependencies 2020-12-22 20:44:57 -05:00
Josh Goebel fddfeb1fc6 prepare 10.5 2020-12-22 20:35:02 -05:00
Jan Pilzer 325c734213
enh(website) Simply demo rendering (#2923)
- make demo rendering more static and remove unneeded JS libraries
2020-12-18 16:00:29 -05:00
Jan Pilzer 4d9d9e1832
(chore) Simplify linting configuration (#2900)
Also: 

- Use overrides instead of multiple files
- Fix merge html plugin linting
2020-12-17 21:55:06 -05:00
Josh Goebel 373b9d8624
Merge pull request from GHSA-7wwv-vh3v-89cq
* enh(tests) analyze regex for catastrophic backtracking

* allow testing individual languages

* fix(routeros) resolve potential exponential backtracking issue

* fix(powershell) resolve potential exponential backtracking issue

* fix(erlang-repl) resolve backtracking issue

* fix(r) resolve backtracking issue

* fix(jboss-cli) resolve backtracking issue

* (lint) perl

* fix(perl) resolve exponential backtracking issue

* fix(gams) resolve exponential backtracking issue

* (lint) c-like

* fix(handlebars) resolve exponential backtracking issue

* fix(cpp) resolve exponential backtracking issue

* fix(sqf) fix poly backtracking issue

- The `_` case should already be  handled by `_+`

* fix(xquery) fix poly backtracking issue

* fix(ruleslanguage) fix poly backtracking issue

The extra expression here does not matter since it was purely
optional (`*`).  The important thing is gobbling up the `#` to prevent
it from stealing relevance.  And `\s+` gets that done on it's own.

* fix(markdown) fix poly backtracking issue

- Fix poly backtracking with code blocks

* fix(dsconfig) fix poly backtracking issue

Not 100% sure what the original intent of \S was since it seems that
valueless properties wouldn't have a trailing `:` and why should we
include the letter after as part of the match?

That means that now there is an edge case that we handle slightly
differently

property:"quoted value"

The `:` will not be highlighted (as it was before).  This is a
problem for another day when someone who knows about dsconfig
shows up.

* fix(x86asm) fix poly backtracking issue

* fix(yaml) fix poly backtracking issue

* fix(livecodeserver) fix poly backtracking issue

* fix(fortran) fix poly backtracking issue

* fix(fortran/irpf90) fix poly backtracking issue

* fix(ruby) fix poly backtracking issues

- Fix poly backtracking issue with RVM_PROMPT.
- Fix poly backtracking issue with heredocs.

* fix(ebnf) fix poly backtracking issue

* fix(basic) fix poly backtracking issue

* fix(elixir) fix poly backtracking issue

* fix(crystal) fix poly backtracking issue

* fix(scilab) fix poly backtracking issue

* fix(csharp) fix poly backtracking issue

* fix(coffee/livescript) fix poly backtracking issue

- Fix issue with optional params for anonymous functions

* fix(moonscript) fix poly backtracking issue

* fix(aspectj) fix poly backtracking issue

* fix(d) fix poly backtracking issue

* fix(gcode) fix poly backtracking issue

* fix(kotlin) fix poly backtracking issue

No explanation for what this `illegal` is trying to accomplish to
without that data, just remove it.

* fix(kotlin) fix poly backtracking issue

- Use same numeric mode rules as for Java

* fix(asciidoc) fix poly backtracking issue

* fix(javascript/typescript) fix poly backtracking issue

- Fix poly backtracking issue in gnarly `()` counting regex

* fix(latex) fix poly backtracking issue

* fix(reasonml) fix poly backtracking issue

- fix typo/bug with using `s` vs `\s` (string vs regex mistake)
- simply `[pattern]?[pattern]?` to just `[pattern]{0,2}`
- fix ambiguous `\s*` poly issues

* enh(ci): Add tests for polynomial regex issues
2020-12-03 12:25:42 -05:00
Josh Goebel 4055826e7a 10.4.0 release 2020-11-18 13:58:34 -05:00
Josh Goebel c91fadd112 chore(deps) bump deep-freeze to get build bug fix 2020-11-17 06:44:25 -05:00
Josh Goebel d2bf6352cf bump 10.4.0-beta1 2020-11-14 23:16:14 -05:00
Josh Goebel 462404c71f (chore) bump build deps to newer naming & remove vendor 2020-11-14 22:43:22 -05:00