Skip to content
Snippets Groups Projects
Commit d119d928 authored by Julien Puydt's avatar Julien Puydt
Browse files

Use unicode-12.1.0 instead of unicode-12.0.0 (Closes: #934496)

parent d5bad653
No related branches found
No related tags found
No related merge requests found
node-regexpu-core (4.5.4+ds-2) UNRELEASED; urgency=medium
* Use unicode-12.1.0 instead of unicode-12.0.0 (Closes: #934496).
-- Julien Puydt <jpuydt@debian.org> Sun, 11 Aug 2019 21:24:09 +0200
node-regexpu-core (4.5.4+ds-1) unstable; urgency=medium
* New upstream release.
......
......@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 11),
node-jsesc (>= 2.5.1),
node-lodash (>= 4.17.4),
node-regenerate (>= 1.4.0),
node-unicode-12.0.0,
node-unicode-12.1.0,
nodejs (>= 6)
Standards-Version: 4.3.0
Homepage: https://mths.be/regexpu
......
unicode-12.1.0.patch
Author: Julien Puydt
Description: use unicode-12.1.0 since that's what we have now
Forwarded: no
--- node-regexpu-core.orig/scripts/character-class-escape-sets.js
+++ node-regexpu-core/scripts/character-class-escape-sets.js
@@ -4,7 +4,7 @@
const jsesc = require('jsesc');
const regenerate = require('regenerate');
-const Zs = require('unicode-12.0.0/General_Category/Space_Separator/code-points.js');
+const Zs = require('unicode-12.1.0/General_Category/Space_Separator/code-points.js');
const iuMappings = require('../data/iu-mappings.js');
--- node-regexpu-core.orig/scripts/iu-mappings.js
+++ node-regexpu-core/scripts/iu-mappings.js
@@ -81,8 +81,8 @@
// A. To do a simple case folding, use the mappings with status C + S.
// B. To do a full case folding, use the mappings with status C + F.
-const commonMappings = require('unicode-12.0.0/Case_Folding/C/code-points.js');
-const simpleMappings = require('unicode-12.0.0/Case_Folding/S/code-points.js');
+const commonMappings = require('unicode-12.1.0/Case_Folding/C/code-points.js');
+const simpleMappings = require('unicode-12.1.0/Case_Folding/S/code-points.js');
// We want the `C` mappings in both directions (i.e. `A` should fold to `a`
// and `a` to `A`), and the `S` mappings in both directions (i.e. `ẞ` should
--- node-regexpu-core.orig/tests/tests.js
+++ node-regexpu-core/tests/tests.js
@@ -496,7 +496,7 @@
];
const getPropertyValuePattern = (path) => {
- const codePoints = require(`unicode-12.0.0/${
+ const codePoints = require(`unicode-12.1.0/${
path }/code-points.js`);
return {
'p': regenerate(codePoints).toString(),
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment