@naanlang/naan 1.0.10 → 1.0.11
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.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/bin/index.js +2 -2
- package/dist/env_web.js +8 -2
- package/dist/naan.min.js +5 -5
- package/frameworks/browser/sworker.js +17 -17
- package/frameworks/common/utils.nlg +77 -0
- package/frameworks/node/filesystem.nlg +1 -1
- package/frameworks/node/https_request.nlg +19 -2
- package/frameworks/node/node.nlg +1 -0
- package/frameworks/project/projects.nlg +4 -2
- package/frameworks/running/debugnub.nlg +4 -4
- package/frameworks/storage/file_manager.nlg +1 -1
- package/frameworks/storage/psm.nlg +3 -3
- package/lib/browser/env_web.js +14 -8
- package/lib/core/naanlib.js +5 -5
- package/lib/env_nodeworker.js +5 -0
- package/package.json +1 -1
- package/plugins/openSearch/openSearch.nlg +490 -0
- package/plugins/openSearch/os_dynamo.nlg +195 -0
- package/plugins/serviceAws/aws/aws-sdk-node.min.js +1 -1
- package/plugins/serviceAws/aws/aws-sdk.min.js +1 -1
- package/plugins/serviceAws/aws_cloudwatchlogs.nlg +3 -3
- package/plugins/serviceAws/aws_dynamo.nlg +14 -19
- package/plugins/serviceAws/aws_sqs.nlg +5 -1
- package/test/test_02_context.nlg +1 -1
- package/test/test_03_jsinterop.nlg +4 -1
- package/test/test_07_lingo.nlg +2 -1
package/LICENSE.md
CHANGED
package/README.md
CHANGED
package/bin/index.js
CHANGED
|
@@ -58,11 +58,11 @@ process.argv.every((val, index) => {
|
|
|
58
58
|
return (true);
|
|
59
59
|
}
|
|
60
60
|
if (val == "--version") {
|
|
61
|
-
console.log("1.0.
|
|
61
|
+
console.log("1.0.11");
|
|
62
62
|
process.exit(0);
|
|
63
63
|
}
|
|
64
64
|
if (val == "--buildno") {
|
|
65
|
-
console.log("1.0.
|
|
65
|
+
console.log("1.0.11+1");
|
|
66
66
|
process.exit(0);
|
|
67
67
|
}
|
|
68
68
|
if (val.substring(0,1) == "-") {
|
package/dist/env_web.js
CHANGED
|
@@ -356,6 +356,12 @@ exports.NaanControllerWeb = function() {
|
|
|
356
356
|
this.int = function int() {
|
|
357
357
|
contSelf.Interrupt();
|
|
358
358
|
};
|
|
359
|
+
//
|
|
360
|
+
// StateSave
|
|
361
|
+
//
|
|
362
|
+
this.StateSave = function StateSave() {
|
|
363
|
+
return (false);
|
|
364
|
+
};
|
|
359
365
|
}
|
|
360
366
|
|
|
361
367
|
//
|
|
@@ -564,8 +570,8 @@ exports.NaanControllerWeb = function() {
|
|
|
564
570
|
if ("localStorage" in window && window["localStorage"] !== null)
|
|
565
571
|
{
|
|
566
572
|
localStorage.removeItem("NaanState_Hosted");
|
|
567
|
-
|
|
568
|
-
|
|
573
|
+
localStorage.setItem("NaanState_Hosted", statestr);
|
|
574
|
+
return (true);
|
|
569
575
|
}
|
|
570
576
|
} catch(e) {
|
|
571
577
|
console.log("save state failed: " + "(" + e + ")");
|