[Pkg-javascript-commits] [node-regexpu-core] 05/08: New upstream version 4.1.3+ds
Julien Puydt
julien.puydt at laposte.net
Sat Oct 28 06:56:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-regexpu-core.
commit 12b1baf93a54d513837d72a3a1a7a259120990ed
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Tue Oct 10 21:08:06 2017 +0200
New upstream version 4.1.3+ds
---
README.md | 8 ++++----
package-lock.json | 29 ++++++++++++++++++-----------
package.json | 8 ++++----
3 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
index 45da73b..abe79cf 100644
--- a/README.md
+++ b/README.md
@@ -80,10 +80,10 @@ rewritePattern('.', 'su', {
Setting this option to `true` enables [experimental support for Unicode property escapes](property-escapes.md):
```js
-rewritePattern('\\p{Block=Aegean_Numbers}', 'u', {
+rewritePattern('\\p{Script_Extensions=Anatolian_Hieroglyphs}', 'u', {
'unicodePropertyEscape': true
});
-// → '(?:\\uD800[\\uDD00-\\uDD3F])'
+// → '(?:\\uD811[\\uDC00-\\uDE46])'
```
#### `useUnicodeFlag` (default: `false`)
@@ -91,11 +91,11 @@ rewritePattern('\\p{Block=Aegean_Numbers}', 'u', {
Setting this option to `true` enables the use of Unicode code point escapes of the form `\u{…}`. Note that in regular expressions, such escape sequences only work correctly when the ES6 `u` flag is set. Enabling this setting often results in more compact output, although there are cases (such as `\p{Lu}`) where it actually _increases_ the output size.
```js
-rewritePattern('\\p{Block=Aegean_Numbers}', 'u', {
+rewritePattern('\\p{Script_Extensions=Anatolian_Hieroglyphs}', 'u', {
'unicodePropertyEscape': true,
'useUnicodeFlag': true
});
-// → '[\\u{10100}-\\u{1013F}]'
+// → '[\\u{14400}-\\u{14646}]'
```
## Author
diff --git a/package-lock.json b/package-lock.json
index 660df26..bb0d3fe 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "regexpu-core",
- "version": "4.1.2",
+ "version": "4.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -468,6 +468,12 @@
"sntp": "1.0.9"
}
},
+ "he": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
+ "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",
+ "dev": true
+ },
"hoek": {
"version": "2.16.3",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
@@ -796,9 +802,9 @@
}
},
"mocha": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.5.0.tgz",
- "integrity": "sha512-pIU2PJjrPYvYRqVpjXzj76qltO9uBYI7woYAMoxbSefsa+vqAfptjoeevd6bUgwD0mPIO+hv9f7ltvsNreL2PA==",
+ "version": "3.5.3",
+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.5.3.tgz",
+ "integrity": "sha512-/6na001MJWEtYxHOV1WLfsmR4YIynkUEhBwzsb+fk2qmQ3iqsi258l/Q2MWHJMImAcNpZ8DEdYAK72NHoIQ9Eg==",
"dev": true,
"requires": {
"browser-stdout": "1.3.0",
@@ -808,6 +814,7 @@
"escape-string-regexp": "1.0.5",
"glob": "7.1.1",
"growl": "1.9.2",
+ "he": "1.1.1",
"json3": "3.3.2",
"lodash.create": "3.1.1",
"mkdirp": "0.5.1",
@@ -923,22 +930,22 @@
"dev": true
},
"regenerate": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz",
- "integrity": "sha1-0ZQcZ7rUN+G+dkM63Vs4X5WxkmA="
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz",
+ "integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg=="
},
"regenerate-unicode-properties": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-5.1.1.tgz",
"integrity": "sha512-oaZXgyhHR9VYnYFzPRdO+k7tHaUXO5jPqfFYnaC5kIW9NQ0kVwb5rt8x5CEC0LCZ7WRIUy7zIrCF7R2xIbjiRA==",
"requires": {
- "regenerate": "1.3.2"
+ "regenerate": "1.3.3"
}
},
"regexpu-fixtures": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/regexpu-fixtures/-/regexpu-fixtures-2.1.1.tgz",
- "integrity": "sha1-qDaM8+3EfmIVORQi7qhkHDFsGo8=",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/regexpu-fixtures/-/regexpu-fixtures-2.1.2.tgz",
+ "integrity": "sha512-/0jKyZRbKSttruClC41O5C8Fmc0YpxE9xleyYPEkHG5/CYF8OvfRl11rYFaIYyqD3npQRn1tleAjG0yzB51XAQ==",
"dev": true
},
"regjsgen": {
diff --git a/package.json b/package.json
index 86c3628..322bfdf 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "regexpu-core",
- "version": "4.1.2",
+ "version": "4.1.3",
"description": "regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.",
"homepage": "https://mths.be/regexpu",
"main": "rewrite-pattern.js",
@@ -48,7 +48,7 @@
"cover": "istanbul cover --report html node_modules/.bin/_mocha tests -- -u exports -R spec"
},
"dependencies": {
- "regenerate": "^1.3.2",
+ "regenerate": "^1.3.3",
"regenerate-unicode-properties": "^5.1.1",
"regjsgen": "^0.3.0",
"regjsparser": "^0.2.1",
@@ -60,8 +60,8 @@
"istanbul": "^0.4.5",
"jsesc": "^2.5.1",
"lodash": "^4.17.4",
- "mocha": "^3.5.0",
- "regexpu-fixtures": "^2.1.1",
+ "mocha": "^3.5.3",
+ "regexpu-fixtures": "^2.1.2",
"unicode-10.0.0": "^0.7.4",
"unicode-tr51": "^9.0.0"
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-regexpu-core.git
More information about the Pkg-javascript-commits
mailing list