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

@goldfishjs/bridge

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldfishjs/bridge - npm Package Compare versions

Comparing version 2.21.1 to 2.22.0-alpha.0

8

CHANGELOG.md

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

# [2.22.0-alpha.0](https://github.com/alipay/goldfish/compare/v2.21.1...v2.22.0-alpha.0) (2022-11-08)
**Note:** Version bump only for package @goldfishjs/bridge
## [2.21.1](https://github.com/alipay/goldfish/compare/v2.21.1-alpha.0...v2.21.1) (2022-10-03)

@@ -8,0 +16,0 @@

12

lib/bridge.js
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
import _regeneratorRuntime from "@babel/runtime/regenerator";
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
export default {

@@ -27,3 +24,2 @@ // my.xxx

}));
case 1:

@@ -36,7 +32,5 @@ case "end":

}));
function call(_x, _x2) {
return _call.apply(this, arguments);
}
return call;

@@ -56,3 +50,2 @@ }(),

}));
case 1:

@@ -65,7 +58,5 @@ case "end":

}));
function mycall(_x3, _x4) {
return _mycall.apply(this, arguments);
}
return mycall;

@@ -92,3 +83,2 @@ }(),

}));
case 1:

@@ -101,9 +91,7 @@ case "end":

}));
function ap(_x5, _x6) {
return _ap.apply(this, arguments);
}
return ap;
}()
};
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import _regeneratorRuntime from "@babel/runtime/regenerator";
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function mockServer(host, api, params) {

@@ -22,3 +19,2 @@ return new Promise(function (resolve, reject) {

}
export default {

@@ -33,3 +29,2 @@ // my.xxx

return _context.abrupt("return", mockServer(host, api, params));
case 1:

@@ -42,7 +37,5 @@ case "end":

}));
function call(_x, _x2, _x3) {
return _call.apply(this, arguments);
}
return call;

@@ -58,3 +51,2 @@ }(),

return _context2.abrupt("return", mockServer(host, api, params));
case 1:

@@ -67,7 +59,5 @@ case "end":

}));
function mycall(_x4, _x5, _x6) {
return _mycall.apply(this, arguments);
}
return mycall;

@@ -83,3 +73,2 @@ }(),

return _context3.abrupt("return", mockServer(host, api, params));
case 1:

@@ -92,9 +81,7 @@ case "end":

}));
function ap(_x7, _x8, _x9) {
return _ap.apply(this, arguments);
}
return ap;
}()
};

4

package.json
{
"name": "@goldfishjs/bridge",
"version": "2.21.1",
"version": "2.22.0-alpha.0",
"description": "goldfish-bridge",

@@ -17,3 +17,3 @@ "main": "lib/index.js",

"dependencies": {
"@goldfishjs/module-usage": "^2.21.1",
"@goldfishjs/module-usage": "^2.22.0-alpha.0",
"mini-types": "^0.1.3"

@@ -20,0 +20,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