Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arrayiffy-if-string

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrayiffy-if-string - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

31

changelog.md

@@ -8,2 +8,10 @@ # Change Log

## [3.3.0] - 2018-06-15
GitHub sold us out. In the meantime, we:
- ✨ Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
- ✨ Dropped BitHound (RIP) and Travis
- ✨ Removed `package-lock`
## [3.2.0] - 2018-05-14

@@ -13,4 +21,4 @@

* ✨ Now pointing unit tests at ES Modules build, not CommonJS-one. This means, unit test coverage will be correct (higher) because there won't be any missing rows that Babel added which are impossible to cover.
* ✨ Tweaks to ava [config](https://github.com/avajs/ava/blob/master/docs/recipes/es-modules.md) in `package.json`, properly enabling the `dev` Rollup builds.
- ✨ Now pointing unit tests at ES Modules build, not CommonJS-one. This means, unit test coverage will be correct (higher) because there won't be any missing rows that Babel added which are impossible to cover.
- ✨ Tweaks to ava [config](https://github.com/avajs/ava/blob/master/docs/recipes/es-modules.md) in `package.json`, properly enabling the `dev` Rollup builds.

@@ -21,5 +29,5 @@ ## [3.1.0] - 2018-04-29

* ✨ Set up [Prettier](https://prettier.io)
* ✨ Removed `package.lock` and `.editorconfig`
* ✨ Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — Rollup will remove them during the builds.
- ✨ Set up [Prettier](https://prettier.io)
- ✨ Removed `package.lock` and `.editorconfig`
- ✨ Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — Rollup will remove them during the builds.

@@ -30,4 +38,4 @@ ## [3.0.0] - 2017-11-22

* ✨ Rewrote in ES modules, now serving UMD, Common JS and native ES modules builds. Bumping major just in case.
* ✨ Removed JS Standard and switched to raw ESLint on `airbnb-base` preset, with no-semicolon override.
- ✨ Rewrote in ES modules, now serving UMD, Common JS and native ES modules builds. Bumping major just in case.
- ✨ Removed JS Standard and switched to raw ESLint on `airbnb-base` preset, with no-semicolon override.

@@ -38,6 +46,7 @@ ## 1.0.0 - 2017-05-22

* ✨ First public release
- ✨ First public release
[3.0.0]: https://github.com/codsen/arrayiffy-if-string/compare/v1.0.0...v3.0.0
[3.1.0]: https://github.com/codsen/arrayiffy-if-string/compare/v3.0.6...v3.1.0
[3.2.0]: https://github.com/codsen/arrayiffy-if-string/compare/v3.1.1...v3.2.0
[3.0.0]: https://bitbucket.org/codsen/arrayiffy-if-string/branches/compare/v3.0.0%0Dv1.0.2#diff
[3.1.0]: https://bitbucket.org/codsen/arrayiffy-if-string/branches/compare/v3.1.0%0Dv3.0.6#diff
[3.2.0]: https://bitbucket.org/codsen/arrayiffy-if-string/branches/compare/v3.2.0%0Dv3.1.1#diff
[3.3.0]: https://bitbucket.org/codsen/arrayiffy-if-string/branches/compare/v3.3.0%0Dv3.2.1#diff
{
"name": "arrayiffy-if-string",
"version": "3.2.1",
"version": "3.3.0",
"description": "Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.",

@@ -13,8 +13,5 @@ "license": "MIT",

"type": "git",
"url": "git+https://github.com/codsen/arrayiffy-if-string.git"
"url": "https://bitbucket.org/codsen/arrayiffy-if-string.git"
},
"bugs": {
"url": "https://github.com/codsen/arrayiffy-if-string/issues"
},
"homepage": "https://github.com/codsen/arrayiffy-if-string#readme",
"homepage": "https://bitbucket.org/codsen/arrayiffy-if-string/",
"author": {

@@ -151,3 +148,4 @@ "email": "roy@codsen.com",

},
"devDependencies": []
"devDependencies": [],
"travisVersionsOverride": []
}

@@ -159,8 +157,12 @@ },

"babel-preset-env": "latest",
"codacy-coverage": "latest",
"coveralls": "latest",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-ava": "^4.5.1",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint": "latest",
"eslint-config-prettier": "latest",
"eslint-plugin-ava": "latest",
"eslint-plugin-import": "latest",
"eslint-plugin-no-unsanitized": "latest",
"eslint-plugin-no-wildcard-postmessage": "latest",
"eslint-plugin-prettier": "latest",
"eslint-plugin-scanjs-rules": "latest",
"esm": "latest",

@@ -170,3 +172,3 @@ "husky": "latest",

"prettier": "latest",
"rollup": "^0.59.1",
"rollup": "latest",
"rollup-plugin-babel": "^3.0.4",

@@ -173,0 +175,0 @@ "rollup-plugin-commonjs": "^9.1.3",

@@ -6,9 +6,5 @@ # arrayiffy-if-string

[![Minimum Node version required][node-img]][node-url]
[![Build Status][travis-img]][travis-url]
[![Repository is on BitBucket][bitbucket-img]][bitbucket-url]
[![Coverage][cov-img]][cov-url]
[![bitHound Overall Score][overall-img]][overall-url]
[![bitHound Dependencies][deps-img]][deps-url]
[![View dependencies as 2D chart][deps2d-img]][deps2d-url]
[![bitHound Dev Dependencies][dev-img]][dev-url]
[![Known Vulnerabilities][vulnerabilities-img]][vulnerabilities-url]
[![Downloads/Month][downloads-img]][downloads-url]

@@ -21,17 +17,8 @@ [![Test in browser][runkit-img]][runkit-url]

<!-- prettier-ignore-start -->
- [Table of Contents](#markdown-header-markdown-header-table-of-contents)
- [Install](#markdown-header-markdown-header-install)
- [Idea](#markdown-header-markdown-header-idea)
- [Contributing](#markdown-header-markdown-header-contributing)
- [Licence](#markdown-header-markdown-header-licence)
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Install](#install)
- [Idea](#idea)
- [Contributing](#contributing)
- [Licence](#licence)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
## Install

@@ -52,15 +39,15 @@

| Type | Key in `package.json` | Path | Size |
| ------------------------------------------------------------------------------------------------------- | --------------------- | --------------------------------- | ---------- |
| Main export - **CommonJS version**, transpiled to ES5, contains `require` and `module.exports` | `main` | `dist/arrayiffy-if-string.cjs.js` | 303&nbsp;B |
| **ES module** build that Webpack/Rollup understands. Untranspiled ES6 code with `import`/`export`. | `module` | `dist/arrayiffy-if-string.esm.js` | 286&nbsp;B |
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/arrayiffy-if-string.umd.js` | 257&nbsp;B |
| Type | Key in `package.json` | Path | Size |
| ------------------------------------------------------------------------------------------------------- | --------------------- | --------------------------------- | ----- |
| Main export - **CommonJS version**, transpiled to ES5, contains `require` and `module.exports` | `main` | `dist/arrayiffy-if-string.cjs.js` | 303 B |
| **ES module** build that Webpack/Rollup understands. Untranspiled ES6 code with `import`/`export`. | `module` | `dist/arrayiffy-if-string.esm.js` | 286 B |
| **UMD build** for browsers, transpiled, minified, containing `iife`'s and has all dependencies baked-in | `browser` | `dist/arrayiffy-if-string.umd.js` | 257 B |
**[⬆ &nbsp;back to top](#)**
**[⬆ back to top](#)**
## Idea
* If it's a non-empty string, put it into an array and return it.
* If it's empty string, return an empty array.
* If it's anything else, just return it.
- If it's a non-empty string, put it into an array and return it.
- If it's empty string, return an empty array.
- If it's anything else, just return it.

@@ -88,15 +75,15 @@ ```js

It's meant for working with settings objects. Check out [check-types-mini](https://github.com/codsen/check-types-mini).
It's meant for working with settings objects. Check out [check-types-mini](https://bitbucket.org/codsen/check-types-mini).
**[⬆ &nbsp;back to top](#)**
**[⬆ back to top](#)**
## Contributing
* If you **want a new feature** in this package or you would like us to change some of its functionality, raise an [issue on this repo](https://github.com/codsen/arrayiffy-if-string/issues).
- If you **want a new feature** in this package or you would like us to change some of its functionality, raise an [issue on this repo](https://bitbucket.org/codsen/arrayiffy-if-string/issues/new).
* If you tried to use this library but it misbehaves, or **you need advice setting it up**, and its readme doesn't make sense, just document it and raise an [issue on this repo](https://github.com/codsen/arrayiffy-if-string/issues).
- If you tried to use this library but it misbehaves, or **you need advice setting it up**, and its readme doesn't make sense, just document it and raise an [issue on this repo](https://bitbucket.org/codsen/arrayiffy-if-string/issues/new).
* If you would like to **add or change some features**, just fork it, hack away, and file a pull request. We'll do our best to merge it quickly. _Prettier_ is enabled, so you don't need to worry about the code style.
- If you would like to **add or change some features**, just fork it, hack away, and file a pull request. We'll do our best to merge it quickly. _Prettier_ is enabled, so you don't need to worry about the code style.
**[⬆ &nbsp;back to top](#)**
**[⬆ back to top](#)**

@@ -111,16 +98,8 @@ ## Licence

[node-url]: https://www.npmjs.com/package/arrayiffy-if-string
[travis-img]: https://img.shields.io/travis/codsen/arrayiffy-if-string.svg?style=flat-square
[travis-url]: https://travis-ci.org/codsen/arrayiffy-if-string
[cov-img]: https://coveralls.io/repos/github/codsen/arrayiffy-if-string/badge.svg?style=flat-square?branch=master
[cov-url]: https://coveralls.io/github/codsen/arrayiffy-if-string?branch=master
[overall-img]: https://img.shields.io/bithound/code/github/codsen/arrayiffy-if-string.svg?style=flat-square
[overall-url]: https://www.bithound.io/github/codsen/arrayiffy-if-string
[deps-img]: https://img.shields.io/bithound/dependencies/github/codsen/arrayiffy-if-string.svg?style=flat-square
[deps-url]: https://www.bithound.io/github/codsen/arrayiffy-if-string/master/dependencies/npm
[bitbucket-img]: https://img.shields.io/badge/repo-on%20BitBucket-brightgreen.svg?style=flat-square
[bitbucket-url]: https://bitbucket.org/codsen/arrayiffy-if-string
[cov-img]: https://coveralls.io/repos/bitbucket/codsen/arrayiffy-if-string/badge.svg?style=flat-square&branch=master
[cov-url]: https://coveralls.io/bitbucket/codsen/arrayiffy-if-string?branch=master
[deps2d-img]: https://img.shields.io/badge/deps%20in%202D-see_here-08f0fd.svg?style=flat-square
[deps2d-url]: http://npm.anvaka.com/#/view/2d/arrayiffy-if-string
[dev-img]: https://img.shields.io/bithound/devDependencies/github/codsen/arrayiffy-if-string.svg?style=flat-square
[dev-url]: https://www.bithound.io/github/codsen/arrayiffy-if-string/master/dependencies/npm
[vulnerabilities-img]: https://snyk.io/test/github/codsen/arrayiffy-if-string/badge.svg?style=flat-square
[vulnerabilities-url]: https://snyk.io/test/github/codsen/arrayiffy-if-string
[downloads-img]: https://img.shields.io/npm/dm/arrayiffy-if-string.svg?style=flat-square

@@ -131,4 +110,4 @@ [downloads-url]: https://npmcharts.com/compare/arrayiffy-if-string

[prettier-img]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square
[prettier-url]: https://github.com/prettier/prettier
[license-img]: https://img.shields.io/npm/l/arrayiffy-if-string.svg?style=flat-square
[license-url]: https://github.com/codsen/arrayiffy-if-string/blob/master/license.md
[prettier-url]: https://prettier.io
[license-img]: https://img.shields.io/badge/licence-MIT-51c838.svg?style=flat-square
[license-url]: https://bitbucket.org/codsen/arrayiffy-if-string
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc