puvox-library 1.0.21 → 1.0.23

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.
@@ -588,9 +588,7 @@ const puvox_library =
588
588
 
589
589
  argvsString(){ return process.argv[2]; },
590
590
  argvsArray(){ return process.argv.slice(2); },
591
- argvs(){ return this.argvsArray();},
592
-
593
- argv(which, def = undefined){
591
+ argvs(){
594
592
  let argvs= this.argvsArray();
595
593
  let KeyValues= {};
596
594
  for (let i=0; i<argvs.length; i++){
@@ -617,6 +615,10 @@ const puvox_library =
617
615
  KeyValues = Object.assign (KeyValues, pair);
618
616
  }
619
617
  }
618
+ return KeyValues;
619
+ },
620
+ argv(which, def = undefined){
621
+ let KeyValues= this.argvs();
620
622
  return (which in KeyValues ? KeyValues[which] : def);
621
623
  },
622
624
  argvIsSet(which){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puvox-library",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "library-class-javascript",
5
5
  "main": "library_standard.js",
6
6
  "scripts": {