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
@@ -1134,7 +1134,7 @@ class Matcher {
1134
1134
  }
1135
1135
  return str.split('').map(s => {
1136
1136
  const c = s.codePointAt(0);
1137
- if (c === Codepoint.CODES['\\'] || c === Codepoint.CODES['$']) {
1137
+ if (c === Codepoint.CODES.get('\\') || c === Codepoint.CODES.get('$')) {
1138
1138
  return `\\${s}`;
1139
1139
  }
1140
1140
  return s;