textrun-action 0.6.0 → 0.7.1

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/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ SPDX-License-Identifier: ISC
2
+
3
+ Copyright 2026 Kevin Goslar
4
+
5
+ Permission to use, copy, modify, and/or distribute this software
6
+ for any purpose with or without fee is hereby granted,
7
+ provided that the above copyright notice
8
+ and this permission notice appear in all copies.
9
+
10
+ THE SOFTWARE IS PROVIDED “AS IS”
11
+ AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12
+ WITH REGARD TO THIS SOFTWARE
13
+ INCLUDING ALL IMPLIED WARRANTIES
14
+ OF MERCHANTABILITY AND FITNESS.
15
+
16
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE
17
+ FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
18
+ OR ANY DAMAGES WHATSOEVER
19
+ RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20
+ WHETHER IN AN ACTION OF CONTRACT,
21
+ NEGLIGENCE OR OTHER TORTIOUS ACTION,
22
+ ARISING OUT OF OR IN CONNECTION WITH
23
+ THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/dist/name-full.js CHANGED
@@ -1,4 +1,4 @@
1
- import { promises as fs } from "fs";
1
+ import { promises as fs } from "node:fs";
2
2
  import * as textRunner from "text-runner-engine";
3
3
  export async function nameFull(action) {
4
4
  const want = action.region.text();
@@ -1,4 +1,4 @@
1
- import { promises as fs } from "fs";
1
+ import { promises as fs } from "node:fs";
2
2
  import * as textRunner from "text-runner-engine";
3
3
  export async function nameShort(action) {
4
4
  const want = action.region.text();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "textrun-action",
3
- "version": "0.6.0",
3
+ "version": "0.7.1",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",
@@ -10,15 +10,15 @@
10
10
  "scripts": {
11
11
  "build": "tsc -p tsconfig-build.json",
12
12
  "doc": "text-runner --format=dot",
13
- "fix": "eslint --fix --ignore-pattern=dist/ . && dprint fmt && sort-package-json --quiet",
14
- "lint": "dprint check && sort-package-json --check --quiet && eslint --ignore-pattern=dist/ . && depcheck --config=../.depcheckrc",
13
+ "fix": "biome check --write --unsafe && dprint fmt && sort-package-json --quiet",
14
+ "lint": "biome check --error-on-warnings && dprint check && sort-package-json --check --quiet && depcheck --config=../.depcheckrc",
15
15
  "reset": "rm -rf dist && yarn run build"
16
16
  },
17
17
  "dependencies": {
18
- "text-runner-engine": "7.4.0"
18
+ "text-runner-engine": "7.5.1"
19
19
  },
20
20
  "devDependencies": {
21
- "text-runner": "7.4.0"
21
+ "text-runner": "7.5.1"
22
22
  },
23
- "gitHead": "a173b524f1afa311e27fa7aa847acc2ddf6b1cbb"
23
+ "gitHead": "ffa7b993386ef88d6f199373e97d9c39e3ea3ac4"
24
24
  }