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

angular-es-utils

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-es-utils - npm Package Compare versions

Comparing version 1.2.29 to 1.2.30

2

package.json
{
"name": "angular-es-utils",
"version": "1.2.29",
"version": "1.2.30",
"description": "es utils design for angular1.x",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -36,6 +36,6 @@ 'use strict';

exports.default = function (url, cache, params, additionalActions) {
var additionalConfigs = arguments.length <= 4 || arguments[4] === undefined ? {} : arguments[4];
var additionalHttpConfigs = arguments.length <= 4 || arguments[4] === undefined ? {} : arguments[4];
additionalConfigs = _extends({}, commonConfigs, additionalConfigs);
additionalHttpConfigs = _extends({}, commonConfigs, additionalHttpConfigs);

@@ -46,15 +46,15 @@ // 默认cache为defaultRestCache

// 查询,结果为对象
'get': _extends({ method: 'GET', cache: cache }, additionalConfigs),
'get': _extends({ method: 'GET', cache: cache }, additionalHttpConfigs),
// 查询,结果为数组
'query': _extends({ method: 'GET', isArray: true, cache: cache }, additionalConfigs),
'query': _extends({ method: 'GET', isArray: true, cache: cache }, additionalHttpConfigs),
// 保存(新增)
'save': _extends({ method: 'POST', cache: cache }, additionalConfigs),
'save': _extends({ method: 'POST', cache: cache }, additionalHttpConfigs),
// 修改(全量)
'update': _extends({ method: 'PUT', cache: cache }, additionalConfigs),
'update': _extends({ method: 'PUT', cache: cache }, additionalHttpConfigs),
// 修改(部分)
'patch': _extends({ method: 'PATCH', cache: cache }, additionalConfigs),
'patch': _extends({ method: 'PATCH', cache: cache }, additionalHttpConfigs),
// 逻辑删除
'remove': _extends({ method: 'DELETE', cache: cache }, additionalConfigs),
'remove': _extends({ method: 'DELETE', cache: cache }, additionalHttpConfigs),
// 物理删除
'delete': _extends({ method: 'DELETE', cache: cache }, additionalConfigs)
'delete': _extends({ method: 'DELETE', cache: cache }, additionalHttpConfigs)
};

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