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

@applitools/socket

Package Overview
Dependencies
Maintainers
45
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.10 to 1.1.11

27

CHANGELOG.md
# Changelog
## [1.1.11](https://github.com/applitools/eyes.sdk.javascript1/compare/js/socket@1.1.10...js/socket@1.1.11) (2023-09-25)
### Code Refactoring
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
### Dependencies
* @applitools/utils bumped to 1.6.1
#### Bug Fixes
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
#### Code Refactoring
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
* @applitools/logger bumped to 2.0.11
#### Bug Fixes
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
## [1.1.10](https://github.com/applitools/eyes.sdk.javascript1/compare/js/socket@1.1.9...js/socket@1.1.10) (2023-09-04)

@@ -4,0 +31,0 @@

26

dist/transports/ws.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.transport = void 0;
const utils = __importStar(require("@applitools/utils"));
exports.transport = {

@@ -33,5 +57,5 @@ isReady(socket) {

deserialize(data) {
return JSON.parse(Buffer.from(data).toString());
return JSON.parse(utils.types.isString(data) ? data : new TextDecoder().decode(data));
},
};
exports.default = exports.transport;

6

package.json
{
"name": "@applitools/socket",
"version": "1.1.10",
"version": "1.1.11",
"description": "Applitools implementation for bidi-communication protocol",

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

"dependencies": {
"@applitools/logger": "2.0.10",
"@applitools/utils": "1.6.0"
"@applitools/logger": "2.0.11",
"@applitools/utils": "1.6.1"
},

@@ -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