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

appolo-agent

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appolo-agent - npm Package Compare versions

Comparing version 6.0.5 to 6.0.6

1

lib/agent.js

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

viewExt: "html",
viewCache: true,
viewEngine: null,

@@ -30,0 +31,0 @@ viewFolder: ""

@@ -41,2 +41,3 @@ import {IOptions} from "./IOptions";

viewExt: "html",
viewCache:true,
viewEngine: null,

@@ -43,0 +44,0 @@ viewFolder: ""

@@ -12,2 +12,3 @@ export interface IOptions{

viewFolder?: string
viewCache?: boolean
viewExt?: string

@@ -14,0 +15,0 @@ ssl?: {

2

lib/view.js

@@ -26,3 +26,3 @@ "use strict";

}
let result = await this._options.viewEngine(item.path, Object.assign({ cache: true }, params));
let result = await this._options.viewEngine(item.path, Object.assign({ cache: this._options.viewCache }, params));
return result;

@@ -29,0 +29,0 @@ }

@@ -38,3 +38,3 @@ import {Cache} from "appolo-cache";

let result = await this._options.viewEngine(item.path, {cache: true, ...params});
let result = await this._options.viewEngine(item.path, {cache: this._options.viewCache, ...params});

@@ -41,0 +41,0 @@ return result;

@@ -27,3 +27,3 @@ {

"main": "./index.js",
"version": "6.0.5",
"version": "6.0.6",
"license": "MIT",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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