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

@applitools/socket

Package Overview
Dependencies
Maintainers
46
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/socket - npm Package Compare versions

Comparing version 1.1.11 to 1.1.12

22

CHANGELOG.md
# Changelog
## [1.1.12](https://github.com/applitools/eyes.sdk.javascript1/compare/js/socket@1.1.11...js/socket@1.1.12) (2023-10-17)
### Code Refactoring
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
### Dependencies
* @applitools/utils bumped to 1.6.2
#### Code Refactoring
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
* @applitools/logger bumped to 2.0.12
#### Code Refactoring
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
## [1.1.11](https://github.com/applitools/eyes.sdk.javascript1/compare/js/socket@1.1.10...js/socket@1.1.11) (2023-09-25)

@@ -4,0 +26,0 @@

11

dist/transports/ipc.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transport = void 0;
const buffer_1 = require("buffer");
exports.transport = {

@@ -29,14 +30,14 @@ isReady(socket) {

serialize(data) {
const header = Buffer.allocUnsafe(4);
const buffer = Buffer.from(JSON.stringify(data));
const header = buffer_1.Buffer.allocUnsafe(4);
const buffer = buffer_1.Buffer.from(JSON.stringify(data));
header.writeUint32BE(buffer.byteLength);
const format = Buffer.concat([header, buffer]);
const format = buffer_1.Buffer.concat([header, buffer]);
return format;
},
deserialize(data) {
return JSON.parse(Buffer.from(data).toString());
return JSON.parse(buffer_1.Buffer.from(data).toString());
},
};
function splitMessages(data) {
const buffer = Buffer.from(data);
const buffer = buffer_1.Buffer.from(data);
const messages = [];

@@ -43,0 +44,0 @@ let offset = 0;

{
"name": "@applitools/socket",
"version": "1.1.11",
"version": "1.1.12",
"description": "Applitools implementation for bidi-communication protocol",

@@ -45,4 +45,4 @@ "keywords": [

"dependencies": {
"@applitools/logger": "2.0.11",
"@applitools/utils": "1.6.1"
"@applitools/logger": "2.0.12",
"@applitools/utils": "1.6.2"
},

@@ -49,0 +49,0 @@ "devDependencies": {

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