nv-char-jsid2 1.0.7 → 1.0.8
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.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -305,7 +305,7 @@ const is_jsid_utf8buf = (u8a,si=0,ei=u8a.length) => {
|
|
|
305
305
|
|
|
306
306
|
const _add_getter = (nm,v) => Object.defineProperty(module.exports,nm,{value:v,enumerable:!!0});
|
|
307
307
|
|
|
308
|
-
const maybe_jsid_cd = (cd) =>
|
|
308
|
+
const maybe_jsid_cd = (cd) => FOLLOW_CD_ARY[cd]!=-1;
|
|
309
309
|
const maybe_jsid_cpt = (cpt)=> FOLLOW_CPT_SET.has(cpt);
|
|
310
310
|
module.exports = {
|
|
311
311
|
maybe_jsid_cd,
|