Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

restringer

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restringer - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

8

package.json
{
"name": "restringer",
"version": "1.9.0",
"version": "1.9.1",
"description": "Deobfuscate Javascript with emphasis on reconstructing strings",

@@ -14,6 +14,6 @@ "main": "index.js",

"dependencies": {
"flast": "^1.5.0",
"isolated-vm": "^4.5.0",
"flast": "^1.5.2",
"isolated-vm": "^4.6.0",
"jsdom": "^22.1.0",
"obfuscation-detector": "^1.1.4"
"obfuscation-detector": "^1.1.6"
},

@@ -20,0 +20,0 @@ "scripts": {

@@ -85,3 +85,3 @@ # Restringer

Unsafe modules run code through `eval` (using [vm2](https://www.npmjs.com/package/vm2) to be on the safe side) while safe modules do not.
Unsafe modules run code through `eval` (using [isolated-vm](https://www.npmjs.com/package/isolated-vm) to be on the safe side) while safe modules do not.

@@ -91,4 +91,5 @@ ```javascript

safe: {normalizeComputed},
unsafe: {resolveDefiniteBinaryExpressions, resolveLocalCalls}
} = require('restringer').modules;
unsafe: {resolveDefiniteBinaryExpressions, resolveLocalCalls},
utils: {runLoop}
} = require('restringer').deobModules;
let script = 'obfuscated JS here';

@@ -106,3 +107,6 @@ const deobModules = [

```javascript
const {unsafe: {resolveLocalCalls}} = require('restringer').modules;
const {
unsafe: {resolveLocalCalls},
utils: {runLoop}
} = require('restringer').deobModules;
let script = 'obfuscated JS here';

@@ -109,0 +113,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc