New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fib-app

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fib-app - npm Package Compare versions

Comparing version 1.13.39 to 1.13.40

3

@types/app.d.ts

@@ -404,3 +404,4 @@ /// <reference types="@fibjs/types" />

opts?: {
session?: FibApp.FibAppSession
sessionid?: FibApp.FibAppHttpRequest['sessionid']
session?: FibApp.FibAppHttpRequest['session']// FibApp.FibAppSession
}

@@ -407,0 +408,0 @@ ): TS | FibRpc.FibRpcError<TERR>

v1.13.39 / 2019-07-29
v1.13.40 / 2019-07-30
==================
* feat: tuning, allow pass `session` to options of `app.rpcCall`.
* upgrade fib-rpc & @fibjs/ci
v1.13.39 / 2019-07-29
=====================
* Release v1.13.39
* bugfix: little fix about testkits.http-server

@@ -6,0 +13,0 @@

@@ -78,2 +78,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

request.session = checkout_acl_1.default_session_for_acl(rpcParams.$session);
request.sessionid = rpcParams.$sessionid;
const req = filter_request_1.makeFibAppReqInfo(request, app, {

@@ -90,3 +91,3 @@ classname: modelName,

req.query.where = req.query.where || {};
const result = model.$webx.functions[rpcMehthod].apply(null, [req, util.omit(rpcParams, ['$session'])]);
const result = model.$webx.functions[rpcMehthod].apply(null, [req, util.omit(rpcParams, ['$session', '$sessionid'])]);
if (result.error)

@@ -104,2 +105,3 @@ throw Rpc.rpcError(result.error.code || -32000, result.error.message);

const { session: default_session = null } = opts || {};
let { sessionid: $sessionid = null } = opts || {};
let data = {};

@@ -114,2 +116,3 @@ let rpcId = null, _method = '';

$session = checkout_acl_1.default_session_for_acl(Object.assign({}, reqObj.session));
$sessionid = reqObj.sessionid;
_method = data.method;

@@ -128,3 +131,3 @@ params = data.params || {};

method: _method,
params: util.extend({ $session }, params)
params: util.extend({ $session, $sessionid }, params)
});

@@ -144,3 +147,3 @@ return response.json();

const result = app.rpcCall(input, {
// TODO: dynamic latest session object
sessionid: request.sessionid,
session: request.session

@@ -147,0 +150,0 @@ });

{
"name": "fib-app",
"version": "1.13.39",
"version": "1.13.40",
"description": "",

@@ -34,3 +34,3 @@ "main": "./lib",

"fib-pool": "^1.5.3",
"fib-rpc": "^0.5.2",
"fib-rpc": "^0.5.3",
"graphql-iso-date": "^3.4.0",

@@ -41,3 +41,3 @@ "graphql-type-json": "^0.1.4",

"devDependencies": {
"@fibjs/ci": "^2.2.0",
"@fibjs/ci": "^2.3.0",
"@fibjs/detect-port": "^1.0.1",

@@ -44,0 +44,0 @@ "cheerio": "^1.0.0-rc.3",

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