Skip to content

Commit cf4f712

Browse files
committed
0.8.0
1 parent d33fe74 commit cf4f712

8 files changed

+555
-779
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
strategy:
3838
matrix:
39-
node-version: [14.x, 16.x, 18.x]
39+
node-version: [14.x, 16.x, 18.x, 20.x]
4040
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
4141
steps:
4242
- uses: actions/checkout@v3

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 变更日志
22

3+
## 0.8.0 / 2023-11-19
4+
5+
- 升级 jslib-base 2.3.2
6+
- 支持 sourceMap
7+
- fix: 支持 node >=14.0.0
8+
39
## 0.7.0 / 2023-9-24
410

511
- 升级最新版 jslib-base

README-zh_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![](https://img.shields.io/badge/Powered%20by-jslib%20querystring-brightgreen.svg)](https://github.com/yanhaijing/jslib-querystring)
44
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/querystring/blob/master/LICENSE)
55
[![CI](https://github.com/jsmini/querystring/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/querystring/actions/workflows/ci.yml)
6-
[![npm](https://img.shields.io/badge/npm-0.7.0-orange.svg)](https://www.npmjs.com/package/@jsmini/querystring)
6+
[![npm](https://img.shields.io/badge/npm-0.8.0-orange.svg)](https://www.npmjs.com/package/@jsmini/querystring)
77
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/querystring.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/querystring)
88
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/querystring.svg)](http://isitmaintained.com/project/jsmini/querystring 'Percentage of issues still open')
99

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![](https://img.shields.io/badge/Powered%20by-jslib%20querystring-brightgreen.svg)](https://github.com/yanhaijing/jslib-querystring)
44
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/querystring/blob/master/LICENSE)
55
[![CI](https://github.com/jsmini/querystring/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/querystring/actions/workflows/ci.yml)
6-
[![npm](https://img.shields.io/badge/npm-0.7.0-orange.svg)](https://www.npmjs.com/package/@jsmini/querystring)
6+
[![npm](https://img.shields.io/badge/npm-0.8.0-orange.svg)](https://www.npmjs.com/package/@jsmini/querystring)
77
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/querystring.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/querystring)
88
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/querystring.svg)](http://isitmaintained.com/project/jsmini/querystring 'Percentage of issues still open')
99

config/rollup.config.cjs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = {
1111
// When export and export default are not used at the same time, set legacy to true.
1212
// legacy: true,
1313
banner: common.banner,
14+
sourcemap: true,
1415
},
1516
],
1617
plugins: [common.getCompiler()],

config/rollup.config.esm.cjs

+2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ module.exports = {
1111
// When export and export default are not used at the same time, set legacy to true.
1212
// legacy: true,
1313
banner: common.banner,
14+
sourcemap: true,
1415
},
1516
{
1617
file: 'dist/index.mjs',
1718
format: 'es',
1819
// legacy: true,
1920
banner: common.banner,
21+
sourcemap: true,
2022
},
2123
],
2224
plugins: [common.getCompiler()],

package-lock.json

+517-750
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@jsmini/querystring",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "URL parameter handling library.",
55
"main": "dist/index.js",
66
"module": "dist/index.esm.js",
77
"sideEffects": false,
88
"scripts": {
9-
"clean": "rimraf ./dist",
9+
"clean": "rimraf ./dist ./types",
1010
"lint": "eslint -c .eslintrc.cjs 'src/**/*.js'",
1111
"build:self": "rollup -c config/rollup.config.cjs",
1212
"build:esm": "rollup -c config/rollup.config.esm.cjs",
@@ -35,51 +35,51 @@
3535
"babel-plugin-transform-runtime": "6.23.0",
3636
"cdkit": "1.1.0",
3737
"es5-shim": "^4.6.7",
38-
"eslint": "^8.49.0",
38+
"eslint": "^8.54.0",
3939
"expect.js": "^0.3.1",
4040
"mocha": "^10.2.0",
41-
"rimraf": "^5.0.1",
42-
"rollup": "^3.29.2",
43-
"@js-lib/cli": "^2.2.1",
41+
"rimraf": "^5.0.5",
42+
"rollup": "^3.29.4",
43+
"@js-lib/cli": "^2.3.2",
4444
"cross-env": "^7.0.3",
45-
"@babel/plugin-transform-runtime": "^7.22.15",
46-
"@babel/preset-env": "^7.22.20",
45+
"@babel/plugin-transform-runtime": "^7.23.3",
46+
"@babel/preset-env": "^7.23.3",
4747
"@babel/register": "^7.22.15",
4848
"babel-plugin-istanbul": "^6.1.1",
4949
"coveralls": "^3.1.1",
5050
"nyc": "^15.1.0",
5151
"source-map-support": "0.5.9",
5252
"http-server": "^14.1.1",
53-
"@babel/eslint-parser": "^7.22.15",
53+
"@babel/eslint-parser": "^7.23.3",
5454
"eslint-config-prettier": "^9.0.0",
55-
"eslint-plugin-import": "^2.28.1",
56-
"eslint-plugin-prettier": "^5.0.0",
55+
"eslint-plugin-import": "^2.29.0",
56+
"eslint-plugin-prettier": "^5.0.1",
5757
"husky": "^8.0.0",
5858
"lint-staged": "^14.0.1",
59-
"prettier": "3.0.3",
59+
"prettier": "3.1.0",
6060
"commitizen": "^4.2.4",
61-
"@commitlint/cli": "^16.2.1",
62-
"@commitlint/config-conventional": "^16.2.1",
63-
"@commitlint/cz-commitlint": "^16.2.1",
64-
"@commitlint/format": "12.1.1",
65-
"@commitlint/prompt-cli": "^16.2.1",
66-
"@rollup/plugin-babel": "^6.0.3",
67-
"@rollup/plugin-commonjs": "^25.0.4",
68-
"@rollup/plugin-node-resolve": "^15.2.1",
69-
"@rollup/plugin-terser": "^0.4.3"
61+
"@commitlint/cli": "^16.3.0",
62+
"@commitlint/config-conventional": "^16.2.4",
63+
"@commitlint/cz-commitlint": "^16.3.0",
64+
"@commitlint/format": "^12.1.1",
65+
"@commitlint/prompt-cli": "^16.3.0",
66+
"@rollup/plugin-babel": "^6.0.4",
67+
"@rollup/plugin-commonjs": "^25.0.7",
68+
"@rollup/plugin-node-resolve": "^15.2.3",
69+
"@rollup/plugin-terser": "^0.4.4"
7070
},
7171
"dependencies": {
72-
"@jsmini/extend": "^0.4.0",
73-
"@jsmini/type": "^0.10.0"
72+
"@jsmini/extend": "^0.5.0",
73+
"@jsmini/type": "^0.11.0"
7474
},
7575
"files": [
7676
"/dist",
7777
"/types",
7878
"*.d.ts"
7979
],
8080
"engines": {
81-
"node": ">=18.18.0 <19.0.0",
82-
"npm": ">=9.8.1 <10.0.0"
81+
"node": ">=14.0.0",
82+
"npm": ">=6.0.0"
8383
},
8484
"publishConfig": {
8585
"registry": "https://registry.npmjs.org",
@@ -100,4 +100,4 @@
100100
"path": "@commitlint/cz-commitlint"
101101
}
102102
}
103-
}
103+
}

0 commit comments

Comments
 (0)