Socket
Socket
Sign inDemoInstall

@auraxy/services

Package Overview
Dependencies
8
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.10 to 1.0.11

13

lib/es/index.js
/**
* Bundle of @auraxy/services
* Generated: 2021-06-29
* Version: 1.0.9
* Version: 1.0.10
* License: MIT

@@ -287,3 +287,2 @@ * Author: liuzhiping@auraxy.com

/*** 过滤参数前后空格、'undefined', 'null' ***/
function trimData(data) {

@@ -294,10 +293,10 @@ var toString = Object.prototype.toString;

for (var key in data) {
if (data[key] === 'undefined' || data[key] === 'null') {
delete data[key];
} // eslint-disable-next-line no-prototype-builtins
// eslint-disable-next-line no-prototype-builtins
if (data.hasOwnProperty(key)) {
var value = data[key];
if (value === 'undefined' || value === 'null') {
value = '';
}
if (typeof value === 'string') {

@@ -304,0 +303,0 @@ result[key] = value.trim();

{
"name": "@auraxy/services",
"version": "1.0.10",
"version": "1.0.11",
"description": "services",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc