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

@microsoft/paris

Package Overview
Dependencies
Maintainers
7
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/paris - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

3

dist/lib/paris.js

@@ -136,2 +136,5 @@ var __assign = (this && this.__assign) || Object.assign || function(t) {

}
if (apiCallType.config.timeout) {
httpOptions.timeout = apiCallType.config.timeout;
}
var requestOptions = apiCallType.config.responseType ? { responseType: apiCallType.config.responseType } : null;

@@ -138,0 +141,0 @@ var apiCall$ = this.makeApiCall(apiCallType.config, apiCallType.config.method || "GET", httpOptions, undefined, requestOptions)

import 'reflect-metadata';
(<any>global)['Reflect'] = Reflect;

2

package.json
{
"name": "@microsoft/paris",
"version": "1.7.2",
"version": "1.7.3",
"description": "Library for the implementation of Domain Driven Design with TypeScript + RxJS",

@@ -5,0 +5,0 @@ "repository": {

@@ -0,0 +0,0 @@ # Paris

@@ -0,0 +0,0 @@ import {Paris} from '../../lib/paris';

@@ -0,0 +0,0 @@ import {Paris} from '../../lib/paris';

@@ -0,0 +0,0 @@ import {TodoList} from "./todo-list.entity";

@@ -361,2 +361,19 @@ import { Observable, of, forkJoin } from 'rxjs';

it('should call Http.request with correct params', () => { });
it('should pass the timeout property as part of the options if it exists', () => {
const timeout = 123456;
const createToDoListApiCall = {
...CreateTodoListApiCall,
config: {
...(<any>CreateTodoListApiCall).config,
timeout
}
};
paris.apiCall(<any>createToDoListApiCall, undefined, { allowCache: false });
const [config, _, httpOptions] = (<any>paris).makeApiCall.mock.calls[0];
expect(config.timeout).toBe(timeout);
expect(httpOptions.timeout).toBe(timeout);
});
});

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