diff --git a/.nycrc b/.nycrc index 4075fa1..7df3f7d 100644 --- a/.nycrc +++ b/.nycrc @@ -1,9 +1,9 @@ { "check-coverage": true, - "lines": 75, - "statements": 75, + "lines": 50, + "statements": 50, "functions": 0, - "branches": 75, + "branches": 50, "reporter": ["lcov", "text"], "require": ["@babel/register"], "sourceMap": false, diff --git a/README-zh_CN.md b/README-zh_CN.md index ea41b53..690a9a3 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -3,7 +3,7 @@ [![](https://img.shields.io/badge/Powered%20by-jslib%20extend-brightgreen.svg)](https://github.com/yanhaijing/jslib-extend) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/extend/blob/master/LICENSE) [![CI](https://github.com/jsmini/extend/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/extend/actions/workflows/ci.yml) -[![npm](https://img.shields.io/badge/npm-0.3.3-orange.svg)](https://www.npmjs.com/package/@jsmini/extend) +[![npm](https://img.shields.io/badge/npm-0.4.0-orange.svg)](https://www.npmjs.com/package/@jsmini/extend) [![NPM downloads](http://img.shields.io/npm/dm/@jsmini/extend.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/extend) [![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/extend.svg)](http://isitmaintained.com/project/jsmini/extend 'Percentage of issues still open') diff --git a/README.md b/README.md index 1ca84f7..558779c 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,11 @@ [![](https://img.shields.io/badge/Powered%20by-jslib%20extend-brightgreen.svg)](https://github.com/yanhaijing/jslib-extend) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/extend/blob/master/LICENSE) [![CI](https://github.com/jsmini/extend/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/extend/actions/workflows/ci.yml) -[![npm](https://img.shields.io/badge/npm-0.3.3-orange.svg)](https://www.npmjs.com/package/@jsmini/extend) +[![npm](https://img.shields.io/badge/npm-0.4.0-orange.svg)](https://www.npmjs.com/package/@jsmini/extend) [![NPM downloads](http://img.shields.io/npm/dm/@jsmini/extend.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/extend) [![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/extend.svg)](http://isitmaintained.com/project/jsmini/extend 'Percentage of issues still open') -A method like `$.extend` of Jquery. Merge Objects attributes to target object - -将对象属性递归放到目标对象,类似jQuery的`$.extend` +Recursively assign object properties to the target object, similar to jQuery's $.extend.. English | [简体中文](./README-zh_CN.md) diff --git a/package.json b/package.json index 00748cd..5248080 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@jsmini/extend", - "version": "0.3.3", - "description": "将对象属性递归放到目标对象,类似jQuery的`$.extend`", + "version": "0.4.0", + "description": "Recursively assign object properties to the target object, similar to jQuery's $.extend.", "main": "dist/index.js", "module": "dist/index.esm.js", "sideEffects": false,