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

chemicaljs

Package Overview
Dependencies
Maintainers
0
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chemicaljs - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

client/chemical.demo.html

5

client/chemical.js

@@ -5,2 +5,3 @@ const currentScript = document.currentScript;

loaded: false,
demoMode,
transport:

@@ -268,2 +269,6 @@ currentScript.dataset.transportStore !== undefined

if (demoMode) {
return "/chemical.demo.html";
}
if (url.match(/^https?:\/\//)) {

@@ -270,0 +275,0 @@ return await encodeService(url, config.service);

@@ -58,2 +58,6 @@ import { resolve, dirname } from "node:path";

if (options.demoMode === undefined) {
options.demoMode = false;
}
this.options = options;

@@ -139,2 +143,7 @@ this.server = createServer();

chemicalMain;
chemicalMain =
"const demoMode = " +
String(this.options.demoMode) +
";\n" +
chemicalMain;

@@ -254,2 +263,6 @@ chemicalMain = "(async () => {\n" + chemicalMain + "\n})();";

if (options.demoMode === undefined) {
options.demoMode = false;
}
const rh = createRammerhead();

@@ -325,2 +338,4 @@ const rammerheadScopes = [

chemicalMain;
chemicalMain =
"const demoMode = " + String(options.demoMode) + ";\n" + chemicalMain;

@@ -457,2 +472,6 @@ chemicalMain = "(async () => {\n" + chemicalMain + "\n})();";

if (options.demoMode === undefined) {
options.demoMode = false;
}
this.options = options;

@@ -510,2 +529,7 @@ }

chemicalMain;
chemicalMain =
"const demoMode = " +
String(this.options.demoMode) +
";\n" +
chemicalMain;

@@ -512,0 +536,0 @@ chemicalMain = "(async () => {\n" + chemicalMain + "\n})();";

10

package.json
{
"name": "chemicaljs",
"version": "2.1.1",
"version": "2.2.0",
"description": "Easily create your own web proxy with no experience required.",

@@ -17,8 +17,8 @@ "repository": {

"dependencies": {
"@mercuryworkshop/bare-mux": "^2.1.2",
"@mercuryworkshop/epoxy-transport": "^2.1.17",
"@mercuryworkshop/libcurl-transport": "^1.3.10",
"@mercuryworkshop/bare-mux": "^2.1.6",
"@mercuryworkshop/epoxy-transport": "^2.1.25",
"@mercuryworkshop/libcurl-transport": "^1.3.12",
"@mercuryworkshop/scramjet": "^1.0.2",
"@mercuryworkshop/wisp-js": "^0.3.2",
"@titaniumnetwork-dev/ultraviolet": "^3.2.7",
"@titaniumnetwork-dev/ultraviolet": "^3.2.10",
"express": "^4.21.1",

@@ -25,0 +25,0 @@ "meteorproxy": "^1.0.6-patch.1",

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