+1
-1
| { | ||
| "name": "hdl-js", | ||
| "version": "0.0.70", | ||
| "version": "0.0.71", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Hardware definition language (HDL) and Hardware simulator", |
+9
-6
@@ -43,2 +43,5 @@ # hdl-js | ||
| - [Memory chips](#memory-chips) | ||
| - [Interface chips](#interface-chips) | ||
| - [Screen](#screen) | ||
| - [Keyboard](#keyboard) | ||
| - [Clock](#clock) | ||
@@ -1439,3 +1442,3 @@ - [Clock events](#clock-events) | ||
| - [Screen](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Screen.js) | ||
| - [Screen](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Screen.js) (video memory) | ||
| - [Keyboard](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Keyboard.js) | ||
@@ -1445,3 +1448,3 @@ | ||
| The _Screen_ chip represents 256 x 512 video memory, implemented with 8K registers. The gate can manipulate individual pixels using `getPixelAt`, and `setPixelAt` methods. | ||
| The `Screen` chip represents 256 x 512 video memory, implemented with 8K registers. The gate can manipulate individual pixels using `getPixelAt`, and `setPixelAt` methods. | ||
@@ -1465,7 +1468,7 @@ ```js | ||
| The _Keyboard_ chip is special, and requires callers to implement the actual keyboard listener, depending on a system where the chip is used. Such caller listeners should call `Keyboard.emit('key', key)` even, and the key code is propagated to the output pin: | ||
| The `Keyboard` chip is special, and requires callers to implement the actual keyboard listener, depending on a system where the chip is used. Such caller listeners should call `Keyboard.emit('key', key)` event, and the key code is propagated to the output pin: | ||
| Example using from a browser environment: | ||
| ``` | ||
| ```js | ||
| ... | ||
@@ -1484,3 +1487,3 @@ | ||
| The `Keyboard` also provides default (blocking) `listen` method, which spawns Node's stdin keyboard input listening: | ||
| The `Keyboard` also provides default (blocking) `listen` method, which spawns Node's `stdin` keyboard listening: | ||
@@ -1500,3 +1503,3 @@ ```js | ||
| We can introspect keyboard events using `--describe` option of the Keyboard gate: | ||
| We can introspect keyboard events using `--describe` option of the `Keyboard` gate: | ||
@@ -1503,0 +1506,0 @@ ``` |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
393284
0.03%2147
0.14%