node-nk-base
Advanced tools
Comparing version 1.0.5 to 1.0.6
14
index.js
@@ -158,3 +158,3 @@ function NKB(basefile) { | ||
if(wb(`${bt.substring(0, ss)}${section}${bt.substring(ss+section.length+2, ps)}${id}${bt.substring(ps+String(id).length+4, vs+1)}${variable}=${t}${value}${bt.substring(ve+2, pe)}${bt.substring(se, bt.length)}`)) return true; else return null; | ||
if(wb(`${bt.substring(0, ss)}${section}${bt.substring(ss+section.length+2, vs+1)}${variable}=${t}${value}${bt.substring(ve+2, bt.length)}`)) return true; else return null; | ||
@@ -188,4 +188,4 @@ } | ||
if(set(section, id, variable, Number(v.substring(2, v.length)) + Number(value))) return true; else return null; | ||
if(wb(`${bt.substring(0, ss)}${section}${bt.substring(ss+section.length+2, vs+1)}${variable}=${t}${Number(v.substring(2, v.length)) + value}${bt.substring(ve+2, bt.length)}`)) return true; else return null; | ||
} | ||
@@ -219,4 +219,4 @@ | ||
if(set(section, id, variable, v.substring(2, v.length) + String(value))) return true; else return null; | ||
if(wb(`${bt.substring(0, ss)}${section}${bt.substring(ss+section.length+2, vs+1)}${variable}=${t}${v.substring(2, v.length) + value}${bt.substring(ve+2, bt.length)}`)) return true; else return null; | ||
} | ||
@@ -336,3 +336,3 @@ | ||
add(section, id, variable, value); | ||
return add(section, id, variable, value); | ||
@@ -360,3 +360,3 @@ } | ||
append(section, id, variable, value); | ||
return append(section, id, variable, value); | ||
@@ -363,0 +363,0 @@ } |
{ | ||
"name": "node-nk-base", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "database for nodejs by NK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24356
0