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

kmore

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kmore - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.0.2](https://github.com/waitingsong/kmore/compare/v2.0.1...v2.0.2) (2021-01-24)
**Note:** Version bump only for package kmore
## [2.0.1](https://github.com/waitingsong/kmore/compare/v2.0.0...v2.0.1) (2020-07-16)

@@ -8,0 +16,0 @@

10

dist/index.cjs.js

@@ -5,3 +5,3 @@ /**

*
* @version 2.0.0
* @version 2.0.1
* @author waiting

@@ -16,4 +16,6 @@ * @license MIT

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var kmoreTypes = require('kmore-types');
var Knex = require('knex');
var Knex = _interopDefault(require('knex'));

@@ -27,8 +29,6 @@ const defaultPropDescriptor = {

/* eslint-disable @typescript-eslint/no-explicit-any */
// workaround for rollup
const _Knex = Knex;
function bindDbh(propDescriptor, kmInst, config) {
Object.defineProperty(kmInst, kmoreTypes.KmorePropKeys.dbh, {
...propDescriptor,
value: _Knex(config),
value: Knex(config),
});

@@ -35,0 +35,0 @@ return kmInst;

/* eslint-disable @typescript-eslint/no-explicit-any */
import { validateParamTables, createNullObject, } from 'kmore-types';
// eslint-disable-next-line import/no-extraneous-dependencies
import * as Knex from 'knex';
import Knex from 'knex';
import { KmorePropKeys } from './config';
// workaround for rollup
const _Knex = Knex;
export function bindDbh(propDescriptor, kmInst, config) {
Object.defineProperty(kmInst, KmorePropKeys.dbh, {
...propDescriptor,
value: _Knex(config),
value: Knex(config),
});

@@ -13,0 +11,0 @@ return kmInst;

{
"name": "kmore",
"author": "waiting",
"version": "2.0.1",
"version": "2.0.2",
"description": "A SQL query builder based on knex with powerful TypeScript type support",

@@ -34,8 +34,8 @@ "keywords": [

"dependencies": {
"@waiting/shared-types": "4",
"kmore-types": "^2.0.1",
"rxjs": "^6.5.2"
"@waiting/shared-types": "5",
"kmore-types": "^2.0.2",
"rxjs": "6"
},
"devDependencies": {
"@waiting/shared-core": "4",
"@waiting/shared-core": "5",
"cross-env": "7",

@@ -47,6 +47,6 @@ "knex": "^0.21.0",

"knex": ">=0.21.0",
"typescript": "3"
"typescript": "4"
},
"engines": {
"node": ">=10.16.0"
"node": ">=12.13.0"
},

@@ -66,2 +66,3 @@ "files": [

"test:browser": "cd .config && npm run browser && cd ..",
"test:local": "cross-env TS_NODE_PROJECT=test/tsconfig.json ../../node_modules/.bin/mocha --parallel=false",
"tsc": "tsc -p tsconfig.json",

@@ -90,9 +91,10 @@ "tsc:w": "tsc -p tsconfig.json -w"

"reporter": [
"text-summary",
"html",
"json",
"html"
"text",
"text-summary"
],
"all": true
},
"gitHead": "7785c2195e3279e849a6b6ca36a3dae2dd4311b4"
"gitHead": "c2a7a8f8d90fe341129a8362523202c590057b55"
}

@@ -9,3 +9,3 @@ # [kmore](https://waitingsong.github.io/kmore/)

![](https://img.shields.io/badge/lang-TypeScript-blue.svg)
[![Node CI](https://github.com/waitingsong/kmore/workflows/Node%20CI/badge.svg)](https://github.com/waitingsong/kmore/actions)
[![ci](https://github.com/waitingsong/kmore/workflows/ci/badge.svg)](https://github.com/waitingsong/kmore/actions)
[![Build Status](https://travis-ci.org/waitingsong/kmore.svg?branch=master)](https://travis-ci.org/waitingsong/kmore)

@@ -12,0 +12,0 @@ [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

@@ -10,3 +10,3 @@ # [kmore](https://waitingsong.github.io/kmore/)

![](https://img.shields.io/badge/lang-TypeScript-blue.svg)
[![Node CI](https://github.com/waitingsong/kmore/workflows/Node%20CI/badge.svg)](https://github.com/waitingsong/kmore/actions)
[![ci](https://github.com/waitingsong/kmore/workflows/ci/badge.svg)](https://github.com/waitingsong/kmore/actions)
[![Build Status](https://travis-ci.org/waitingsong/kmore.svg?branch=master)](https://travis-ci.org/waitingsong/kmore)

@@ -13,0 +13,0 @@ [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

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