Socket
Socket
Sign inDemoInstall

dabs

Package Overview
Dependencies
14
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.28 to 0.0.29

31

clause/Order.js
"use strict";
const Base = require("./Base");
const
Base = require("./Base"),
Literal = require("../entity/Literal");

@@ -9,3 +11,3 @@ let Clause_Order_Frag = class {

Object.defineProperty(this, "_sort_order", { value: null, writable: true });
Object.defineProperty(this, "_values", { value: null, writable: true });
Object.defineProperty(this, "_values", { value: [] });

@@ -27,8 +29,18 @@ this.order = sort_order;

}
set values(v) {
this._values = v;
set values(values) {
this._values.splice(0);
for (let _v of values) {
if (Array.isArray(_v)) {
for (let _v2 of _v) {
this._values.push(new Literal(Symbol(), _v2));
}
}
else {
this._values.push(new Literal(Symbol(), _v));
}
}
}
toString() {
return this._values.length ?
`FIELD (${this._identifier}, ${this._values}) ${this._sort_order}` :
`FIELD (${this._identifier}, ` + this._values.join() + `) ${this._sort_order}` :
this._identifier.toString() + " " + this._sort_order;

@@ -76,2 +88,11 @@ }

}
get placeholders() {
let t = super.placeholders;
for (let [id, frag] of this._frags) {
for (let _v of frag.values) {
t[_v.id] = _v.value;
}
}
return t;
}

@@ -78,0 +99,0 @@ toString() {

1

clause/Set.js

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

return t;
}

@@ -27,0 +26,0 @@

{
"_from": "dabs@^0.0.26",
"_id": "dabs@0.0.26",
"_from": "dabs@^0.0.28",
"_id": "dabs@0.0.28",
"_inBundle": false,
"_integrity": "sha512-tqXtFJkBxUbakihFoGmP87+CXPg5jHzhGAC9ht99XEgmyZi1GHrOZYUbur1qL0UaT0JCTeqa665kxHckyY0dRg==",
"_integrity": "sha512-rXvmk0UMxLuX061p+XXVNhE3q3odvjaG7FmFOwk2GRz4lwFMGq6R9B7UB2LU5yTdB1QkzvpqL4qCdflpWMgEZg==",
"_location": "/dabs",

@@ -11,8 +11,8 @@ "_phantomChildren": {},

"registry": true,
"raw": "dabs@^0.0.26",
"raw": "dabs@^0.0.28",
"name": "dabs",
"escapedName": "dabs",
"rawSpec": "^0.0.26",
"rawSpec": "^0.0.28",
"saveSpec": null,
"fetchSpec": "^0.0.26"
"fetchSpec": "^0.0.28"
},

@@ -22,5 +22,5 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/dabs/-/dabs-0.0.26.tgz",
"_shasum": "bb5281600eb957ef092a4a71c2495409bd1eba5f",
"_spec": "dabs@^0.0.26",
"_resolved": "https://registry.npmjs.org/dabs/-/dabs-0.0.28.tgz",
"_shasum": "2678264fbad2ca7634b8bdd45951d25e65782dcd",
"_spec": "dabs@^0.0.28",
"_where": "/var/www/rki-backend/backend/node_modules/nexjs",

@@ -50,3 +50,3 @@ "author": {

"name": "dabs",
"version": "0.0.28"
"version": "0.0.29"
}
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