@aklinker1/check 1.4.2 → 1.4.3

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.
@@ -21,7 +21,7 @@ export const oxlint = ({ binDir, root }) => {
21
21
  export const parseOuptut = ({ stdout, stderr }) => {
22
22
  if (stdout.trim()) {
23
23
  return stdout.split(/\r?\n/).reduce((acc, line) => {
24
- const groups = /^(?<file>.+?):(?<line>[0-9]+):(?<column>[0-9]):\s?(?<message>.*?)\s?\[(?<kind>Warning|Error)\/?(?<rule>.*?)\]\s?$/.exec(
24
+ const groups = /^(?<file>.+?):(?<line>[0-9]+):(?<column>[0-9]+):\s?(?<message>.*?)\s?\[(?<kind>Warning|Error)\/?(?<rule>.*?)\]\s?$/.exec(
25
25
  line
26
26
  )?.groups;
27
27
  if (groups) {
@@ -14,7 +14,7 @@ export const prettier = ({ binDir, root }) => {
14
14
  export const parseOuptut = ({ stdout, stderr }) => {
15
15
  if (stderr.trim()) {
16
16
  return stderr.split(/\r?\n/).reduce((acc, line) => {
17
- const groups = /^\[(?<kind>.+?)\]\s?(?<file>.+?):\s?(?<message>.*?)\s?\((?<line>[0-9]+):(?<column>[0-9])\)$/.exec(
17
+ const groups = /^\[(?<kind>.+?)\]\s?(?<file>.+?):\s?(?<message>.*?)\s?\((?<line>[0-9]+):(?<column>[0-9]+)\)$/.exec(
18
18
  line
19
19
  )?.groups;
20
20
  if (groups) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aklinker1/check",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/aklinker1/check"