Compare commits

..
Author SHA1 Message Date
Daniel Kennedy a8fde16285 Add a release entry for 4.0.0 2026-01-28 09:55:44 -05:00
Daniel Kennedy c418aefbea Fix a JSON lint issue 2026-01-28 09:55:28 -05:00
Daniel Kennedy 63c41896e9 Add proxy/interfaces exports 2026-01-28 09:55:12 -05:00
Daniel Kennedy 74c953d0d2 http-client: convert to ESM 2026-01-28 09:30:08 -05:00
6 changed files with 14 additions and 32 deletions
+7 -16
View File
@@ -1,35 +1,26 @@
# @actions/io Releases
## 3.0.0
- **Breaking change**: Package is now ESM-only
- CommonJS consumers must use dynamic `import()` instead of `require()`
## 2.0.0
### 2.0.0
- Add support for Node 24 [#2110](https://github.com/actions/toolkit/pull/2110)
- Ensures consistent behavior for paths on Node 24 with Windows
## 1.1.3
### 1.1.3
- Replace `child_process.exec` with `fs.rm` in `rmRF` for all OS implementations [#1373](https://github.com/actions/toolkit/pull/1373)
## 1.1.2
### 1.1.2
- Update `lockfileVersion` to `v2` in `package-lock.json [#1020](https://github.com/actions/toolkit/pull/1020)
## 1.1.1
### 1.1.1
- [Fixed a bug where we incorrectly escaped paths for rmrf](https://github.com/actions/toolkit/pull/828)
## 1.1.0
### 1.1.0
- Add `findInPath` method to locate all matching executables in the system path
## 1.0.2
### 1.0.2
- [Add \"types\" to package.json](https://github.com/actions/toolkit/pull/221)
## 1.0.0
### 1.0.0
- Initial release
+2 -2
View File
@@ -2,8 +2,8 @@ import * as child from 'child_process'
import {promises as fs} from 'fs'
import * as os from 'os'
import * as path from 'path'
import * as io from '../src/io.js'
import * as ioUtil from '../src/io-util.js'
import * as io from '../src/io'
import * as ioUtil from '../src/io-util'
describe('cp', () => {
beforeAll(async () => {
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@actions/io",
"version": "3.0.0",
"version": "2.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@actions/io",
"version": "3.0.0",
"version": "2.0.0",
"license": "MIT"
}
}
+1 -8
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/io",
"version": "3.0.0",
"version": "2.0.0",
"description": "Actions io lib",
"keywords": [
"github",
@@ -9,15 +9,8 @@
],
"homepage": "https://github.com/actions/toolkit/tree/main/packages/io",
"license": "MIT",
"type": "module",
"main": "lib/io.js",
"types": "lib/io.d.ts",
"exports": {
".": {
"types": "./lib/io.d.ts",
"import": "./lib/io.js"
}
},
"directories": {
"lib": "lib",
"test": "__tests__"
+1 -1
View File
@@ -1,6 +1,6 @@
import {ok} from 'assert'
import * as path from 'path'
import * as ioUtil from './io-util.js'
import * as ioUtil from './io-util'
/**
* Interface for cp/mv options
+1 -3
View File
@@ -3,9 +3,7 @@
"compilerOptions": {
"baseUrl": "./",
"outDir": "./lib",
"rootDir": "./src",
"module": "node16",
"moduleResolution": "node16"
"rootDir": "./src"
},
"include": [
"./src"