sql-template-strings
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -75,3 +75,3 @@ | ||
*/ | ||
export function SQL(strings: string[], ...values: any[]): SQLStatement; | ||
export function SQL(strings: any, ...values: any[]): SQLStatement; | ||
export default SQL; |
{ | ||
"name": "sql-template-strings", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "ES6 tagged template strings for prepared statements with mysql and postgres", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"engines": { | ||
"node": ">4.0.0" | ||
"node": ">=4.0.0" | ||
}, | ||
@@ -16,3 +16,5 @@ "repository": { | ||
"scripts": { | ||
"test": "eslint index.js && mocha", | ||
"lint": "eslint index.js test", | ||
"test": "mocha test", | ||
"cover": "nyc --all mocha test", | ||
"typedoc": "typedoc --module es2015 --target es2015 --includeDeclarations --mode file --readme none --out typedoc index.d.ts" | ||
@@ -36,6 +38,15 @@ }, | ||
"devDependencies": { | ||
"eslint": "^2.9.0", | ||
"mocha": "^2.3.3", | ||
"eslint": "^3.4.0", | ||
"mocha": "^3.0.2", | ||
"nyc": "^8.1.0", | ||
"typedoc": "^0.4.4" | ||
}, | ||
"nyc": { | ||
"include": [ | ||
"index.js" | ||
], | ||
"exclude": [ | ||
"test/**/*.js" | ||
] | ||
} | ||
} |
@@ -0,6 +1,11 @@ | ||
# SQL Template Strings | ||
[![Version](https://img.shields.io/npm/v/sql-template-strings.svg?maxAge=2592000)](https://www.npmjs.com/package/sql-template-strings) | ||
[![Downloads](https://img.shields.io/npm/dm/sql-template-strings.svg?maxAge=2592000)](https://www.npmjs.com/package/sql-template-strings) | ||
[![Build Status](https://travis-ci.org/felixfbecker/node-sql-template-strings.svg?branch=master)](https://travis-ci.org/felixfbecker/node-sql-template-strings) | ||
[![Coverage](https://codecov.io/gh/felixfbecker/node-sql-template-strings/branch/master/graph/badge.svg)](https://codecov.io/gh/felixfbecker/node-sql-template-strings) | ||
![Dependencies](https://david-dm.org/felixfbecker/node-sql-template-strings.svg) | ||
![Node Version](http://img.shields.io/node/v/sql-template-strings.svg) | ||
[![License](https://img.shields.io/npm/l/sql-template-strings.svg?maxAge=2592000)](https://github.com/felixfbecker/node-sql-template-strings/blob/master/LICENSE.md) | ||
[![Chat](https://badges.gitter.im/felixfbecker/node-sql-template-strings.svg)](https://gitter.im/felixfbecker/node-sql-template-strings?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
@@ -7,0 +12,0 @@ [API Documentation](http://node-sql-template-strings.surge.sh/) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21657
15
148
4