@serialport/parser-regex
Advanced tools
Comparing version 2.0.2 to 3.0.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [3.0.0](https://github.com/node-serialport/node-serialport/compare/@serialport/parser-regex@2.0.2...@serialport/parser-regex@3.0.0) (2019-05-16) | ||
### chore | ||
* remove node6 support and upgrade codebase ([#1851](https://github.com/node-serialport/node-serialport/issues/1851)) ([d4f15c0](https://github.com/node-serialport/node-serialport/commit/d4f15c0)) | ||
### BREAKING CHANGES | ||
* bindings now use async functions so they’ll never throw, only reject | ||
## [2.0.2](https://github.com/node-serialport/node-serialport/compare/@serialport/parser-regex@2.0.1...@serialport/parser-regex@2.0.2) (2018-11-27) | ||
@@ -8,0 +24,0 @@ |
{ | ||
"name": "@serialport/parser-regex", | ||
"main": "regex.js", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=8.6.0" | ||
}, | ||
@@ -16,3 +16,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "d59fe44fcc1ba52a51805375481ef339f3f83de4" | ||
"gitHead": "524a2729003a94c9575904448d878a151f4f3790" | ||
} |
12
regex.js
@@ -1,2 +0,2 @@ | ||
const Transform = require('stream').Transform | ||
const { Transform } = require('stream') | ||
@@ -17,8 +17,6 @@ /** | ||
constructor(options) { | ||
const opts = Object.assign( | ||
{ | ||
encoding: 'utf8', | ||
}, | ||
options | ||
) | ||
const opts = { | ||
encoding: 'utf8', | ||
...options, | ||
} | ||
@@ -25,0 +23,0 @@ if (opts.regex === 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
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
4042
45