pinokiod 3.2.252 → 3.3.0

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.
@@ -94,7 +94,6 @@ class FS {
94
94
  }
95
95
 
96
96
  async share(req, ondata, kernel) {
97
-
98
97
  /////////////////////////////////////////////////////////////////////////////
99
98
  //
100
99
  // 1. peer to peer shared drive
@@ -160,10 +159,6 @@ class FS {
160
159
  //
161
160
  /////////////////////////////////////////////////////////////////////////////
162
161
 
163
-
164
-
165
-
166
-
167
162
  ondata({ raw: "\r\ncreating a shared drive:\r\n" + JSON.stringify(req.params, null, 2).replace(/\n/g, "\r\n") })
168
163
 
169
164
 
package/kernel/index.js CHANGED
@@ -89,7 +89,7 @@ class Kernel {
89
89
  }
90
90
  return Environment.get2(folderpath, this)
91
91
  }
92
- async userAgent(browser) {
92
+ userAgent(browser) {
93
93
  if (browser) {
94
94
  return randomUseragent.getRandom((ua) => {
95
95
  return ua.browserName === browser;
package/kernel/shell.js CHANGED
@@ -798,7 +798,6 @@ class Shell {
798
798
  async exec(params) {
799
799
  params = await this.activate(params)
800
800
  this.cmd = this.build(params)
801
- console.log("this.cmd", this.cmd)
802
801
  let res = await new Promise((resolve, reject) => {
803
802
  this.resolve = resolve
804
803
  this.reject = reject
package/kernel/shells.js CHANGED
@@ -27,7 +27,6 @@ class Shells {
27
27
  }
28
28
  */
29
29
  async init() {
30
- console.log("SHELLS>INIT")
31
30
  // iterate through all the envs
32
31
  let sh = new Shell(this.kernel)
33
32
  let m
@@ -60,10 +59,8 @@ class Shells {
60
59
  // if array, duplicate the action
61
60
  if (Array.isArray(params.message)) {
62
61
  let res
63
- console.log("params.message", params.message)
64
62
  for(let i=0; i<params.message.length; i++) {
65
63
  let message = params.message[i]
66
- console.log("Processing message", { message, i })
67
64
  let params_dup = Object.assign({}, params)
68
65
  params_dup.message = message
69
66
  res = await this._launch(params_dup, options, ondata)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.252",
3
+ "version": "3.3.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -332,7 +332,7 @@ hr {
332
332
  </div>
333
333
  <div class='item'>
334
334
  <label><i class="fa-solid fa-folder-open"></i> environment variables</label>
335
- <div class='d'>Reset the pinokio environment variables and start fresh from scratch</div>
335
+ <div class='d'>Reset the pinokio environment variables and start fresh from scratch (Resets the ~/pinokio/ENVIRONMENT file)</div>
336
336
  <div class='reset-env-loading hidden'>
337
337
  <i class="fa-solid fa-circle-notch fa-spin"></i> Stand by. Do not close this window..
338
338
  </div>