@naanlang/naan 1.0.5 → 1.0.7
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 +9 -2
- package/dist/naan.min.js +5 -5
- package/frameworks/browser/browser.nlg +67 -2
- package/frameworks/browser/https_request.nlg +2 -2
- package/frameworks/browser/sworker.js +17 -17
- package/frameworks/browser/terminals.nlg +14 -12
- package/frameworks/browser/workers.nlg +6 -6
- package/frameworks/client/apiclient.nlg +1 -1
- package/frameworks/client/psm_client.nlg +12 -4
- package/frameworks/common/common.nlg +18 -7
- package/frameworks/node/apiserver.nlg +2 -2
- package/frameworks/node/filesystem.nlg +32 -15
- package/frameworks/node/psm_server.nlg +11 -2
- package/frameworks/project/build.nlg +25 -15
- package/frameworks/project/projects.nlg +61 -21
- package/frameworks/running/executors.nlg +0 -1
- package/frameworks/running/running.nlg +1 -1
- package/frameworks/running/taskexec.nlg +1 -1
- package/frameworks/storage/file_manager.nlg +2 -1
- package/frameworks/storage/psm_dbtables.nlg +13 -3
- package/lib/browser/env_web.js +13 -6
- package/lib/browser/env_webworker.js +10 -0
- package/lib/core/naanlib.js +5 -5
- package/package.json +2 -1
- package/plugins/serviceAws/aws_dynamo.nlg +19 -7
- package/plugins/serviceAws/aws_dynextra.nlg +48 -28
- package/plugins/serviceAws/aws_s3.nlg +74 -28
- package/plugins/serviceAws/dbt_aws.nlg +73 -24
- package/plugins/serviceAws/psm_aws.nlg +30 -11
- package/plugins/serviceAws/serviceAws.nlg +2 -4
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.7");
|
|
62
62
|
process.exit(0);
|
|
63
63
|
}
|
|
64
64
|
if (val == "--buildno") {
|
|
65
|
-
console.log("1.0.
|
|
65
|
+
console.log("1.0.7+2");
|
|
66
66
|
process.exit(0);
|
|
67
67
|
}
|
|
68
68
|
if (val.substring(0,1) == "-") {
|
package/dist/env_web.js
CHANGED
|
@@ -309,8 +309,11 @@ exports.NaanControllerWeb = function() {
|
|
|
309
309
|
//
|
|
310
310
|
|
|
311
311
|
this.VsiteRefresh = function VsiteRefresh(url_origin) {
|
|
312
|
-
if (window.location.href.startsWith(url_origin))
|
|
312
|
+
if (vsiteName && window.location.href.startsWith(url_origin)) {
|
|
313
313
|
window.location.reload(); // we have changed underneath
|
|
314
|
+
return (true);
|
|
315
|
+
}
|
|
316
|
+
return (false);
|
|
314
317
|
};
|
|
315
318
|
|
|
316
319
|
|
|
@@ -543,6 +546,7 @@ exports.NaanControllerWeb = function() {
|
|
|
543
546
|
naancont: contSelf,
|
|
544
547
|
title: vsiteName + " $Version$"
|
|
545
548
|
});
|
|
549
|
+
vsiteName = false; // window is going away
|
|
546
550
|
termTextOut("\x1b[90m\x1b[3m".concat("\nwindow closed", "\x1b[0m\n"));
|
|
547
551
|
}
|
|
548
552
|
}
|
|
@@ -553,7 +557,10 @@ exports.NaanControllerWeb = function() {
|
|
|
553
557
|
naanlib.banner();
|
|
554
558
|
var hostpath = naanlib.js.r("path").dirname(window.location.href);
|
|
555
559
|
naanlib.start({
|
|
556
|
-
cmd: '
|
|
560
|
+
cmd: 'App.version = "$Version$";;\r\n'
|
|
561
|
+
+ 'App.cache = "$CacheBuster$";;\r\n'
|
|
562
|
+
+ 'Naan.module.requireQuery({ naanver: App.cache });;\r\n'
|
|
563
|
+
+ 'Naan.module.webparse("naan_init.nlg", "' + hostpath + '", { naanver: App.cache });;\r\n'
|
|
557
564
|
});
|
|
558
565
|
} else {
|
|
559
566
|
if (!replstate) { // saved state but never opened a terminal
|