@splitscript.js/core
Advanced tools
Comparing version
@@ -0,1 +1,9 @@ | ||
# 2.3.5 | ||
Add more documentation comments | ||
# 2.3.4 | ||
Add more documentation comments | ||
# 2.3.3 | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "@splitscript.js/core", | ||
"version": "2.3.3", | ||
"version": "2.3.5", | ||
"description": "Core SplitScript.js library", | ||
@@ -5,0 +5,0 @@ "types": "./dist/types/index.d.ts", |
@@ -50,19 +50,2 @@ <a href="#"> | ||
## Catching Errors | ||
You can use the `handleError` for catching all listeners that fail | ||
```ts | ||
import { handleError } from '@splitscript.js/core' | ||
handleError((data, err) => { | ||
console.log('Error: ', err) | ||
}) | ||
// You can add multiple error handlers | ||
handleError((data, err) => { | ||
console.log('This also handles the same error: ', err) | ||
}) | ||
``` | ||
⚠ Make sure you put `handleError()` before any other code so it can handle all errors | ||
## Other packages | ||
@@ -74,4 +57,4 @@ | ||
<sub><code>v2.3.3</code> | by [ultraviolet](https://github.com/ultravioletasdf)</sub> | ||
<sub><code>v2.2.2</code> | by [ultraviolet](https://github.com/ultravioletasdf)</sub> | ||
</div> |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
0
-100%6317
-89.02%4
-80.95%0
-100%59
-22.37%2
100%