Skip to content

Commit 721761d

Browse files
committed
🔖 bump to version 3.4.1
1 parent f91185e commit 721761d

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# gulp-html-accents changelog
22

3+
## 3.4.1
4+
- Replaced deprecated gulp-util to plugin-error;
5+
36
## 3.4.0
47
- improved code readability;
58
- fixed warning notice about `Buffer` usage;

dist/gulp-html-accents.cjs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* gulp-html-accents v3.4.0
2+
* gulp-html-accents v3.4.1
33
* (c) 2017-present Vitor Luiz Cavalcanti <[email protected]>
44
* Released under the MIT License.
55
*/
@@ -9,7 +9,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
99

1010
var he = _interopDefault(require('he'));
1111
var through = _interopDefault(require('through2'));
12-
var gulpUtil = require('gulp-util');
12+
var PluginError = _interopDefault(require('plugin-error'));
1313

1414
/**
1515
* Concat custom options with default ones.
@@ -45,7 +45,7 @@ var gulpHtmlAccents = function (options) {
4545
var contents = he.encode(file.contents.toString('utf8'), resolveOptions(options));
4646
file.contents = Buffer.from(contents);
4747
} catch (err) {
48-
throw new gulpUtil.PluginError('gulp-html-accents', err);
48+
throw new PluginError('gulp-html-accents', err);
4949
}
5050
}
5151

dist/gulp-html-accents.es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*!
2-
* gulp-html-accents v3.4.0
2+
* gulp-html-accents v3.4.1
33
* (c) 2017-present Vitor Luiz Cavalcanti <[email protected]>
44
* Released under the MIT License.
55
*/
66
import he from 'he';
77
import through from 'through2';
8-
import { PluginError } from 'gulp-util';
8+
import PluginError from 'plugin-error';
99

1010
/**
1111
* Concat custom options with default ones.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gulp-html-accents",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "Replace accents for HTML Entities.",
55
"main": "dist/gulp-html-accents.cjs.js",
66
"module": "dist/gulp-html-accents.es.js",

0 commit comments

Comments
 (0)