ac-byteconverter 1.0.10 → 1.0.12
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/.github/workflows/node.js.yml +32 -0
- package/CHANGELOG.md +30 -0
- package/README.md +3 -5
- package/package.json +7 -6
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
2
|
+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
3
|
+
|
|
4
|
+
name: Node.js CI
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches: [ develop, master ]
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ develop, master ]
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
strategy:
|
|
21
|
+
matrix:
|
|
22
|
+
node-version: [22.x, 24.x]
|
|
23
|
+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v5
|
|
27
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
28
|
+
uses: actions/setup-node@v5
|
|
29
|
+
with:
|
|
30
|
+
node-version: ${{ matrix.node-version }}
|
|
31
|
+
- run: yarn install
|
|
32
|
+
- run: yarn run test
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
## [1.0.12](https://github.com/mmpro/ac-byteconverter/compare/v1.0.11..v1.0.12) (2026-04-04 08:46:25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fix
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **App:** Package updates | MP | [854cc92acd4afab87b001a128099e964cf670f51](https://github.com/mmpro/ac-byteconverter/commit/854cc92acd4afab87b001a128099e964cf670f51)
|
|
8
|
+
Package updates
|
|
9
|
+
Related issues:
|
|
10
|
+
### Documentation
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
* **App:** Added badges | MP | [c73ab3917c97e054ec176377f6eee1dedcefccb0](https://github.com/mmpro/ac-byteconverter/commit/c73ab3917c97e054ec176377f6eee1dedcefccb0)
|
|
14
|
+
Added badges
|
|
15
|
+
Related issues:
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* **App:** Added Github actions | MP | [369624b42c549597bf89cb0a103df3c3f80eb8e7](https://github.com/mmpro/ac-byteconverter/commit/369624b42c549597bf89cb0a103df3c3f80eb8e7)
|
|
20
|
+
Added Github actions
|
|
21
|
+
Related issues:
|
|
22
|
+
|
|
23
|
+
## [1.0.11](https://github.com/mmpro/ac-byteconverter/compare/v1.0.10..v1.0.11) (2026-03-21 11:10:06)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fix
|
|
27
|
+
|
|
28
|
+
* **App:** Package updates | MP | [7e22b5c9089f08fb3acecd206ec81235e0928509](https://github.com/mmpro/ac-byteconverter/commit/7e22b5c9089f08fb3acecd206ec81235e0928509)
|
|
29
|
+
Package updates
|
|
30
|
+
Related issues:
|
|
1
31
|
|
|
2
32
|
## [1.0.10](https://github.com/mmpro/ac-byteconverter/compare/v1.0.9..v1.0.10) (2026-02-24 16:05:45)
|
|
3
33
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# AC ByteConverter
|
|
2
2
|
This tool converts bytes into units like kB (Kilo byte) or KiB (Kibibytes)
|
|
3
3
|
|
|
4
|
+
[](https://github.com/AdmiralCloud/ac-byteConverter/actions/workflows/node.js.yml) [](https://github.com/AdmiralCloud/ac-byteConverter/actions/workflows/github-code-scanning/codeql)
|
|
5
|
+
|
|
4
6
|
## Usage
|
|
5
7
|
|
|
6
8
|
***byteConverter.format(value, [unit], [options])***
|
|
@@ -43,8 +45,4 @@ byteConverter.parse('1MiB')
|
|
|
43
45
|
```
|
|
44
46
|
## License
|
|
45
47
|
|
|
46
|
-
MIT
|
|
47
|
-
|
|
48
|
-
## Current issues/infos
|
|
49
|
-
2018-07-30
|
|
50
|
-
We are using this fork mmpro/mocha-jenkins-reporter until the packages has been fixed (outdated version is 0.3.12)
|
|
48
|
+
MIT, Copyright AdmiralCloud AG
|
package/package.json
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"author": "Mark Poepping (https://www.admiralcloud.com)",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "admiralcloud/ac-byteconverter",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.12",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"lodash": "^4.
|
|
8
|
+
"lodash": "^4.18.1"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"ac-semantic-release": "^0.
|
|
11
|
+
"ac-semantic-release": "^1.0.1",
|
|
12
12
|
"chai": "^4.5.0",
|
|
13
|
-
"eslint": "^10.0
|
|
14
|
-
"globals": "^17.
|
|
13
|
+
"eslint": "^10.2.0",
|
|
14
|
+
"globals": "^17.4.0",
|
|
15
15
|
"mocha": "^11.7.5"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"resolutions": {
|
|
24
24
|
"mocha/diff": "^8.0.3",
|
|
25
|
-
"minimatch": "^10.2.1"
|
|
25
|
+
"minimatch": "^10.2.1",
|
|
26
|
+
"mocha/serialize-javascript": "^7.0.3"
|
|
26
27
|
},
|
|
27
28
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
28
29
|
}
|