re2js 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * re2js
3
3
  * RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
4
4
  *
5
- * @version v1.3.2
5
+ * @version v1.3.3
6
6
  * @author Alexey Vasiliev
7
7
  * @homepage https://github.com/le0pard/re2js#readme
8
8
  * @repository github:le0pard/re2js
@@ -1132,7 +1132,7 @@ class Matcher {
1132
1132
  }
1133
1133
  return str.split('').map(s => {
1134
1134
  const c = s.codePointAt(0);
1135
- if (c === Codepoint.CODES['\\'] || c === Codepoint.CODES['$']) {
1135
+ if (c === Codepoint.CODES.get('\\') || c === Codepoint.CODES.get('$')) {
1136
1136
  return `\\${s}`;
1137
1137
  }
1138
1138
  return s;