@applitools/socket
Advanced tools
Comparing version 1.1.10 to 1.1.11
# 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 @@ |
"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; |
{ | ||
"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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45056
574
+ Added@applitools/logger@2.0.11(transitive)
+ Added@applitools/utils@1.6.1(transitive)
- Removed@applitools/logger@2.0.10(transitive)
- Removed@applitools/utils@1.6.0(transitive)
Updated@applitools/logger@2.0.11
Updated@applitools/utils@1.6.1