nv-char-jsid2 1.0.4 → 1.0.6

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 +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -153,6 +153,7 @@ _GE170_LT65536_FOLLOW_ONLY_CPT_SET = null;
153
153
  _ASTRAL_FOLLOW_ONLY_CPT_SET = null;
154
154
 
155
155
 
156
+
156
157
  const is_jsid_cpts = (cpts) => {
157
158
  if(START_CPT_SET.has(cpts[0])) {
158
159
  } else {
@@ -304,7 +305,9 @@ const is_jsid_utf8buf = (u8a,si=0,ei=u8a.length) => {
304
305
 
305
306
  const _add_getter = (nm,v) => Object.defineProperty(module.exports,nm,{value:v,enumerable:!!0});
306
307
 
308
+ const maybe_jsid_cpt = (cpt)=> START_CPT_SET.has(cpt) || FOLLOW_CPT_SET.has(cpt);
307
309
  module.exports = {
310
+ maybe_jsid_cpt,
308
311
  is_jsid_cpts,
309
312
  is_jsid_cds,
310
313
  is_jsid_str,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nv-char-jsid2",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {