Skip to content

Commit

Permalink
release v4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Jun 5, 2023
1 parent 2a6fcc5 commit b1661ab
Show file tree
Hide file tree
Showing 80 changed files with 1,307 additions and 1,186 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change logs

## 2023.06.05 v4.5.0

1. add `inBrowser`
2. some translate work
3. upgrade all packages

## 2023.05.31 v4.4.1

1. fix esm module
Expand Down
1 change: 1 addition & 0 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const functionList = {
isDigitals, // 是否为由数字组成的字符串
isExitsFunction, // 是否存在指定函数
isExitsVariable, // 是否存在指定变量
inBrowser, // 判断是否在浏览器端运行
windowSize, // windowSize获取窗口大小
getAppVersion, // 获取APP版本号
getOsVersion, // 获取手机系统版本
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const functionList = {
isDigitals, // whether it is a string composed of numbers
isExitsFunction, // if the specified function exists
isExitsVariable, // if the specified variable exists
inBrowser, // Determine if it is running on the browser side
windowSize, // windowSize to get the window size
getAppVersion, // Get the app version number
getOsVersion, // get the system version of the phone
Expand Down
40 changes: 17 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "js-cool",
"description": "This is a collection of js utils",
"version": "4.4.1",
"version": "4.5.0",
"packageManager": "pnpm@8.5.1",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
Expand Down Expand Up @@ -50,49 +50,49 @@
"pub.bak": "git add . && git commit -m $npm_package_version && git pull && git push"
},
"dependencies": {
"load-source": "^1.1.0",
"mount-css": "^1.1.0",
"mount-image": "^1.1.0",
"mount-script": "^1.1.0",
"mount-style": "^1.1.1",
"load-source": "^1.2.0",
"mount-css": "^1.2.0",
"mount-image": "^1.2.0",
"mount-script": "^1.2.0",
"mount-style": "^1.2.0",
"use-downloads": "^1.1.0"
},
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.21.5",
"@babel/core": "^7.22.1",
"@babel/plugin-transform-runtime": "^7.22.4",
"@babel/preset-env": "^7.22.4",
"@babel/preset-typescript": "^7.21.5",
"@eslint-sets/eslint-config-ts": "^5.2.0",
"@microsoft/api-extractor": "^7.35.0",
"@eslint-sets/eslint-config-ts": "^5.3.0",
"@microsoft/api-extractor": "^7.35.1",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@types/activex-excel": "^14.0.6",
"@types/babel__core": "^7.20.0",
"@types/node": "^20.2.3",
"@types/babel__core": "^7.20.1",
"@types/node": "^20.2.5",
"babel-loader": "^9.1.2",
"core-js": "^3.30.2",
"cross-env": "^7.0.3",
"eslint": "^8.41.0",
"eslint": "^8.42.0",
"fast-glob": "^3.2.12",
"load-yml": "^1.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier-config-common": "^1.4.0",
"reinstaller": "^3.0.0",
"rm-all": "^1.0.0",
"rollup": "^3.23.0",
"rollup": "^3.23.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-visualizer": "^5.9.0",
"tsnd": "^1.1.0",
"typedoc": "^0.24.7",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "^5.0.4",
"typescript": "^5.1.3",
"zx": "^7.2.2"
},
"peerDependencies": {
Expand All @@ -101,12 +101,6 @@
"engines": {
"node": ">=12.20"
},
"resolutions": {
"mount-css": "1.1.0",
"mount-image": "1.1.0",
"mount-script": "1.1.0",
"mount-style": "1.1.1"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
Expand Down
Loading

0 comments on commit b1661ab

Please sign in to comment.