Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8fde16285 | ||
|
|
c418aefbea | ||
|
|
63c41896e9 | ||
|
|
74c953d0d2 |
+8
-21
@@ -1,39 +1,26 @@
|
||||
# @actions/io Releases
|
||||
|
||||
## 3.0.1
|
||||
|
||||
- Fix: export `@actions/io/lib/io-util`
|
||||
|
||||
## 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
|
||||
|
||||
- Update `lockfileVersion` to `v2` in `package-lock.json [#1020](https://github.com/actions/toolkit/pull/1020)
|
||||
|
||||
## 1.1.1
|
||||
### 1.1.2
|
||||
- Update `lockfileVersion` to `v2` in `package-lock.json [#1020](https://github.com/actions/toolkit/pull/1020)
|
||||
|
||||
### 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,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 () => {
|
||||
|
||||
Generated
+2
-2
@@ -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,6 +1,6 @@
|
||||
{
|
||||
"name": "@actions/io",
|
||||
"version": "3.0.1",
|
||||
"version": "2.0.0",
|
||||
"description": "Actions io lib",
|
||||
"keywords": [
|
||||
"github",
|
||||
@@ -9,19 +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"
|
||||
},
|
||||
"./lib/io-util": {
|
||||
"types": "./lib/io-util.d.ts",
|
||||
"import": "./lib/io-util.js"
|
||||
}
|
||||
},
|
||||
"directories": {
|
||||
"lib": "lib",
|
||||
"test": "__tests__"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./",
|
||||
"outDir": "./lib",
|
||||
"rootDir": "./src",
|
||||
"module": "node16",
|
||||
"moduleResolution": "node16"
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": [
|
||||
"./src"
|
||||
|
||||
Reference in New Issue
Block a user