Comparing version 1.0.2 to 1.0.3
@@ -5,4 +5,4 @@ 'use strict' | ||
/* Check if the given character code, or the character | ||
* code at the first character, is decimal. */ | ||
// Check if the given character code, or the character code at the first | ||
// character, is decimal. | ||
function decimal(character) { | ||
@@ -9,0 +9,0 @@ var code = typeof character === 'string' ? character.charCodeAt(0) : character |
{ | ||
"name": "is-decimal", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Check if a character is decimal", | ||
@@ -15,5 +15,5 @@ "license": "MIT", | ||
"bugs": "https://github.com/wooorm/is-decimal/issues", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)" | ||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)" | ||
], | ||
@@ -26,14 +26,14 @@ "files": [ | ||
"browserify": "^16.0.0", | ||
"esmangle": "^1.0.1", | ||
"nyc": "^11.0.0", | ||
"nyc": "^14.0.0", | ||
"prettier": "^1.12.1", | ||
"remark-cli": "^5.0.0", | ||
"remark-cli": "^6.0.0", | ||
"remark-preset-wooorm": "^4.0.0", | ||
"tape": "^4.0.0", | ||
"xo": "^0.20.0" | ||
"tinyify": "^2.5.0", | ||
"xo": "^0.24.0" | ||
}, | ||
"scripts": { | ||
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix", | ||
"build-bundle": "browserify index.js --bare -s isDecimal > is-decimal.js", | ||
"build-mangle": "esmangle < is-decimal.js > is-decimal.min.js", | ||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix", | ||
"build-bundle": "browserify . -s isDecimal -o is-decimal.js", | ||
"build-mangle": "browserify . -s isDecimal -p tinyifgy -o is-decimal.min.js", | ||
"build": "npm run build-bundle && npm run build-mangle", | ||
@@ -55,6 +55,2 @@ "test-api": "node test", | ||
"esnext": false, | ||
"rules": { | ||
"no-var": "off", | ||
"prefer-arrow-callback": "off" | ||
}, | ||
"ignores": [ | ||
@@ -61,0 +57,0 @@ "is-decimal.js" |
@@ -1,3 +0,8 @@ | ||
# is-decimal [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
# is-decimal | ||
[![Build][build-badge]][build] | ||
[![Coverage][coverage-badge]][coverage] | ||
[![Downloads][downloads-badge]][downloads] | ||
[![Size][size-badge]][size] | ||
Check if a character is decimal. | ||
@@ -44,14 +49,22 @@ | ||
[travis-badge]: https://img.shields.io/travis/wooorm/is-decimal.svg | ||
[build-badge]: https://img.shields.io/travis/wooorm/is-decimal.svg | ||
[travis]: https://travis-ci.org/wooorm/is-decimal | ||
[build]: https://travis-ci.org/wooorm/is-decimal | ||
[codecov-badge]: https://img.shields.io/codecov/c/github/wooorm/is-decimal.svg | ||
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/is-decimal.svg | ||
[codecov]: https://codecov.io/github/wooorm/is-decimal | ||
[coverage]: https://codecov.io/github/wooorm/is-decimal | ||
[downloads-badge]: https://img.shields.io/npm/dm/is-decimal.svg | ||
[downloads]: https://www.npmjs.com/package/is-decimal | ||
[size-badge]: https://img.shields.io/bundlephobia/minzip/is-decimal.svg | ||
[size]: https://bundlephobia.com/result?p=is-decimal | ||
[npm]: https://docs.npmjs.com/cli/install | ||
[license]: LICENSE | ||
[license]: license | ||
[author]: http://wooorm.com | ||
[author]: https://wooorm.com |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4608
70