@yannosay/sinth 0.6.0 → 0.7.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.
- package/LICENSE +659 -659
- package/README.md +5 -1
- package/bin/sinth.js +4 -4
- package/package.json +3 -2
- package/src/sinth.ts +243 -83
- package/tsconfig.json +22 -22
package/README.md
CHANGED
|
@@ -87,9 +87,13 @@ Main {
|
|
|
87
87
|
- Self-contained HTML
|
|
88
88
|
- \+ more!
|
|
89
89
|
|
|
90
|
-
###### Nothing you like? Give
|
|
90
|
+
###### Nothing you like? Give us feedback on our [Discord Server](https://discord.gg/SUvcrafTQm)!
|
|
91
91
|
|
|
92
|
+
## Security
|
|
92
93
|
|
|
94
|
+
Sinth's reactive runtime does not use eval(). Every expression is pre-compiled into optimized JavaScript functions at build time. No code injection possible. No runtime string evaluation. The most secure way to power reactive UI.
|
|
95
|
+
|
|
96
|
+
###### Don't trust? -> Ctrl+F "eval(" returns nothing!
|
|
93
97
|
|
|
94
98
|
## Commands
|
|
95
99
|
|
package/bin/sinth.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const tsSource = path.join(__dirname, '..', 'src', 'sinth.ts');
|
|
4
|
-
require('ts-node').register({ project: path.join(__dirname, '..', 'tsconfig.json') });
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const tsSource = path.join(__dirname, '..', 'src', 'sinth.ts');
|
|
4
|
+
require('ts-node').register({ project: path.join(__dirname, '..', 'tsconfig.json') });
|
|
5
5
|
require(tsSource);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yannosay/sinth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "A declarative language that compiles to pure HTML, CSS, and JavaScript.",
|
|
5
5
|
"author": "Yannosay Productions",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"declarative",
|
|
18
18
|
"web",
|
|
19
19
|
"components",
|
|
20
|
-
"scss"
|
|
20
|
+
"scss",
|
|
21
|
+
"reactive"
|
|
21
22
|
],
|
|
22
23
|
"bin": {
|
|
23
24
|
"sinth": "bin/sinth.js"
|