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

@enact/webos

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enact/webos - npm Package Compare versions

Comparing version 4.7.4 to 4.7.5

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## [4.7.5] - 2023-09-12
No significant changes.
## [4.7.4] - 2023-08-31

@@ -7,0 +11,0 @@

15

LS2Request/LS2Request.js

@@ -89,2 +89,3 @@ "use strict";

value: function send(_ref4) {
var _window$WebOSServiceB;
var _ref4$service = _ref4.service,

@@ -108,2 +109,3 @@ service = _ref4$service === void 0 ? '' : _ref4$service,

timeout = _ref4$timeout === void 0 ? 0 : _ref4$timeout;
var WebOSServiceBridge = typeof window === 'object' ? (_window$WebOSServiceB = window.WebOSServiceBridge) !== null && _window$WebOSServiceB !== void 0 ? _window$WebOSServiceB : window.PalmServiceBridge : null;
this.cancelled = false;

@@ -113,7 +115,8 @@ if (!onFailure && !onComplete) {

}
if (typeof window !== 'object' || !window.PalmServiceBridge) {
if (typeof WebOSServiceBridge !== 'function') {
var errorText = 'WebOSServiceBridge not found.';
/* eslint no-unused-expressions: ["error", { "allowShortCircuit": true }]*/
if (onFailure) onFailure({
errorCode: -1,
errorText: 'PalmServiceBridge not found.',
errorText: errorText,
returnValue: false

@@ -123,6 +126,6 @@ });

errorCode: -1,
errorText: 'PalmServiceBridge not found.',
errorText: errorText,
returnValue: false
});
console.error('PalmServiceBridge not found.');
console.error(errorText);
return;

@@ -142,5 +145,3 @@ }

refs[this.ts] = this;
// eslint-disable-next-line no-undef
this.bridge = new PalmServiceBridge();
this.bridge = new WebOSServiceBridge();
this.bridge.onservicecallback = this.callback.bind(this, onSuccess, onFailure, onComplete);

@@ -147,0 +148,0 @@ if (timeout) {

{
"name": "@enact/webos",
"version": "4.7.4",
"version": "4.7.5",
"description": "webOS support library",

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

"dependencies": {
"@enact/core": "^4.7.4",
"@enact/core": "^4.7.5",
"prop-types": "^15.8.1",

@@ -37,0 +37,0 @@ "react": "^18.2.0",

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