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

@goldfishjs/plugins

Package Overview
Dependencies
Maintainers
2
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldfishjs/plugins - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

4

lib/Plugin.js

@@ -61,4 +61,4 @@ import _observable from "@goldfishjs/reactive-connect/lib/decorators/observable";

_createClass(Plugin, [{
key: "waitForEverythingReady",
value: function waitForEverythingReady() {
key: "waitForReady",
value: function waitForReady() {
return __awaiter(this, void 0, void 0,

@@ -65,0 +65,0 @@ /*#__PURE__*/

@@ -89,3 +89,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

_context2.next = 2;
return this.waitForEverythingReady();
return this.waitForReady();

@@ -92,0 +92,0 @@ case 2:

{
"name": "@goldfishjs/plugins",
"version": "0.0.10",
"version": "0.0.11",
"description": "goldfish-plugins",

@@ -19,8 +19,8 @@ "main": "lib/index.js",

"dependencies": {
"@goldfishjs/bridge": "^0.0.10",
"@goldfishjs/reactive": "^0.0.10",
"@goldfishjs/reactive-connect": "^0.0.10",
"@goldfishjs/requester": "^0.0.10",
"@goldfishjs/route": "^0.0.10",
"@goldfishjs/utils": "^0.0.10",
"@goldfishjs/bridge": "^0.0.11",
"@goldfishjs/reactive": "^0.0.11",
"@goldfishjs/reactive-connect": "^0.0.11",
"@goldfishjs/requester": "^0.0.11",
"@goldfishjs/route": "^0.0.11",
"@goldfishjs/utils": "^0.0.11",
"mini-types": "^0.0.4"

@@ -27,0 +27,0 @@ },

@@ -18,3 +18,3 @@ import { watch } from '@goldfishjs/reactive';

public async waitForEverythingReady() {
public async waitForReady() {
return new Promise((resolve) => {

@@ -21,0 +21,0 @@ const stop = watch(

@@ -21,3 +21,3 @@ import Plugin, { GetPlugin } from './Plugin';

) {
await this.waitForEverythingReady();
await this.waitForReady();
if (!this.requester) {

@@ -24,0 +24,0 @@ throw new Error('The requester is not ready.');

@@ -9,5 +9,5 @@ export declare type PluginClass<P extends Plugin = Plugin> = {

isInitCompleted: boolean;
waitForEverythingReady(): Promise<unknown>;
waitForReady(): Promise<unknown>;
abstract init(getPlugin: GetPlugin): Promise<void>;
abstract destroy(): void;
}
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