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 1.4.8 to 1.4.9

8

client/chemical.js

@@ -218,7 +218,7 @@ window.chemicalLoaded = false;

let wispURL = document.currentScript.getAttribute("wisp");
let transport = document.currentScript.getAttribute("transport");
let wispURL = document.currentScript.dataset.wisp;
let transport = document.currentScript.dataset.transport;
async function chemicalTransport(transport, wisp) {
await connection.setTransport(getTransport(transport) || "/libcurl/index.mjs", [{ wisp: wisp || (location.protocol === "https:" ? "wss" : "ws") + "://" + location.host + "/wisp/" }]);
async function chemicalTransport(newTransport = transport, wisp = wispURL) {
await connection.setTransport(getTransport(newTransport) || "/libcurl/index.mjs", [{ wisp: wisp || (location.protocol === "https:" ? "wss" : "ws") + "://" + location.host + "/wisp/" }]);
}

@@ -225,0 +225,0 @@

@@ -21,5 +21,5 @@ {

"dependencies": {
"chemicaljs": "^1.4.7",
"chemicaljs": "^1.4.8",
"express": "^4.19.2"
}
}

@@ -21,5 +21,5 @@ {

"dependencies": {
"chemicaljs": "^1.4.7",
"chemicaljs": "^1.4.8",
"express": "^4.19.2"
}
}

@@ -11,3 +11,3 @@ {

"dependencies": {
"chemicaljs": "^1.4.7",
"chemicaljs": "^1.4.8",
"express": "^4.19.2",

@@ -14,0 +14,0 @@ "preact": "^10.22.1"

@@ -21,5 +21,5 @@ {

"dependencies": {
"chemicaljs": "^1.4.7",
"chemicaljs": "^1.4.8",
"express": "^4.19.2"
}
}
{
"name": "chemicaljs",
"version": "1.4.8",
"version": "1.4.9",
"description": "Easily create your own web proxy with no experience required.",

@@ -18,3 +18,3 @@ "repository": {

"@mercuryworkshop/scramjet": "^1.0.2",
"@mercuryworkshop/wisp-js": "^0.1.0",
"@mercuryworkshop/wisp-js": "^0.1.1",
"@titaniumnetwork-dev/ultraviolet": "^3.2.4",

@@ -21,0 +21,0 @@ "express": "^4.19.2",

@@ -12,3 +12,3 @@ # Chemical

A real word styled example can be found in [`/example-styled/`](https://github.com/chemicaljs/chemical/tree/main/examples/example-styled).
A real world styled example can be found in [`/example-styled/`](https://github.com/chemicaljs/chemical/tree/main/examples/example-styled).

@@ -42,2 +42,4 @@ ### Server

`hostname_whitelist` overrides `hostname_blacklist` if you try to set them both.
3. Use `chemical.app` which is an express app. You may need to import express for certain APIs.

@@ -89,3 +91,3 @@

```html
<script wisp="wss://wisp.mercurywork.shop/" src="/chemical.js"></script>
<script data-wisp="wss://wisp.mercurywork.shop/" src="/chemical.js"></script>
```

@@ -96,3 +98,3 @@

```html
<script transport="epoxy" src="/chemical.js"></script>
<script data-transport="epoxy" src="/chemical.js"></script>
```

@@ -182,4 +184,2 @@

`hostname_whitelist` overrides `hostname_blacklist` if you try to set them both.
## Components

@@ -186,0 +186,0 @@ Setup a proxy site with easy HTML components.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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