New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sqlite3-webapi-kit

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlite3-webapi-kit - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

13

lib/sqlite3-webapi-kit.js

@@ -486,7 +486,12 @@ // Generated by CoffeeScript 1.12.6

_setHook = function(func) {
if (!(func instanceof Function)) {
return false;
if (func instanceof Function) {
_requestHook = func;
return true;
} else if (func === void 0) {
_requestHook = function() {
return true;
};
return true;
}
_requestHook = func;
return true;
return false;
};

@@ -493,0 +498,0 @@

{
"name": "sqlite3-webapi-kit",
"version": "0.1.1",
"version": "0.1.2",
"description": "SQLite3 WebAPI server kit for Node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -468,7 +468,10 @@ # sqlite3-webapi-kit - SQLite3をデータベースサーバー化するNode.js用APIキット

### 0.1.2 (2017-07-03)
* `setHook()`に`undefined`を渡すとフック関数の登録を解除できるように修正([#2](https://github.com/ktty1220/sqlite3-webapi-kit/pull/2))
### 0.1.1 (2017-07-03)
* `setHook()`によるフック関数が未登録だとエラーになっていたのを修正(#1)
* `coverage`モジュールがない状態でもテストを実行できるように修正(#1)
* `example`追加
* `setHook()`によるフック関数が未登録だとエラーになっていたのを修正([#1](https://github.com/ktty1220/sqlite3-webapi-kit/pull/1))
* `coverage`モジュールがない状態でもテストを実行できるように修正([#1](https://github.com/ktty1220/sqlite3-webapi-kit/pull/1))
* 依存ライブラリを最新バージョンに更新

@@ -475,0 +478,0 @@

@@ -212,2 +212,13 @@ // Generated by CoffeeScript 1.12.6

}).addBatch({
'httpリクエスト時のフック関数の登録を解除': {
topic: function() {
return sqlited.setHook(void 0);
},
'登録解除に成功': (function(_this) {
return function(topic) {
return assert.isTrue(topic);
};
})(this)
}
}).addBatch({
'デフォルトhttpメソッド: /query': {

@@ -214,0 +225,0 @@ topic: function() {

Sorry, the diff of this file is not supported yet

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