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

library.min.js

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

library.min.js - npm Package Compare versions

Comparing version 10.3.14 to 10.3.15

2

package.json
{
"name": "library.min.js",
"version": "10.3.14",
"version": "10.3.15",
"description": "JScript Library",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -33,2 +33,3 @@ const $$$ = {adapter: "my-sql", db: require ("mysql2")}

"type:blob": "blob",
"limit one": "limit 1",
"limit once": "limit 1",

@@ -128,2 +129,3 @@ ":ascending": " asc", "ascending": "asc",

param: sql.param,
data: {base: db}, table,
}

@@ -144,2 +146,3 @@ });

param: sql.param.concat (where.param),
data: {base: db}, table, where, sort, limit,
}

@@ -149,3 +152,3 @@ });

Object.define (Function.db.adapter [$$$.adapter].query, "delete", function (db, table, where, sort, limit) {
var sql = {where: ""}
var sql = {where: "", sort: "", limit: ""}
if (Object.is.array (where) === false) where = [where]; where = Function.db.adapter [$$$.adapter].query.where (... where);

@@ -160,2 +163,3 @@ if (Object.is.array (sort) === false) sort = [sort]; sort = Function.db.adapter [$$$.adapter].query.sort (... sort);

param: where.param,
data: {base: db}, table, where, sort, limit,
}

@@ -162,0 +166,0 @@ });

@@ -10,14 +10,6 @@ Object.define (Function, "express", class {});

if (cross.origin) request.parse_url.cross = Object.assign (URL.parse (cross.origin), {origin: cross.origin, session: cross.session});
if (request.parse_url.ip = request.ip) request.parse_url.ip = request.parse_url.ip.split (",") [0];
next ();
});
Object.define (Function.express.url, "parse", function (socket) {
var cross = {origin: (socket.handshake.headers.origin || null), session: (socket.handshake.headers.session || null)}
var parse_url = Object.assign (URL.parse (socket.handshake.headers.host), {cross: {origin: cross.origin, session: cross.session}});
if (cross.origin === null) cross.origin = "0.0.0.0";
if (cross.origin === "null") cross.origin = "0.0.0.0";
if (cross.origin) parse_url.cross = Object.assign (URL.parse (cross.origin), {origin: cross.origin, session: cross.session});
return parse_url;
});
Object.define (Function.express, "ware", function (request, response, next) {

@@ -64,2 +56,12 @@ response.file = function (file, option, context) { return response.sendFile (file, option, context); }

Object.define (Function.express.io, "url", function (socket) {
var cross = {origin: (socket.handshake.headers.origin || null), session: (socket.handshake.headers.session || null)}, ip = socket.handshake.address
var parse_url = Object.assign (URL.parse (socket.handshake.headers.host), {cross: {origin: cross.origin, session: cross.session}});
if (cross.origin === null) cross.origin = "0.0.0.0";
if (cross.origin === "null") cross.origin = "0.0.0.0";
if (cross.origin) parse_url.cross = Object.assign (URL.parse (cross.origin), {origin: cross.origin, session: cross.session});
if (ip) ip = ip.split (",") [0];
return {parse_url, ip: ip}
});
Object.define (Function.express.io, "error", function (response) {

@@ -66,0 +68,0 @@ return function (error) {

Sorry, the diff of this file is too big to display

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