ramda-adjunct
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -0,1 +1,9 @@ | ||
<a name="0.2.0"></a> | ||
# [0.2.0](https://github.com/char0n/ramda-adjunct/compare/v0.1.0...v0.2.0) (2017-02-13) | ||
* **build:** add support for older node versions | ||
* **build** add various dist files | ||
* **build** make enhancements in entire infra | ||
* **test:** add tests that run in browsers | ||
<a name="0.1.0"></a> | ||
@@ -2,0 +10,0 @@ # [0.1.0](https://github.com/char0n/ramda-adjunct/compare/v0.0.1...v0.1.0) (2017-02-09) |
@@ -7,3 +7,3 @@ { | ||
"keywords": "ramda extensions addons cookbook adjunct", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"homepage": "https://github.com/char0n/ramda-adjunct", | ||
@@ -15,5 +15,5 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
}, | ||
"main": "./src/index.js", | ||
"engines":{ | ||
"node" : ">=6.9.5" | ||
"main": "./dist/RA.node.js", | ||
"engines": { | ||
"node": ">=6.9.5" | ||
}, | ||
@@ -25,3 +25,9 @@ "scripts": { | ||
"changelog": "better-npm-run changelog", | ||
"test": "better-npm-run test" | ||
"test": "better-npm-run test", | ||
"test:web": "better-npm-run test:web", | ||
"test:bundle-create": "better-npm-run test:bundle-create", | ||
"test:bundle-clean": "better-npm-run test:bundle-clean", | ||
"coverage": "better-npm-run coverage", | ||
"dist": "better-npm-run dist", | ||
"clean": "better-npm-run clean" | ||
}, | ||
@@ -33,10 +39,20 @@ "betterScripts": { | ||
"changelog": "conventional-changelog -p angular -i ./CHANGELOG.md -s -r 0", | ||
"test": "mocha" | ||
"test": "mocha", | ||
"test:web": "testem ci", | ||
"test:bundle-create": "webpack --config webpack.config-test.js", | ||
"test:bundle-clean": "rimraf tmp-test-bundle.js", | ||
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha", | ||
"dist": "rimraf dist && webpack --config webpack.config.js", | ||
"clean": "rimraf docs && rimraf coverage && rimraf tmp-test-bundle.js" | ||
}, | ||
"readme": "README.md", | ||
"dependencies": { | ||
"ramda": "=0.23.0" | ||
"peerDependencies": { | ||
"ramda": "~0.23" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "=6.22.1", | ||
"babel-loader": "=6.2.10", | ||
"babel-preset-es2015": "=6.22.0", | ||
"better-npm-run": "=0.0.14", | ||
"codecov": "=1.0.1", | ||
"conventional-changelog-cli": "=1.1.0", | ||
@@ -49,5 +65,11 @@ "docdash": "git+https://github.com/char0n/docdash.git#b831a5c746b36373ca44d6f0297c5621e34c7fc1", | ||
"eslint-plugin-react": "=6.9.0", | ||
"glob": "=7.1.1", | ||
"istanbul": "=0.4.5", | ||
"jsdoc": "=3.4.3", | ||
"mocha": "=3.2.0" | ||
"mocha": "=3.2.0", | ||
"phantom": "=4.0.0", | ||
"rimraf": "=2.5.4", | ||
"testem": "=1.15.0", | ||
"webpack": "=2.2.1" | ||
} | ||
} |
[![CircleCI](https://circleci.com/gh/char0n/ramda-adjunct.svg?style=svg)](https://circleci.com/gh/char0n/ramda-adjunct) | ||
[![codecov](https://codecov.io/gh/char0n/ramda-adjunct/branch/master/graph/badge.svg)](https://codecov.io/gh/char0n/ramda-adjunct) | ||
[![jsdoc](https://img.shields.io/badge/docs-100%25-green.svg)](https://char0n.github.io/ramda-adjunct/) | ||
[![npm version](https://badge.fury.io/js/ramda-adjunct.svg)](https://www.npmjs.com/package/ramda-adjunct) | ||
[![npm](https://img.shields.io/npm/dm/ramda-adjunct.svg)]() | ||
[![David](https://img.shields.io/david/peer/char0n/ramda-adjunct.svg)]() | ||
[![Join the chat at https://gitter.im/ramda-adjunct/Lobby](https://badges.gitter.im/ramda-adjunct/Lobby.svg)](https://gitter.im/ramda-adjunct/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
@@ -52,2 +58,3 @@ # Ramda Adjunct | ||
- [0.0.1](https://char0n.github.io/ramda-adjunct/0.0.1) | ||
- [0.1.0](https://char0n.github.io/ramda-adjunct/0.0.1) | ||
- Latest: https://char0n.github.io/ramda-adjunct | ||
@@ -77,2 +84,19 @@ | ||
## Builds | ||
```sh | ||
$ npm run dist | ||
``` | ||
The command will create three types of builds. | ||
`dist/RA.node.js` - ES5 compliant build, running on all node versions | ||
`dist/RA.web.js` - ES5 compliant build, running in browsers. Requires `ramda.js` to be required before | ||
`dist/RA.web.standalone.js` - ES5 compliant build, running in browsers. It has `ramda.js` pre-bundled | ||
You can always find fresh build files in circle-ci [artifacts](https://circleci.com/gh/char0n/ramda-adjunct). | ||
## Author | ||
@@ -79,0 +103,0 @@ |
'use strict'; | ||
const { equals } = require('ramda'); | ||
/** | ||
* Checks if input `value` is `null` | ||
* | ||
* @func | ||
* @func isNull | ||
* @memberOf RA | ||
@@ -20,4 +22,2 @@ * @since v0.1.0 | ||
*/ | ||
const isNull = val => val === null; | ||
module.exports = isNull; | ||
module.exports = equals(null); |
'use strict'; | ||
const { equals } = require('ramda'); | ||
/** | ||
* Checks if input `value` is `undefined` | ||
* | ||
* @func | ||
* @func isUndefined | ||
* @memberOf RA | ||
@@ -20,4 +22,2 @@ * @since v0.0.1 | ||
*/ | ||
const isUndefined = val => typeof val === 'undefined'; | ||
module.exports = isUndefined; | ||
module.exports = equals(undefined); |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
412593
20
11017
107
20
3
1
+ Addedramda@0.23.0(transitive)
- Removedramda@=0.23.0