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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. 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) => FOLLOW_CD_SET.has(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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nv-char-jsid2",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {