@readme/syntax-highlighter 10.14.3 → 12.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,101 @@
1
+ ## 12.0.0 (2022-06-01)
2
+
3
+ * feat: supporting node 18, dropping node 12 (#295) ([d713434](https://github.com/readmeio/syntax-highlighter/commit/d713434)), closes [#295](https://github.com/readmeio/syntax-highlighter/issues/295)
4
+ * chore: minor cleanup ([8118cea](https://github.com/readmeio/syntax-highlighter/commit/8118cea))
5
+ * chore(deps-dev): bump @babel/preset-env from 7.16.11 to 7.17.10 (#289) ([8990f6f](https://github.com/readmeio/syntax-highlighter/commit/8990f6f)), closes [#289](https://github.com/readmeio/syntax-highlighter/issues/289)
6
+ * chore(deps-dev): bump @babel/preset-env from 7.17.10 to 7.18.2 (#311) ([2174a06](https://github.com/readmeio/syntax-highlighter/commit/2174a06)), closes [#311](https://github.com/readmeio/syntax-highlighter/issues/311)
7
+ * chore(deps-dev): bump @babel/preset-react from 7.16.7 to 7.17.12 (#300) ([2bbb5de](https://github.com/readmeio/syntax-highlighter/commit/2bbb5de)), closes [#300](https://github.com/readmeio/syntax-highlighter/issues/300)
8
+ * chore(deps-dev): bump @commitlint/cli from 16.2.3 to 16.2.4 (#285) ([6d1dadc](https://github.com/readmeio/syntax-highlighter/commit/6d1dadc)), closes [#285](https://github.com/readmeio/syntax-highlighter/issues/285)
9
+ * chore(deps-dev): bump @commitlint/cli from 16.2.4 to 17.0.2 (#298) ([fd7f58a](https://github.com/readmeio/syntax-highlighter/commit/fd7f58a)), closes [#298](https://github.com/readmeio/syntax-highlighter/issues/298)
10
+ * chore(deps-dev): bump @commitlint/config-conventional (#293) ([7533813](https://github.com/readmeio/syntax-highlighter/commit/7533813)), closes [#293](https://github.com/readmeio/syntax-highlighter/issues/293)
11
+ * chore(deps-dev): bump @commitlint/config-conventional (#307) ([b04b985](https://github.com/readmeio/syntax-highlighter/commit/b04b985)), closes [#307](https://github.com/readmeio/syntax-highlighter/issues/307)
12
+ * chore(deps-dev): bump @readme/eslint-config from 8.5.1 to 8.7.3 (#294) ([8200974](https://github.com/readmeio/syntax-highlighter/commit/8200974)), closes [#294](https://github.com/readmeio/syntax-highlighter/issues/294)
13
+ * chore(deps-dev): bump @readme/eslint-config from 8.7.3 to 8.7.5 (#310) ([0f71fbb](https://github.com/readmeio/syntax-highlighter/commit/0f71fbb)), closes [#310](https://github.com/readmeio/syntax-highlighter/issues/310)
14
+ * chore(deps-dev): bump babel-jest from 27.5.1 to 28.1.0 (#299) ([e724234](https://github.com/readmeio/syntax-highlighter/commit/e724234)), closes [#299](https://github.com/readmeio/syntax-highlighter/issues/299)
15
+ * chore(deps-dev): bump babel-loader from 8.2.4 to 8.2.5 (#283) ([bd453ff](https://github.com/readmeio/syntax-highlighter/commit/bd453ff)), closes [#283](https://github.com/readmeio/syntax-highlighter/issues/283)
16
+ * chore(deps-dev): bump core-js from 3.21.1 to 3.22.3 (#286) ([57178f5](https://github.com/readmeio/syntax-highlighter/commit/57178f5)), closes [#286](https://github.com/readmeio/syntax-highlighter/issues/286)
17
+ * chore(deps-dev): bump core-js from 3.22.3 to 3.22.7 (#301) ([d54829c](https://github.com/readmeio/syntax-highlighter/commit/d54829c)), closes [#301](https://github.com/readmeio/syntax-highlighter/issues/301)
18
+ * chore(deps-dev): bump eslint from 8.12.0 to 8.14.0 (#281) ([1df0740](https://github.com/readmeio/syntax-highlighter/commit/1df0740)), closes [#281](https://github.com/readmeio/syntax-highlighter/issues/281)
19
+ * chore(deps-dev): bump eslint from 8.14.0 to 8.16.0 (#306) ([fe865a5](https://github.com/readmeio/syntax-highlighter/commit/fe865a5)), closes [#306](https://github.com/readmeio/syntax-highlighter/issues/306)
20
+ * chore(deps-dev): bump glob from 7.2.0 to 8.0.1 (#288) ([4a79f52](https://github.com/readmeio/syntax-highlighter/commit/4a79f52)), closes [#288](https://github.com/readmeio/syntax-highlighter/issues/288)
21
+ * chore(deps-dev): bump glob from 8.0.1 to 8.0.3 (#304) ([c827143](https://github.com/readmeio/syntax-highlighter/commit/c827143)), closes [#304](https://github.com/readmeio/syntax-highlighter/issues/304)
22
+ * chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (#309) ([9d42995](https://github.com/readmeio/syntax-highlighter/commit/9d42995)), closes [#309](https://github.com/readmeio/syntax-highlighter/issues/309)
23
+ * chore(deps-dev): bump jest from 27.5.1 to 28.1.0 (#302) ([78828ba](https://github.com/readmeio/syntax-highlighter/commit/78828ba)), closes [#302](https://github.com/readmeio/syntax-highlighter/issues/302)
24
+ * chore(deps-dev): bump prettier from 2.6.1 to 2.6.2 (#282) ([45a7396](https://github.com/readmeio/syntax-highlighter/commit/45a7396)), closes [#282](https://github.com/readmeio/syntax-highlighter/issues/282)
25
+ * chore(deps-dev): bump sass-loader from 12.6.0 to 13.0.0 (#308) ([d01cdd6](https://github.com/readmeio/syntax-highlighter/commit/d01cdd6)), closes [#308](https://github.com/readmeio/syntax-highlighter/issues/308)
26
+ * chore(deps-dev): bump webpack from 5.70.0 to 5.71.0 (#278) ([e970ba6](https://github.com/readmeio/syntax-highlighter/commit/e970ba6)), closes [#278](https://github.com/readmeio/syntax-highlighter/issues/278)
27
+ * chore(deps-dev): bump webpack from 5.71.0 to 5.72.0 (#292) ([67d3886](https://github.com/readmeio/syntax-highlighter/commit/67d3886)), closes [#292](https://github.com/readmeio/syntax-highlighter/issues/292)
28
+ * chore(deps-dev): bump webpack from 5.72.0 to 5.72.1 (#297) ([5f3ee2d](https://github.com/readmeio/syntax-highlighter/commit/5f3ee2d)), closes [#297](https://github.com/readmeio/syntax-highlighter/issues/297)
29
+ * chore(deps-dev): bump webpack-dev-server from 4.7.4 to 4.8.1 (#291) ([dd4013f](https://github.com/readmeio/syntax-highlighter/commit/dd4013f)), closes [#291](https://github.com/readmeio/syntax-highlighter/issues/291)
30
+ * chore(deps-dev): bump webpack-dev-server from 4.8.1 to 4.9.1 (#303) ([3eae787](https://github.com/readmeio/syntax-highlighter/commit/3eae787)), closes [#303](https://github.com/readmeio/syntax-highlighter/issues/303)
31
+ * chore(deps): bump actions/checkout from 2.4.0 to 3 (#277) ([345166d](https://github.com/readmeio/syntax-highlighter/commit/345166d)), closes [#277](https://github.com/readmeio/syntax-highlighter/issues/277)
32
+ * chore(deps): bump async from 2.6.3 to 2.6.4 (#279) ([1f9471a](https://github.com/readmeio/syntax-highlighter/commit/1f9471a)), closes [#279](https://github.com/readmeio/syntax-highlighter/issues/279)
33
+ * chore(deps): bump dset from 3.1.1 to 3.1.2 (#296) ([2042fb9](https://github.com/readmeio/syntax-highlighter/commit/2042fb9)), closes [#296](https://github.com/readmeio/syntax-highlighter/issues/296)
34
+ * chore(deps): bump github/codeql-action from 1 to 2 (#280) ([cfc571b](https://github.com/readmeio/syntax-highlighter/commit/cfc571b)), closes [#280](https://github.com/readmeio/syntax-highlighter/issues/280)
35
+
36
+
37
+
38
+ ## 11.0.0 (2022-03-29)
39
+
40
+ * chore(deps-dev): bump @commitlint/cli from 16.1.0 to 16.2.1 (#268) ([6dbfd2f](https://github.com/readmeio/syntax-highlighter/commit/6dbfd2f)), closes [#268](https://github.com/readmeio/syntax-highlighter/issues/268)
41
+ * chore(deps-dev): bump @commitlint/config-conventional (#264) ([a27590d](https://github.com/readmeio/syntax-highlighter/commit/a27590d)), closes [#264](https://github.com/readmeio/syntax-highlighter/issues/264)
42
+ * chore(deps-dev): bump @readme/eslint-config from 8.2.0 to 8.4.2 (#263) ([b195e32](https://github.com/readmeio/syntax-highlighter/commit/b195e32)), closes [#263](https://github.com/readmeio/syntax-highlighter/issues/263)
43
+ * chore(deps-dev): bump babel-jest from 27.4.6 to 27.5.1 (#269) ([2019858](https://github.com/readmeio/syntax-highlighter/commit/2019858)), closes [#269](https://github.com/readmeio/syntax-highlighter/issues/269)
44
+ * chore(deps-dev): bump core-js from 3.21.0 to 3.21.1 (#262) ([e957a6d](https://github.com/readmeio/syntax-highlighter/commit/e957a6d)), closes [#262](https://github.com/readmeio/syntax-highlighter/issues/262)
45
+ * chore(deps-dev): bump css-loader from 6.5.1 to 6.6.0 (#265) ([5fafc9f](https://github.com/readmeio/syntax-highlighter/commit/5fafc9f)), closes [#265](https://github.com/readmeio/syntax-highlighter/issues/265)
46
+ * chore(deps-dev): bump eslint from 8.8.0 to 8.10.0 (#266) ([a7616a7](https://github.com/readmeio/syntax-highlighter/commit/a7616a7)), closes [#266](https://github.com/readmeio/syntax-highlighter/issues/266)
47
+ * chore(deps-dev): bump jest from 27.4.7 to 27.5.1 (#271) ([8a668b0](https://github.com/readmeio/syntax-highlighter/commit/8a668b0)), closes [#271](https://github.com/readmeio/syntax-highlighter/issues/271)
48
+ * chore(deps-dev): bump sass-loader from 12.4.0 to 12.6.0 (#267) ([c535701](https://github.com/readmeio/syntax-highlighter/commit/c535701)), closes [#267](https://github.com/readmeio/syntax-highlighter/issues/267)
49
+ * chore(deps-dev): bump webpack from 5.68.0 to 5.69.1 (#260) ([a634697](https://github.com/readmeio/syntax-highlighter/commit/a634697)), closes [#260](https://github.com/readmeio/syntax-highlighter/issues/260)
50
+ * chore(deps-dev): bump webpack-dev-server from 4.7.3 to 4.7.4 (#261) ([b1b18c4](https://github.com/readmeio/syntax-highlighter/commit/b1b18c4)), closes [#261](https://github.com/readmeio/syntax-highlighter/issues/261)
51
+ * chore(deps-dev): bumping out of date deps ([ae34020](https://github.com/readmeio/syntax-highlighter/commit/ae34020))
52
+ * chore(deps): bump actions/setup-node from 2.5.1 to 3 (#259) ([d85180d](https://github.com/readmeio/syntax-highlighter/commit/d85180d)), closes [#259](https://github.com/readmeio/syntax-highlighter/issues/259)
53
+ * chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#258) ([ea574f5](https://github.com/readmeio/syntax-highlighter/commit/ea574f5)), closes [#258](https://github.com/readmeio/syntax-highlighter/issues/258)
54
+ * chore(deps): bump minimist from 1.2.5 to 1.2.6 (#274) ([c37bc31](https://github.com/readmeio/syntax-highlighter/commit/c37bc31)), closes [#274](https://github.com/readmeio/syntax-highlighter/issues/274)
55
+ * chore(deps): bump node-forge from 1.2.1 to 1.3.0 (#273) ([fa93456](https://github.com/readmeio/syntax-highlighter/commit/fa93456)), closes [#273](https://github.com/readmeio/syntax-highlighter/issues/273)
56
+ * chore(deps): bump prop-types from 15.8.0 to 15.8.1 (#272) ([e4bd011](https://github.com/readmeio/syntax-highlighter/commit/e4bd011)), closes [#272](https://github.com/readmeio/syntax-highlighter/issues/272)
57
+ * chore(deps): bump react to v17.x (#275) ([eb29710](https://github.com/readmeio/syntax-highlighter/commit/eb29710)), closes [#275](https://github.com/readmeio/syntax-highlighter/issues/275)
58
+ * docs: revising some of our community docs ([5f28b8e](https://github.com/readmeio/syntax-highlighter/commit/5f28b8e))
59
+
60
+
61
+
62
+ ## <small>10.14.4 (2022-02-01)</small>
63
+
64
+ * chore(deps-dev): bump @babel/preset-env from 7.16.4 to 7.16.7 (#240) ([a6c1524](https://github.com/readmeio/syntax-highlighter/commit/a6c1524)), closes [#240](https://github.com/readmeio/syntax-highlighter/issues/240)
65
+ * chore(deps-dev): bump @babel/preset-env from 7.16.7 to 7.16.11 (#250) ([60496fa](https://github.com/readmeio/syntax-highlighter/commit/60496fa)), closes [#250](https://github.com/readmeio/syntax-highlighter/issues/250)
66
+ * chore(deps-dev): bump @babel/preset-react from 7.16.0 to 7.16.7 (#224) ([38b7119](https://github.com/readmeio/syntax-highlighter/commit/38b7119)), closes [#224](https://github.com/readmeio/syntax-highlighter/issues/224)
67
+ * chore(deps-dev): bump @commitlint/cli from 15.0.0 to 16.0.1 (#233) ([5714096](https://github.com/readmeio/syntax-highlighter/commit/5714096)), closes [#233](https://github.com/readmeio/syntax-highlighter/issues/233)
68
+ * chore(deps-dev): bump @commitlint/cli from 16.0.1 to 16.1.0 (#242) ([17e101b](https://github.com/readmeio/syntax-highlighter/commit/17e101b)), closes [#242](https://github.com/readmeio/syntax-highlighter/issues/242)
69
+ * chore(deps-dev): bump @commitlint/config-conventional (#236) ([f61d5d2](https://github.com/readmeio/syntax-highlighter/commit/f61d5d2)), closes [#236](https://github.com/readmeio/syntax-highlighter/issues/236)
70
+ * chore(deps-dev): bump @readme/eslint-config from 8.0.3 to 8.1.1 (#227) ([b359a42](https://github.com/readmeio/syntax-highlighter/commit/b359a42)), closes [#227](https://github.com/readmeio/syntax-highlighter/issues/227)
71
+ * chore(deps-dev): bump @readme/eslint-config from 8.1.1 to 8.2.0 (#243) ([e328b4a](https://github.com/readmeio/syntax-highlighter/commit/e328b4a)), closes [#243](https://github.com/readmeio/syntax-highlighter/issues/243)
72
+ * chore(deps-dev): bump babel-jest from 27.4.2 to 27.4.5 (#229) ([0269acc](https://github.com/readmeio/syntax-highlighter/commit/0269acc)), closes [#229](https://github.com/readmeio/syntax-highlighter/issues/229)
73
+ * chore(deps-dev): bump babel-jest from 27.4.5 to 27.4.6 (#255) ([9dc9e80](https://github.com/readmeio/syntax-highlighter/commit/9dc9e80)), closes [#255](https://github.com/readmeio/syntax-highlighter/issues/255)
74
+ * chore(deps-dev): bump core-js from 3.19.3 to 3.20.1 (#232) ([aced5a2](https://github.com/readmeio/syntax-highlighter/commit/aced5a2)), closes [#232](https://github.com/readmeio/syntax-highlighter/issues/232)
75
+ * chore(deps-dev): bump core-js from 3.19.3 to 3.20.2 (#235) ([efe19c5](https://github.com/readmeio/syntax-highlighter/commit/efe19c5)), closes [#235](https://github.com/readmeio/syntax-highlighter/issues/235)
76
+ * chore(deps-dev): bump core-js from 3.20.2 to 3.20.3 (#247) ([552b56e](https://github.com/readmeio/syntax-highlighter/commit/552b56e)), closes [#247](https://github.com/readmeio/syntax-highlighter/issues/247)
77
+ * chore(deps-dev): bump core-js from 3.20.2 to 3.21.0 (#256) ([b86d5be](https://github.com/readmeio/syntax-highlighter/commit/b86d5be)), closes [#256](https://github.com/readmeio/syntax-highlighter/issues/256)
78
+ * chore(deps-dev): bump eslint from 8.4.1 to 8.6.0 (#234) ([7d711ad](https://github.com/readmeio/syntax-highlighter/commit/7d711ad)), closes [#234](https://github.com/readmeio/syntax-highlighter/issues/234)
79
+ * chore(deps-dev): bump eslint from 8.6.0 to 8.8.0 (#249) ([2d3926e](https://github.com/readmeio/syntax-highlighter/commit/2d3926e)), closes [#249](https://github.com/readmeio/syntax-highlighter/issues/249)
80
+ * chore(deps-dev): bump jest from 27.4.3 to 27.4.5 (#226) ([2752485](https://github.com/readmeio/syntax-highlighter/commit/2752485)), closes [#226](https://github.com/readmeio/syntax-highlighter/issues/226)
81
+ * chore(deps-dev): bump jest from 27.4.5 to 27.4.7 (#248) ([7552a59](https://github.com/readmeio/syntax-highlighter/commit/7552a59)), closes [#248](https://github.com/readmeio/syntax-highlighter/issues/248)
82
+ * chore(deps-dev): bump prettier from 2.5.0 to 2.5.1 (#241) ([38dcd78](https://github.com/readmeio/syntax-highlighter/commit/38dcd78)), closes [#241](https://github.com/readmeio/syntax-highlighter/issues/241)
83
+ * chore(deps-dev): bump sass-loader from 12.3.0 to 12.4.0 (#238) ([3065f17](https://github.com/readmeio/syntax-highlighter/commit/3065f17)), closes [#238](https://github.com/readmeio/syntax-highlighter/issues/238)
84
+ * chore(deps-dev): bump terser-webpack-plugin from 5.2.5 to 5.3.0 (#239) ([bf7c5f0](https://github.com/readmeio/syntax-highlighter/commit/bf7c5f0)), closes [#239](https://github.com/readmeio/syntax-highlighter/issues/239)
85
+ * chore(deps-dev): bump terser-webpack-plugin from 5.3.0 to 5.3.1 (#244) ([e43227e](https://github.com/readmeio/syntax-highlighter/commit/e43227e)), closes [#244](https://github.com/readmeio/syntax-highlighter/issues/244)
86
+ * chore(deps-dev): bump webpack from 5.64.4 to 5.65.0 (#230) ([53dbac1](https://github.com/readmeio/syntax-highlighter/commit/53dbac1)), closes [#230](https://github.com/readmeio/syntax-highlighter/issues/230)
87
+ * chore(deps-dev): bump webpack from 5.65.0 to 5.68.0 (#257) ([8cbbf27](https://github.com/readmeio/syntax-highlighter/commit/8cbbf27)), closes [#257](https://github.com/readmeio/syntax-highlighter/issues/257)
88
+ * chore(deps-dev): bump webpack-cli from 4.9.1 to 4.9.2 (#251) ([e53ba7f](https://github.com/readmeio/syntax-highlighter/commit/e53ba7f)), closes [#251](https://github.com/readmeio/syntax-highlighter/issues/251)
89
+ * chore(deps-dev): bump webpack-dev-server from 4.6.0 to 4.7.2 (#231) ([f77e99a](https://github.com/readmeio/syntax-highlighter/commit/f77e99a)), closes [#231](https://github.com/readmeio/syntax-highlighter/issues/231)
90
+ * chore(deps-dev): bump webpack-dev-server from 4.7.2 to 4.7.3 (#245) ([f10b9d2](https://github.com/readmeio/syntax-highlighter/commit/f10b9d2)), closes [#245](https://github.com/readmeio/syntax-highlighter/issues/245)
91
+ * chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#223) ([ab9f212](https://github.com/readmeio/syntax-highlighter/commit/ab9f212)), closes [#223](https://github.com/readmeio/syntax-highlighter/issues/223)
92
+ * chore(deps): bump follow-redirects from 1.14.2 to 1.14.7 (#253) ([89b7a7d](https://github.com/readmeio/syntax-highlighter/commit/89b7a7d)), closes [#253](https://github.com/readmeio/syntax-highlighter/issues/253)
93
+ * chore(deps): bump nanoid from 3.1.23 to 3.2.0 (#252) ([b643383](https://github.com/readmeio/syntax-highlighter/commit/b643383)), closes [#252](https://github.com/readmeio/syntax-highlighter/issues/252)
94
+ * chore(deps): bump node-fetch from 2.6.6 to 2.6.7 (#254) ([1dd3ef6](https://github.com/readmeio/syntax-highlighter/commit/1dd3ef6)), closes [#254](https://github.com/readmeio/syntax-highlighter/issues/254)
95
+ * chore(deps): bump prop-types from 15.7.2 to 15.8.0 (#225) ([3056436](https://github.com/readmeio/syntax-highlighter/commit/3056436)), closes [#225](https://github.com/readmeio/syntax-highlighter/issues/225)
96
+
97
+
98
+
1
99
  ## <small>10.14.3 (2021-12-14)</small>
2
100
 
3
101
  * test: updating some broken test snapshots ([0c93e08](https://github.com/readmeio/syntax-highlighter/commit/0c93e08))
package/README.md CHANGED
@@ -45,7 +45,12 @@ Access to a full code Mirror instance. See configuration settings in the [`react
45
45
 
46
46
  ```js
47
47
  const syntaxHighlighter = require('@readme/syntax-highlighter');
48
- const ele = syntaxHighlighter('console.log("Hello, world!");', 'js', { ...opts, editable: true }, { ...editorProps });
48
+ const ele = syntaxHighlighter(
49
+ 'console.log("Hello, world!");',
50
+ 'js',
51
+ { ...opts, editable: true },
52
+ { ...editorProps }
53
+ );
49
54
  ```
50
55
 
51
56
  ### Available Options