- Jumped version
2.2.0
to2.3.0
, to have the same minor-version oforo-functions-client
. - Updated eslint to flat
eslint.config.js
. - Simplified
tsup.config.ts
. - Re-init
package-lock.json
. - Updated prettier
printWidth: 120
- Updated libs:
oro-functions-client
fromv2.2.2
tov2.3.0
.
- Updated dev libs:
@babel/core
fromv7.24.4
tov7.24.5
.@babel/preset-env
fromv7.24.4
tov7.24.5
.eslint-plugin-jest
fromv28.2.0
tov28.5.0
.eslint-plugin-unicorn
fromv52.0.0
tov53.0.0
.
- Added dev libs:
@eslint/js
addedv9.2.0
.globals
addedv15.2.0
.typescript-eslint
addedv7.9.0
.
- Removed dev libs:
@typescript-eslint/eslint-plugin
removed.@typescript-eslint/parser
removed.eslint-config-alloy
removed.eslint-plugin-github
removed.eslint-plugin-jest-formatting
removed.
- Improved github cicd replacing
actions/--@v3
byactions/--@v4
. - Fixed prettier
endOfLine: 'lf'
- Updated libs:
oro-functions-client
fromv2.2.0
tov2.2.2
.zip-lib
fromv1.0.0
tov1.0.4
.
- Added dev libs:
eslint-plugin-github@^4.10.2
- Updated dev libs:
@babel/core
fromv7.23.9
tov7.24.4
.@babel/preset-env
fromv7.23.9
tov7.24.4
.@babel/preset-typescript
fromv7.23.3
tov7.24.1
.@typescript-eslint/eslint-plugin
fromv7.0.2
tov7.7.1
.@typescript-eslint/parser
fromv7.0.2
tov7.7.1
.eslint-plugin-jest
fromv27.9.0
tov28.2.0
.eslint-plugin-unicorn
fromv51.0.1
tov52.0.0
.typescript
fromv5.3.3
tov5.4.5
.
- Updated some functions:
- Updated
obtainingConfig
,obtainOConfigSync
using by default the fileoconfig.json
. - Added in console process write:
- consts
PROCESS_WRITE_COLORS
,PROCESS_WRITE_COLOR_NUMBER
,PROCESS_WRITE_BACKGROUND_NUMBER
. - types
ProcessWriteColorNumber
,ProcessWriteBackgroundNumber
.
- consts
- Updated
- Setted a deprecated some functions:
obtainOroConfig
, useobtainOConfig
withoconfig.json
as default file instead.obtainOroConfigSync
, useobtainOConfigSync
withoconfig.json
as default file instead.isPortAvailable
, useisPortFree
instead.
- Fixed
let
byconst
when it's required. - Added coverage for testing.
- Added watcher for coding.
- Improved github cicd replacing
npm install
tonpm ci
. - Improved
export
declarations in index files. - Enhanced linter adding some extensions.
- Enhanced prettier adding import-sorter.
- Improved tests migrating every test to the same level as their source file.
- Enhanced testing to achieve the
~95%
of coverage (yay!). - Updated libs:
fs-extra
fromv11.1.1
tov11.2.0
.get-port-please
from^3.1.1
tov3.1.2
.oro-functions-client
fromv2.1.2
tov2.2.0
.zip-lib
fromv0.7.3
tov1.0.0
.
- Updated dev libs:
@babel/core
fromv7.23.3
tov7.23.9
.@babel/preset-env
fromv7.23.3
tov7.23.9
.@types/jest
fromv29.5.10
tov29.5.12
.@typescript-eslint/eslint-plugin
fromv6.12.0
tov7.0.2
.@typescript-eslint/parser
fromv6.12.0
tov7.0.2
.eslint
fromv8.54.0
tov^8.57.0
.eslint-plugin-unicorn
fromv49.0.0
tov50.0.1
.husky
fromv8.0.3
tov9.0.11
.prettier
fromv3.1.0
tov3.2.5
.tsup
fromv8.0.1
tov8.0.2
.typescript
fromv5.2.2
tov5.3.3
.
- Added dev libs:
@trivago/prettier-plugin-sort-imports
eslint-plugin-jest-formatting
eslint-config-prettier
eslint-plugin-jest
nodemon
- Updated lib:
oro-functions-client
fromv2.1.1
tov2.1.2
.
- Fixed github action
npm_publish_on_pr_merge_to_master
. - Updated libs:
fast-glob
fromv3.3.1
tov3.3.2
.oro-functions-client
fromv2.1.0
tov2.1.1
.
- Updated dev libs:
@babel/core
fromv7.23.2
tov7.23.3
.@babel/preset-env
fromv7.23.2
tov7.23.3
.@babel/preset-typescript
fromv7.23.2
tov7.23.3
.@types/atob
fromv2.1.3
tov2.1.4
.@types/fs-extra
fromv11.0.3
tov11.0.4
.@types/jest
fromv29.5.7
tov29.5.10
.@typescript-eslint/eslint-plugin
fromv6.9.1
tov6.12.0
.@typescript-eslint/parser
fromv6.9.1
tov6.12.0
.eslint
fromv8.52.0
tov8.54.0
.prettier
fromv3.0.3
tov3.1.0
.tsup
fromv7.2.0
tov8.0.1
.
- Fixed typescript output definition of fn
getFileJsonRecursively
,getFileJsonRecursivelySync
to simplify their use (removing{}
). - Updated dev libs:
@types/jest
fromv29.5.6
tov29.5.7
.@typescript-eslint/eslint-plugin
fromv6.9.0
tov6.9.1
.@typescript-eslint/parser
fromv6.9.0
tov6.9.1
.eslint-plugin-unicorn
fromv48.0.1
tov49.0.0
.
- Deleted non-use dev libs:
@types/crypto-js
.@types/express
.@types/lodash.clonedeep
.
NOTE:
const Ofn = require('oro-functions')
,
✔️ use the following instead:const { Ofn } = require('oro-functions')
- Added method
osIsAndroid
. - Updated method
isPortFree
adding a second paramhost
(by defaultlocalhost
) to check specific port. - Updated method
getPortFree
adding a third paramhost
(by defaultlocalhost
) to get free port. - Refactored
*.js
tosrc/*.ts
. - Improved typescript output declarations.
- Updated package as
type: "module"
. - Added
tsup
and now package is compiled tocjs
(common) andmjs
(module). - Added github actions:
validate_pr_to_master
npm_publish_on_pr_merge_to_master
.
- Added
husky
(to ensure only valid commits). - Added
eslint
(and applied it). - Added
prettier
(and applied it). - Updated package description
- Updated libs:
fast-glob
tov3.3.1
get-port-please
tov3.1.1
oro-functions-client
tov2.1.0
- Updated dev libs:
@babel/core
tov7.23.2
.@babel/preset-env
tov7.23.2
.@babel/preset-typescript
tov7.23.2
.@types/express
to4.17.20
@types/jest
tov29.5.6
.babel-jest
tov29.7.0
.jest
tov29.7.0
.
- Improved readme (
SResponseOK
,SResponseKO
).
- Fixed bad declared
import
fromprocess-write
.
- Added
TS
support. - Added ts tests.
- Improved tests.
- Improved readme.
- Updated lib
fast-glob
tov3.2.12
. - Updated lib
fs-extra
tov11.1.1
. - Updated lib
get-port-please
tov3.0.1
. - Updated lib
oro-functions-client
tov1.5.4
. - Updated lib-dev
jest
tov29.5.0
. - Renamed fns
obtainOConfig
,obtainOConfigSync
,isPortFree
and deprecatedobtainOroConfig
,obtainOroConfigSync
,isPortAvailable
. - Allow to get functions individually in
/src
:const { fn1, fn2, ... } = require( 'oro-functions/src' )
(including 'oro-functions-client')
- Updated lib
oro-functions-client
tov1.4.1
.
- Updated Readme and
tests/
. - Added
package-lock.json
. - Changed lib
find-free-port
toget-port-please
. - Updated lib
oro-functions-client
tov1.4.0
. - Updated lib-dev
jest
tov28.1.3
.
- Updated lib
oro-functions-client
tov1.3.7
.
- Updated lib
oro-functions-client
tov1.3.6
. - Updated lib-dev
jest
tov28.1.01
.
- Updated lib
fast-glob
tov3.2.11
. - Updated lib
fs-extra
tov10.1.0
. - Updated lib
oro-functions-client
tov1.3.5
. - Updated lib
zip-lib
tov0.7.3
. - Updated lib-dev
jest
tov28.1.0
.
- Updated lib
oro-functions-client
tov1.3.4
.
- Updated lib
oro-functions-client
tov1.3.2
.
- Updated lib
oro-functions-client
tov1.3.1
.
- Added method
cryptoGenerateKeyPair
fromoro-functions-client
because it breaks in front frameworks likeVue
.
- Updated lib
oro-functions-client
tov1.2.1
.
- Updated lib
oro-functions-client
tov1.2.0
. - Updated lib
jest
tov27.4.5
.
- Updated lib
oro-functions-client
tov1.1.0
.
- Updated lib
oro-functions-client
tov1.0.1
.
- Added unit testing
Jest
. - Added
MIT License
. - Added package in
github.com
&npmjs.com
. - Added methods:
pathIsFolder
processWrites
- Updated methods:
globFiles
andfolderIsEmpty
has second param defaultglobArgs = { dot: true, unique: true, onlyFiles: true, ignore: [ "node_modules/**", ".zero/**" ] }
.zipFolder
change library fromzip-a-folder
tozip-lib
and now is allowed to zip folder or file.
- Update
oro-functions-client
tov0.23.2
.
- Added method
getPortFree
.
- Added method
isPortAvailable
.
- Update
oro-functions-client
tov0.23.1
.
- Update
oro-functions-client
tov0.22.0
.
- Update
oro-functions-client
tov0.21.0
. - Update
oro-functions-client
tov0.20.1
.
- Update
oro-functions-client
tov0.20.0
.
- Update
oro-functions-client
tov0.19.1
.
- Updated method
globFiles
, paramsonlyFiles
andignore
now are arguments. - Fixed method
folderIsEmpty
, usingglobFiles
withonlyFiles = false
.
- Update
oro-functions-client
tov0.18.3
.
- Added method
zipFolder
. - Added in
.gitignore
the filetest.js
.
- Added method
folderIsEmpty
.
- Update
oro-functions-client
tov0.18.2
.
- Update
oro-functions-client
tov0.18.0
.
- Update
oro-functions-client
tov0.17.0
.
- Update
oro-functions-client
tov0.16.0
.
- Update
oro-functions-client
tov0.15.0
.
- Update
oro-functions-client
tov0.14.0
.
- Update
oro-functions-client
tov0.13.0
.
- Update
oro-functions-client
tov0.12.0
.
- Update
oro-functions-client
tov0.11.0
.
- Added method
processWrite
.
- Changed
param:oConfig
byparam:config
in methodsobtainOroConfig
andobtainOroConfigSync
.
- Added methods
obtainOroConfig
andobtainOroConfigSync
. - Updated methods
getFileJsonRecursively
andgetFileJsonRecursivelySync
, usingOfn.mergeObjectsDeep
instead ofObject.asign
.
- Update
oro-functions-client
tov0.10.1
.
- Update
oro-functions-client
tov0.9.2
.
- Update
oro-functions-client
tov0.9.0
.
- Update
oro-functions-client
tov0.8.1
.
- Update
oro-functions-client
tov0.8.0
.
- Update
oro-functions-client
tov0.7.2
.
- Separate
oro-functions-client
fromoro-functions
to allow using the lib on client-side.
Note: oro-functions
still doing the same, it has only the server-side functions and extends the others fromoro-functions-client
.
- Update library
oro-regexp
tov0.1.0
.
- Add method
sleep
.
- Fix method
sanitizePath
whenfilepath
is notstring
.
- Fix method
chunkStringByCharSize
whenstr
isnumber
.
- Add method
arraysIntersection
.
- Add method
getFunctionName
.
- Fix no param error in
setResponseOK
.
- Add method
jsonize
.
- Replicate method as sync mode
getFileJsonRecursivelySync
.
- Fixed folder of method
getFileJsonRecursively
.
- Added npm-atob to ensure method
jwkTokenDecode
on Windows.
- Added methods
chunkStringByCharSize
.
- Fix tag async of
getFileJsonRecursively
.
- Added changelog.
- Added npm fs-extra.
- Added methods async
getFileJsonRecursively
.