Socket
Socket
Sign inDemoInstall

loon-data

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loon-data - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

24

lib/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
const Knex = require("knex");
const client = Knex({
client: 'mysql',
connection: {
host: '127.0.0.1',
user: 'root',
password: '',
database: 'lion_development',
timezone: 'utc'
},
pool: {
min: 10,
max: 10
}
});
client.from('users').limit(1).then(data => {
console.log(Array.isArray(data));
console.log(data);
});
__export(require("./DataMap"));
__export(require("./ResultMap"));
//# sourceMappingURL=index.js.map
{
"name": "loon-data",
"version": "0.0.3",
"version": "0.0.4",
"description": "Provide Mybatis ResultMap like function for NodeJS with Typescript",

@@ -11,2 +11,3 @@ "main": "lib/index.js",

"scripts": {
"prepublish": "npm run tsc:release",
"test": "npm test",

@@ -13,0 +14,0 @@ "tsc:release": "tsc --project tsconfig.compile.json",

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