Commit Graph

49 Commits

Author SHA1 Message Date
dependabot-preview[bot]
5354c8df57
build(deps): [security] bump lodash.template from 4.4.0 to 4.5.0
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-10 23:58:52 +00:00
Cole Bemis
3c64e93543 fix: Update core-js to 3.1.3 2019-06-10 17:11:10 -07:00
dependabot[bot]
5a991dddea build(deps-dev): bump eslint-plugin-prettier from 2.5.0 to 2.7.0
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 2.5.0 to 2.7.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v2.5.0...v2.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-12 21:57:39 -07:00
dependabot[bot]
cd27b8869e build(deps): [security] bump extend from 3.0.1 to 3.0.2
Bumps [extend](https://github.com/justmoon/node-extend) from 3.0.1 to 3.0.2. **This update includes security fixes.**
- [Release notes](https://github.com/justmoon/node-extend/releases)
- [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 13:13:49 -08:00
Ash Guillaume
9b1fca0ded feat: Update slack icon 2019-01-24 22:33:23 -08:00
dependabot[bot]
70b1a47b56 build(deps): [security] bump https-proxy-agent from 2.1.1 to 2.2.1 (#497)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.1.1 to 2.2.1. **This update includes security fixes.**
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Changelog](https://github.com/TooTallNate/node-https-proxy-agent/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.1.1...2.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-26 20:41:20 -08:00
dependabot[bot]
fcd9e44681 build(deps): [security] bump merge from 1.2.0 to 1.2.1 (#498)
Bumps [merge](https://github.com/yeikos/js.merge) from 1.2.0 to 1.2.1. **This update includes security fixes.**
- [Release notes](https://github.com/yeikos/js.merge/releases)
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-26 20:41:08 -08:00
dependabot[bot]
0bbc3f61dc build(deps): [security] bump sshpk from 1.13.1 to 1.15.2 (#499)
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.1 to 1.15.2. **This update includes security fixes.**
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.1...v1.15.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-26 20:40:44 -08:00
dependabot[bot]
ac50475a45 build(deps): [security] bump stringstream from 0.0.5 to 0.0.6 (#500)
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6. **This update includes security fixes.**
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-26 20:40:26 -08:00
Cole Bemis
9f49fd9560
Merge pull request #415 from feathericons/dependabot/npm_and_yarn/core-js-2.5.6
build: bump core-js from 2.5.3 to 2.5.6
2018-05-18 17:01:29 -07:00
Cole Bemis
962870d51c chore: Fix security vulnerabilities 2018-05-18 16:41:56 -07:00
dependabot[bot]
9b157b399d
build: bump core-js from 2.5.3 to 2.5.6
Bumps [core-js](https://github.com/zloirock/core-js) from 2.5.3 to 2.5.6.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v2.5.3...v2.5.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-18 19:28:17 +00:00
Cole Bemis
c978b1cb4e fix: Remove unused polyfills and update build config
Removes polyfills for `Object.assign` and `Set` which, as far as I can tell, are unused in the
codebase. Updates `webpack` from 3 to 4. Replaces `babel-preset-es2015` with `babel-preset-env`.
Reduces the minified bundle size (`feather.min.js`) by **9.3kB** (72.4kB to 63.1kB). Does not change
any functionality of the library.
2018-05-18 12:26:21 -07:00
Cole Bemis
741ac5632c chore: Replace @commitlint/config-angular with @commitlint/config-conventional 2018-05-17 22:29:21 -07:00
Cole Bemis
1d3283d81d build: Add sync-algolia script 2018-05-17 21:51:49 -07:00
Cole Bemis
894dcfd6a6
Merge pull request #393 from feathericons/dependabot/npm_and_yarn/eslint-plugin-import-2.11.0
build: bump eslint-plugin-import from 2.8.0 to 2.11.0
2018-05-13 22:32:36 -07:00
Cole Bemis
765985a5e3
Merge pull request #412 from feathericons/dependabot/npm_and_yarn/npm-run-all-4.1.3
build: bump npm-run-all from 4.1.2 to 4.1.3
2018-05-07 18:53:58 -04:00
dependabot[bot]
17fb9c99a9
build: bump npm-run-all from 4.1.2 to 4.1.3
Bumps [npm-run-all](https://github.com/mysticatea/npm-run-all) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/mysticatea/npm-run-all/releases)
- [Commits](https://github.com/mysticatea/npm-run-all/compare/v4.1.2...v4.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-07 05:50:08 +00:00
dependabot[bot]
fb0ae8054e
build: bump html-minifier from 3.5.8 to 3.5.15
Bumps [html-minifier](https://github.com/kangax/html-minifier) from 3.5.8 to 3.5.15.
- [Release notes](https://github.com/kangax/html-minifier/releases)
- [Commits](https://github.com/kangax/html-minifier/compare/v3.5.8...v3.5.15)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-04-17 05:25:12 +00:00
dependabot[bot]
d2369242f1
build: bump eslint-plugin-import from 2.8.0 to 2.11.0
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.8.0 to 2.11.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.8.0...v2.11.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-04-13 05:20:04 +00:00
Cole Bemis
ba33c8312e
Merge pull request #278 from feathericons/dependabot/npm_and_yarn/eslint-plugin-prettier-2.5.0
chore(dependencies): Bump eslint-plugin-prettier from 2.4.0 to 2.5.0
2018-01-19 09:32:05 -08:00
dependabot[bot]
6adadf4319 chore(dependencies): Bump eslint-plugin-prettier from 2.4.0 to 2.5.0
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 2.4.0 to 2.5.0.
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v2.4.0...v2.5.0)
2018-01-19 05:50:26 +00:00
dependabot[bot]
7ea765f04f chore(dependencies): Bump semantic-release from 8.2.0 to 12.2.2
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 8.2.0 to 12.2.2.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v8.2.0...v12.2.2)
2018-01-19 05:49:42 +00:00
Cole Bemis
2dbe78fc02
Merge pull request #260 from feathericons/dependabot/npm_and_yarn/html-minifier-3.5.8
chore(dependencies): Bump html-minifier from 3.5.7 to 3.5.8
2018-01-18 21:48:59 -08:00
dependabot[bot]
ed0e08a451 chore(dependencies): Bump eslint from 4.13.1 to 4.15.0
Bumps [eslint](https://github.com/eslint/eslint) from 4.13.1 to 4.15.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v4.13.1...v4.15.0)
2018-01-08 08:03:01 +00:00
dependabot[bot]
ada2681ad4 chore(dependencies): Bump html-minifier from 3.5.7 to 3.5.8
Bumps [html-minifier](https://github.com/kangax/html-minifier) from 3.5.7 to 3.5.8.
- [Release notes](https://github.com/kangax/html-minifier/releases/tag/v3.5.8)
- [Commits](https://github.com/kangax/html-minifier/compare/v3.5.7...v3.5.8)
2017-12-25 07:37:07 +00:00
dependabot[bot]
fbdff6452c chore(dependencies): Bump eslint-plugin-prettier from 2.3.1 to 2.4.0
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 2.3.1 to 2.4.0.
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v2.3.1...v2.4.0)
2017-12-18 08:08:14 +00:00
Cole Bemis
1f87e256b6
Merge pull request #238 from feathericons/dependabot/npm_and_yarn/lint-staged-6.0.0
Bump lint-staged from 5.0.0 to 6.0.0
2017-12-16 01:26:48 -08:00
dependabot[bot]
1d3807c005 chore(dependencies): Bump eslint-config-airbnb-base from 11.3.2 to 12.1.0
Bumps [eslint-config-airbnb-base](https://github.com/airbnb/javascript) from 11.3.2 to 12.1.0.
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-base-v11.3.2...eslint-config-airbnb-base-v12.1.0)
2017-12-16 09:03:00 +00:00
Cole Bemis
a7fe66e4b4
Merge pull request #239 from feathericons/dependabot/npm_and_yarn/eslint-4.13.1
Bump eslint from 4.10.0 to 4.13.1
2017-12-16 01:01:59 -08:00
dependabot[bot]
c85cb6556b chore(dependencies): Bump eslint from 4.10.0 to 4.13.1
Bumps [eslint](https://github.com/eslint/eslint) from 4.10.0 to 4.13.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v4.10.0...v4.13.1)
2017-12-16 08:55:43 +00:00
Cole Bemis
3ad661ecae
Merge pull request #241 from feathericons/dependabot/npm_and_yarn/@commitlint/cli-5.2.5
Bump @commitlint/cli from 5.0.0 to 5.2.5
2017-12-16 00:55:38 -08:00
dependabot[bot]
e3a3cd6727 chore(dependencies): Bump lint-staged from 5.0.0 to 6.0.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/okonet/lint-staged/releases/tag/v6.0.0)
- [Commits](https://github.com/okonet/lint-staged/compare/v5.0.0...v6.0.0)
2017-12-16 08:52:08 +00:00
dependabot[bot]
73111225b0 chore(dependencies): Bump eslint-config-prettier from 2.7.0 to 2.9.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 2.7.0 to 2.9.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v2.7.0...v2.9.0)
2017-12-16 08:51:59 +00:00
Cole Bemis
d5e7e14e5b
Merge pull request #251 from feathericons/dependabot/npm_and_yarn/webpack-3.10.0
Bump webpack from 3.8.1 to 3.10.0
2017-12-16 00:51:35 -08:00
dependabot[bot]
84b8428ee9 chore(dependencies): Bump html-minifier from 3.5.6 to 3.5.7
Bumps [html-minifier](https://github.com/kangax/html-minifier) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/kangax/html-minifier/releases/tag/v3.5.7)
- [Commits](https://github.com/kangax/html-minifier/compare/v3.5.6...v3.5.7)
2017-12-15 09:39:26 +00:00
Cole Bemis
f6984951a9
Merge pull request #243 from feathericons/dependabot/npm_and_yarn/husky-0.14.3
Bump husky from 0.13.4 to 0.14.3
2017-12-15 01:38:13 -08:00
dependabot[bot]
e70ae51980 chore(dependencies): Bump @commitlint/cli from 5.0.0 to 5.2.5
Bumps [@commitlint/cli](https://github.com/marionebl/commitlint) from 5.0.0 to 5.2.5.
- [Release notes](https://github.com/marionebl/commitlint/releases)
- [Changelog](https://github.com/marionebl/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marionebl/commitlint/compare/v5.0.0...v5.2.5)
2017-12-15 09:38:12 +00:00
Cole Bemis
dd9a0b0fe1
Merge pull request #244 from feathericons/dependabot/npm_and_yarn/@commitlint/config-angular-5.1.1
Bump @commitlint/config-angular from 5.0.0 to 5.1.1
2017-12-15 01:37:19 -08:00
dependabot[bot]
c847a2b195 chore(dependencies): Bump webpack from 3.8.1 to 3.10.0
Bumps [webpack](https://github.com/webpack/webpack) from 3.8.1 to 3.10.0.
- [Release notes](https://github.com/webpack/webpack/releases?after=v4.0.0-alpha.0)
- [Commits](https://github.com/webpack/webpack/compare/v3.8.1...v3.10.0)
2017-12-15 07:58:20 +00:00
dependabot[bot]
9d3a802eb2 chore(dependencies): Bump core-js from 2.5.1 to 2.5.3
Bumps [core-js](https://github.com/zloirock/core-js) from 2.5.1 to 2.5.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v2.5.1...v2.5.3)
2017-12-15 07:58:13 +00:00
dependabot[bot]
10a1b217ef chore(dependencies): Bump husky from 0.13.4 to 0.14.3
Bumps [husky](https://github.com/typicode/husky) from 0.13.4 to 0.14.3.
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v0.13.4...v0.14.3)
2017-12-14 23:55:38 +00:00
dependabot[bot]
080d5b4187 chore(dependencies): Bump semantic-release from 6.3.6 to 8.2.0
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 6.3.6 to 8.2.0.
- [Release notes](https://github.com/semantic-release/semantic-release/releases?after=v8.2.1)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v6.3.6...v8.2.0)
2017-12-14 15:54:41 -08:00
dependabot[bot]
ef4f52918b chore(dependencies): Bump @commitlint/config-angular from 5.0.0 to 5.1.1
Bumps [@commitlint/config-angular](https://github.com/marionebl/commitlint) from 5.0.0 to 5.1.1.
- [Release notes](https://github.com/marionebl/commitlint/releases?after=v5.1.2)
- [Changelog](https://github.com/marionebl/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marionebl/commitlint/compare/v5.0.0...v5.1.1)
2017-12-14 07:08:54 +00:00
Cole Bemis
14c796917d
build: Update linting config 2017-11-19 18:01:04 -08:00
Cole Bemis
c9552b6916
fix: Remove unecessary whitespace from SVG contents
```js
/* BEFORE */
{ circle: "\n  <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n" }

/* AFTER */
{ circle: "<circle cx=\"12\" cy=\"12\" r=\"10\"></circle>" }
```
2017-11-19 16:29:52 -08:00
Cole Bemis
f243624fbd
feat: Update API
BREAKING CHANGE: 

Each icon in the `feather.icons` object is now an `Icon` object with a `name`, `contents`, `tags` and `attrs` property.
```js
/* BEFORE */
feather.icons.x
// '<line ... /><line ... />'

/* AFTER */
feather.icons.x
// {
//    name: 'x',
//    contents: '<line ... /><line ... />`,
//    tags: ['cancel', 'close', 'delete', 'remove'],
//    attrs: {
//      class: 'feather feather-x',
//      xmlns: 'http://www.w3.org/2000/svg',
//      width: 24,
//      height: 24,
//      viewBox: '0 0 24 24',
//      fill: 'none',
//      stroke: 'currentColor',
//      'stroke-width': 2,
//      'stroke-linecap': 'round',
//      'stroke-linejoin': 'round',
//    }
// }
```

`feather.toSvg()` has been deprecated in favor of `feather.icons[name].toSvg()`:
```js
/* BEFORE */
feather.toSvg('x')

/* AFTER */
feather.icons.x.toSvg()
```

`feather.replace()` now copies all attributes on the placeholder element (i.e. `<i>`) to the `<svg>` tag instead of just `class` and `id`:

```html
<i data-feather="circle" id="my-circle" class="foo bar" stroke-width="1"></i>
<!--
<i> will be replaced with:
<svg id="my-circle" class="feather feather-circle foo bar" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle></svg>
-->
```
2017-11-18 20:00:16 -08:00
Cole Bemis
0dc2bf5c9d
build: Add process-svgs script (#216) 2017-11-13 08:13:11 -08:00
Cole Bemis
bfd736270f chore: Generate package-lock.json 2017-11-09 19:23:22 -08:00