@naanlang/naan 1.1.0 → 1.2.1
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 +12 -10
- package/bin/index.js +2 -2
- package/dist/naan.min.js +13 -13
- package/frameworks/browser/https_request.nlg +4 -2
- package/frameworks/browser/sworker.js +23 -23
- package/frameworks/browser/terminals.nlg +77 -45
- package/frameworks/browser/ws_client.nlg +6 -2
- package/frameworks/client/apiclient.nlg +80 -115
- package/frameworks/client/psm_client.nlg +39 -18
- package/frameworks/client/relaycon.nlg +2 -0
- package/frameworks/common/common.nlg +10 -4
- package/frameworks/node/https_request.nlg +2 -1
- package/frameworks/node/psm_server.nlg +2 -2
- package/frameworks/node/ws_client.nlg +7 -2
- package/frameworks/project/build.nlg +12 -11
- package/frameworks/project/projects.nlg +7 -5
- package/frameworks/running/executors.nlg +131 -38
- package/frameworks/running/taskexec.nlg +3 -2
- package/frameworks/storage/psm.nlg +2 -1
- package/frameworks/storage/psm_dbtables.nlg +23 -13
- package/lib/browser/env_web.js +6 -6
- package/lib/core/naanlib.js +13 -13
- package/package.json +1 -1
- package/plugins/serviceAws/aws_dynamo.nlg +91 -32
- package/plugins/serviceAws/dbt_aws.nlg +4 -4
- package/test/harness.nlg +1 -1
- package/test/test_02_context.nlg +1 -1
- package/test/test_03_jsinterop.nlg +2 -2
- package/test/test_05_strings.nlg +7 -4
- package/test/test_07_lingo.nlg +3 -0
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Naan is an async-first software platform for rapid development.
|
|
5
5
|
|
|
6
6
|
#### Release:
|
|
7
|
-
**Naan for NPM** version **1.1
|
|
7
|
+
**Naan for NPM** version **1.2.1+1**
|
|
8
8
|
Copyright (c) 2017-2024 Zulch Laboratories, Inc.
|
|
9
9
|
|
|
10
10
|
#### Features
|
|
@@ -37,7 +37,7 @@ For use as a library in the current project:
|
|
|
37
37
|
|
|
38
38
|
naan [options] [source file] [arguments]
|
|
39
39
|
|
|
40
|
-
With no arguments Naan runs as an interactive REPL using the node.js terminal.
|
|
40
|
+
With no arguments Naan runs as an interactive REPL using the node.js terminal.
|
|
41
41
|
It can also evaluate an expression or execute a source file.
|
|
42
42
|
|
|
43
43
|
##### Command line usage
|
|
@@ -65,7 +65,7 @@ Define a function, call it, and return the length of the base-10 result. First r
|
|
|
65
65
|
Fetch your public IP from a website (NodeJS version 18 or later):
|
|
66
66
|
|
|
67
67
|
```
|
|
68
|
-
% naan -e "new(await(await(js.g.fetch('
|
|
68
|
+
% naan -e "new(await(await((js.g||js.w).fetch('https://api.ipify.org/?format=json')).1.json()).1)"
|
|
69
69
|
{ ip: "64.205.147.202" }
|
|
70
70
|
```
|
|
71
71
|
|
|
@@ -84,12 +84,14 @@ Now make it executable with chmod:
|
|
|
84
84
|
|
|
85
85
|
#### For More Information
|
|
86
86
|
|
|
87
|
-
[
|
|
87
|
+
[www.naanlang.org](https://www.naanlang.org) has tutorials, explanations, and how-to articles.
|
|
88
|
+
The [NaanIDE](https://www.npmjs.com/package/@naanlang/naanide) installation includes reference documentation.
|
|
89
|
+
Please email [Richard Zulch](mailto:naanlang@zulchlabs.com) with questions and comments.
|
|
88
90
|
|
|
89
91
|
#### Dependencies:
|
|
90
|
-
We gratefully acknowledge these software packages used with Naan:
|
|
91
|
-
- [jszip.js](http://stuartk.com/jszip) - read and write zip files
|
|
92
|
-
- [NodeJS-path](https://nodejs.org/) - NodeJS path utilities
|
|
93
|
-
- [PouchDB](https://pouchdb.com/) - synchronizing database
|
|
94
|
-
- [SparkMD5](https://github.com/satazor/js-spark-md5) - browser MD5 library
|
|
95
|
-
- [UglifyJS](https://github.com/mishoo/UglifyJS) - JavaScript code minifier
|
|
92
|
+
We gratefully acknowledge these software packages used with Naan:
|
|
93
|
+
- [jszip.js](http://stuartk.com/jszip) - read and write zip files
|
|
94
|
+
- [NodeJS-path](https://nodejs.org/) - NodeJS path utilities
|
|
95
|
+
- [PouchDB](https://pouchdb.com/) - synchronizing database
|
|
96
|
+
- [SparkMD5](https://github.com/satazor/js-spark-md5) - browser MD5 library
|
|
97
|
+
- [UglifyJS](https://github.com/mishoo/UglifyJS) - JavaScript code minifier
|
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.1
|
|
61
|
+
console.log("1.2.1");
|
|
62
62
|
process.exit(0);
|
|
63
63
|
}
|
|
64
64
|
if (val == "--buildno") {
|
|
65
|
-
console.log("1.1
|
|
65
|
+
console.log("1.2.1+1");
|
|
66
66
|
process.exit(0);
|
|
67
67
|
}
|
|
68
68
|
if (val.substring(0,1) == "-") {
|