{"_id":"bookshelf-soft-delete","_rev":"46-1fff4de63e9e2798be83675a8dcb313d","name":"bookshelf-soft-delete","description":"Soft Delete for Bookshelf.js","dist-tags":{"latest":"5.0.0"},"versions":{"0.0.1":{"name":"bookshelf-soft-delete","version":"0.0.1","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/apolishch/bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/apolishch/bookshelf-soft-delete/issues"},"homepage":"https://github.com/apolishch/bookshelf-soft-delete","dependencies":{"lazy.js":"^0.4.0","bluebird":"^2.3.11"},"_id":"bookshelf-soft-delete@0.0.1","dist":{"shasum":"9782ca6318d262ac47bbe75f094bb63e1fff66c6","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-0.0.1.tgz","integrity":"sha512-OLUM7ANB6b9fEQO/8xGl8PZrhTvmxzYnobhfwWwoekaJ2/eegSMjXSoz7Bosdd+L6mV6DxaTQsxYUBytag0NPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBd2Eny89AMCC7RMoVWgsiPwH2WlFHgiEAvGBMPTtEolAiEApXyXXn83URm5JV2IPeSCakloM9Up6MIdskInDzaaDmc="}]},"_from":"./","_npmVersion":"1.3.14","_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"}],"directories":{}},"0.0.2":{"name":"bookshelf-soft-delete","version":"0.0.2","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/apolishch/bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/apolishch/bookshelf-soft-delete/issues"},"homepage":"https://github.com/apolishch/bookshelf-soft-delete","dependencies":{"lazy.js":"^0.4.0","bluebird":"^2.3.11"},"_id":"bookshelf-soft-delete@0.0.2","dist":{"shasum":"6881415e6b7553a909c39eff3ecf65f21f75c28b","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-0.0.2.tgz","integrity":"sha512-EHmR8zq3618fnDRzWZ/mt4wwqHYulUqThVJw0k4c5qyszxtlQECPFgFCtzxjkFBbfnEF1jicEbnCf5vTpW0VXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG9d5jwRDVn9UknflPwd5HhvWM8+0qUnIRdtE/CBykb6AiBXV6p+04L/bdVQ/oARrg5OISfKMWnzbFqYapXNdzn7Bw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"}],"directories":{}},"0.0.3":{"name":"bookshelf-soft-delete","version":"0.0.3","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/apolishch/bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/apolishch/bookshelf-soft-delete/issues"},"homepage":"https://github.com/apolishch/bookshelf-soft-delete","dependencies":{"lazy.js":"^0.4.0","bluebird":"^2.3.11"},"_id":"bookshelf-soft-delete@0.0.3","dist":{"shasum":"2b6f4c49eaa8be8ab1d628b9613ee97aeadd7ed3","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-0.0.3.tgz","integrity":"sha512-rTdM3ehPgvCXcxu+PmNV4y5mbnIWZze9r/v4b+IUXTSy+hAct7sSIx4cpyrlRYsXtCL76agtouYtOptga2oKNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXFs6/VvFkbd4MVXe2esH5Eecn21qBwhHzIAgT5AxOYAIgRnT8VqoiSMsilBtV6sl/bZv9hNkykx4A8ND0x+mOg4c="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"}],"directories":{}},"0.0.4":{"name":"bookshelf-soft-delete","version":"0.0.4","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/apolishch/bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/apolishch/bookshelf-soft-delete/issues"},"homepage":"https://github.com/apolishch/bookshelf-soft-delete","dependencies":{"lazy.js":"^0.4.0","bluebird":"^2.3.11"},"_id":"bookshelf-soft-delete@0.0.4","dist":{"shasum":"5eed19ac282b001cf62b7ce2508ec01f03e0b11c","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-0.0.4.tgz","integrity":"sha512-D2W6eO/CE32hBgHxP8WpSkeAaHZeKUz4iCjwa8KPqSKslKSIqUE0uQXFAUKPxDxKxnKC155+HmBf9YYKtTwTzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbXmczQvMyPnzvArOwPy8q9YaG7sx0LkUCnfRtGMeglQIgDXyZIR2C4XZZfpRtx4/tFavu4GFflfqTCRBcYPdAsJ4="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"}],"directories":{}},"1.0.0":{"name":"bookshelf-soft-delete","version":"1.0.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"lazy.js":"^0.4.0","bluebird":"^2.3.11"},"gitHead":"05f42ff2cf6b65fca8a07516b2be454f93e1cb49","_id":"bookshelf-soft-delete@1.0.0","scripts":{},"_shasum":"c1217b0422780f00f57e38db4532245f248fedb8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"dist":{"shasum":"c1217b0422780f00f57e38db4532245f248fedb8","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-1.0.0.tgz","integrity":"sha512-/BXhdniiicCFnQhSDMhebMplPyQ1Js1BOw45aYWP9eIpHiFEzJhEaC3nrm2cMsiEWt7/FbvaUpuP7s4+JOXKsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5aSwAwzxAstF504tx1gkmBv5J0bBXsLNtXkXhCIFAcAiAqOKeLE8wzEcPwrOPwJyKacInX48Q65DMW6KRXhyRw5Q=="}]},"directories":{}},"1.0.2":{"name":"bookshelf-soft-delete","version":"1.0.2","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"lazy.js":"^0.4.0","bluebird":"^2.3.11"},"gitHead":"aa9106d4f2f41d5b03631096d7fbb743cf27405d","_id":"bookshelf-soft-delete@1.0.2","scripts":{},"_shasum":"516e4064fd274febc85e3e58b8a183cf5600d2ce","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"dist":{"shasum":"516e4064fd274febc85e3e58b8a183cf5600d2ce","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-1.0.2.tgz","integrity":"sha512-b28HWrRv3E3O4AFOfA3LP9Y6nm/2YH67A6wCqpJhPHE/oVbK+E3DtM4oc/UI1lYQTKUc5JsI3rA/W01bydzi1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHt/mcQ59Eaf9foeG5BS50F8xWbzV6vCnhT6hfMoUQdhAiEAnVyJw3nZxLkmNwV1TpSIYfIFAHHgwcBHHTD8NOsPJdA="}]},"directories":{}},"1.1.0":{"name":"bookshelf-soft-delete","version":"1.1.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"8fbddd82fe2e71ce378ebdbba0b7e4d42edceac2","_id":"bookshelf-soft-delete@1.1.0","_shasum":"a4ac3ae219e64768186762347c904cccb7dcc8b9","_from":".","_npmVersion":"2.1.14","_nodeVersion":"0.10.34","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"dist":{"shasum":"a4ac3ae219e64768186762347c904cccb7dcc8b9","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-1.1.0.tgz","integrity":"sha512-cqJS2tTKm9QAG6zr0nSkmTM58zW5MgQXOcTBF5vcDOwdAemdD5p0e2JwKcVyOQ6zyo6MJLPEmWvHitSfb6JZ7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyuCKZmbxF0nzweZB5p38LNi2p81YETo8llFJqgeJU1wIgcp2GHIRRe1ctOCqa53dkxh7Bo6OKBeh9tIjJFTKj6V4="}]},"deprecated":"Incidentally introduced breaking change. Please upgrade to 2.0.0 or downgrade to 1.0.2.","directories":{}},"2.0.0":{"name":"bookshelf-soft-delete","version":"2.0.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"a51c2c58412b61461e7dee35c4916a28aafc5bc9","_id":"bookshelf-soft-delete@2.0.0","_shasum":"24aad72c62d145d0267d94271c6bb905c33ea76b","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.34","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"dist":{"shasum":"24aad72c62d145d0267d94271c6bb905c33ea76b","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-2.0.0.tgz","integrity":"sha512-wt/K1NMnuJN01OBUBfslZvjof4HJ36EU0dXZxoIngqpwV+eVvULpNQnktBuiLTkI/IDsmjrg6tOZ8oU6a2QUOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq7t9tBXxz3UBsH0MIO2JxYdKUA5rNgoC1/L/NBupldwIgIKescHcSAy+3dFM+x0fI1S6LxbrFLIgsCMB88BAsCXk="}]},"directories":{}},"2.0.1":{"name":"bookshelf-soft-delete","version":"2.0.1","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"864ab282c3a098a3b11afc21fa3411fc039ac6fa","_id":"bookshelf-soft-delete@2.0.1","_shasum":"c9df6f1bd94df3904fd6655859ee87499b42abc4","_from":".","_npmVersion":"2.1.14","_nodeVersion":"0.10.28","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"dist":{"shasum":"c9df6f1bd94df3904fd6655859ee87499b42abc4","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-2.0.1.tgz","integrity":"sha512-ouU3Q/IS8jmRPB6UPprj4Ilz2wPn3mrx5vSZRRWXtXZhAbjJjyMM7IpTstVF/zC1reqWd79VmvxrV5d9ly/lWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwX5uwji9I41ZB5O8ZJ09nQUScEQadv78wo4n37N58YwIgQc8kaSywXYYc9X5EQuRwS5KPQtA8bnog2nWEGVo+83o="}]},"directories":{}},"2.1.0":{"name":"bookshelf-soft-delete","version":"2.1.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"engines":{"iojs":">=1.0 <1.6","node":">=0.10 <0.13","npm":"^2"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"3b89f73c80f4a92a6e539004b050f8ba68f5516e","_id":"bookshelf-soft-delete@2.1.0","_shasum":"661dc0b370d1cea7165f4e4a701b58aa76ea0310","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"dist":{"shasum":"661dc0b370d1cea7165f4e4a701b58aa76ea0310","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-2.1.0.tgz","integrity":"sha512-CiCodIX5Y2VsSGxK+4ZLrS7fhAyUXk3fCnl4uLOkRSXesLynN3XMQ8GhzrkqK5PsXvKSmCXnxZhF1baz1ODGbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCasmrx9Qd5ZO6Evh2lD6Mvlz8drNBMoKK0DgPMXahHXwIgYSjmrIDxUdEoMSV9mpMw3RcVqzpSIM6aIvktcQdHHwA="}]},"directories":{}},"2.1.1":{"name":"bookshelf-soft-delete","version":"2.1.1","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"engines":{"node":">=0.10","npm":"^2"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"bc7f4d459116137efde60b5db8c155ba95b8693a","_id":"bookshelf-soft-delete@2.1.1","_shasum":"7c8eeb658a256de639f4f288d930360e3a732729","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"dist":{"shasum":"7c8eeb658a256de639f4f288d930360e3a732729","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-2.1.1.tgz","integrity":"sha512-i3VPb7TdwfjZagtUhgyVJ01uE0LZFyH0K5qkTPT4lTdaLeAZThgGchlyrjnrjJdzLPUuNIEqd2z/2iuyUZu76A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDawUdDy3CsrmtzjITXRAPrSYd8tBK452aIw91X2HACqAIhANNW1NVg1lT1mfzkxcMK8DilLMhjspr8DYCFwdY879uK"}]},"directories":{}},"3.0.0":{"name":"bookshelf-soft-delete","version":"3.0.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"26f380f010a297c55bb07c0d3f4ac388fb1db27b","_id":"bookshelf-soft-delete@3.0.0","_shasum":"01a2dcfeb8c816e48ded6fbf367016a9173b2f11","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"dist":{"shasum":"01a2dcfeb8c816e48ded6fbf367016a9173b2f11","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-3.0.0.tgz","integrity":"sha512-oFunH3TTHvw6/HqWn9v20qHZMNIf+OqRUIQATLECCKFjFnKQO9LCo74F+p4xZQqv3nR9PSVlGwQEkfaaDhs8Ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVwmMj5/Cj3g81krALvNbLPlAysK81w3+5NJOQhNci6AiA2NVy0+W7craj1y68fGB0zwcLL6zpMPb+DReRj52KXhQ=="}]},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"directories":{}},"3.1.0":{"name":"bookshelf-soft-delete","version":"3.1.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"a3ae4d35496d8945e4e2fb0cb8809612cc4bd33b","_id":"bookshelf-soft-delete@3.1.0","_shasum":"8caab065be95fe933605eab48b9592462241ae72","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"apolishc","email":"apolishc@gmail.com"},"dist":{"shasum":"8caab065be95fe933605eab48b9592462241ae72","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-3.1.0.tgz","integrity":"sha512-31kHl3LflbEJlCNNuSV5u4rd2TWjL9Laxrs795CMyJvhpMsd5EkAWdPTCuB+LX/t9xQl/qKR7Y893Abi1P3w1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuAwVhE8LXNsFEG0vDSzpH5+fOxoBUpdtI/ubzXSAkAgIhAJ4h1Kt6o9tOW87lpSTBjnR4n/J2SPPfXUGO6qmkifo/"}]},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"directories":{}},"3.2.0":{"name":"bookshelf-soft-delete","version":"3.2.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.7.9","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"202d005889e43c7271788ed32fd623504d081ae8","_id":"bookshelf-soft-delete@3.2.0","_shasum":"98d4e2e0de496868967a8e6f9ce9aa6122da2735","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"dist":{"shasum":"98d4e2e0de496868967a8e6f9ce9aa6122da2735","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-3.2.0.tgz","integrity":"sha512-XVJXNkiOAnVKk/xOH4RNIk1gZoedQLtYi1EyQ+6UEDqyMz0s5CgOvIxSzXfp1O2qmnaiCGV5x8Idlu5RNgH0Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCt214mpdwfCLuQfgJK3zH6zPxNQnZJGfmYq90qTlJBCgIgYuBYnZUnQkLxJJqfYwgXmGDslKiNDRRjO+Tvkw/Zj24="}]},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"directories":{}},"3.3.0":{"name":"bookshelf-soft-delete","version":"3.3.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"lint":"eslint --ignore-path .gitignore .","test":"npm run lint && mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.9.1","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"gitHead":"6a119265e12cfc804a23694c7518310dfe12dcb1","_id":"bookshelf-soft-delete@3.3.0","_shasum":"1b6d4874b8e0b5335ebf01f14cc6096971dfd3fa","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"lanetix","email":"engineering@lanetix.com"},"dist":{"shasum":"1b6d4874b8e0b5335ebf01f14cc6096971dfd3fa","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-3.3.0.tgz","integrity":"sha512-XyhWyPWXvriJi4rg1mD2EE/gUXDVBnYLxYWzXlj+9jQWxu3WrnFAX0TD2T/neuMVzgYRWATvllBcbQNAxq4NUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvD4ATZ6rYP1bzNPchQfX7QOHVD+6jEWM4ZSZPSO5YowIgByWCnnPHSAqjfZEy7M+f0gy9ny4jaljHxce4D5xHJvc="}]},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"lanetix","email":"engineering@lanetix.com"}],"directories":{}},"4.0.0":{"name":"bookshelf-soft-delete","version":"4.0.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"scripts":{"test":"npm run lint && mocha","lint":"eslint --ignore-path .gitignore .","mocha":"mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","dependencies":{"bluebird":"^2.3.11"},"devDependencies":{"bookshelf":"^0.9.1","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^3.0.4"},"_id":"bookshelf-soft-delete@4.0.0","_shasum":"e0c6ba88573c893306d4fff025ebeeab9ba64592","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"juliusza","email":"julius@zaromskis.lt"},"dist":{"shasum":"e0c6ba88573c893306d4fff025ebeeab9ba64592","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-4.0.0.tgz","integrity":"sha512-4rXEJ02V5dQ/oyCtb1wU5/TSOJq7InchBMTL3AGtJCh3eo+3Inbn0FTRpe9AviYOXJ1m5xqkhjO9v+EJpC+z6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGE5fq7ApN/gvmUwwLldDFB6cjD3VkyeQBXJ4bKm4YRUAiAx2xEGzopHyQ5CIz91bvplSl9KAERUFfj5JP3WwOTpLg=="}]},"maintainers":[{"name":"apolishc","email":"apolishc@gmail.com"},{"name":"juliusza","email":"julius@zaromskis.lt"},{"name":"lanetix-system","email":"engineering@lanetix.com"}],"directories":{}},"5.0.0":{"name":"bookshelf-soft-delete","version":"5.0.0","description":"Soft Delete for Bookshelf.js","main":"index.js","repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"keywords":["bookshelf","orm","soft-delete"],"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"license":"MIT","bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run lint && mocha","lint":"eslint --ignore-path .gitignore .","mocha":"mocha"},"homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","devDependencies":{"bookshelf":"^0.9.5","eslint":"^0.13.0","eslint-plugin-nodeca":"^1.0.3","knex":"^0.7.3","mocha":"^2.1.0","should":"^4.6.3","sqlite3":"^4.0.0","bluebird":"^2.3.11"},"gitHead":"7cf1829b95c042a37af3f9457724f22040809091","_id":"bookshelf-soft-delete@5.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"juliusza","email":"julius@zaromskis.lt"},"dist":{"integrity":"sha512-255xcCcRtQiQhErBlsXwBMdqNF+180cTzCdr04/JhcFmA2wMnQHZ9Ur/NkpBPxi2ZJwo8aRimJiY9w8+1HFBtQ==","shasum":"2248da016545201517dc75b09ef584c4cff45fbb","tarball":"https://registry.npmjs.org/bookshelf-soft-delete/-/bookshelf-soft-delete-5.0.0.tgz","fileCount":36,"unpackedSize":90491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIR48CRA9TVsSAnZWagAARwYP/38ba7RKi1eEucvOj+eh\nwhZVCXO3CZ+hMb6nwCkjpbjC36iITlVc+12jFf0FvRLsgn0pdK8IJTqdjOGB\noR7ljD8jyWdfv0TyY/2CRQULj1SPZTJ616N9rwT+df95VaRTTCJaOXBIvOW7\njuCBl9gkXy6DnfMXRRFK0iOH7WyzMli0RbmAEQxNhpxp4mu0deJ2f87KQdbN\nE+6hrCR+I4U9Iqci8bnAEGwfBaA3Ha5ebZFVd0SHm2z6c7lOPjVKPv5KZ01g\nzHsKJsPTSgBQJ6JFfP7hkFJ3qFSnMx7xmdoc95HxYcgmpTkJTElX2ZrpC4aa\nTtBBrbe5ms5E8rfT4bZWL+/Ci6QmP1liOR92eI5N4WRSv0RUTO8woLFnCy3I\n+uBF2Efqw8afWI+G+jFixLBAZEeU8KOMi/9Ph6Lzm3ba5dsGqZu/m66woWHH\n5ot9fa6y2iN38oLAYRfqwQ4RlcwM61JS6jnF6sIyI47rse6ljpMi6cwXdhSC\nOKSDbhKiNRZonAO3tlRFED03rdRKuXSsTIKszaAtJvEpSplpUtOZNJjKi2Bh\nh2QGbefiGetxkm0eZvVj2Uoj/R3GALS4/aBGGXiOfXmIGrZIyDq61oKSzbZx\nX/zwpGUmBQdM7C2G9qe9V3WduK43JZS/yyOwb2rY5QctZTv9kZtnWoJSfvpo\n2tvs\r\n=LW5j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyiZzfaJ49AUZlhXbR3iRuP7QKWfsFHO1UMeSRzp+jcAIgSQ4VLhTzkI7dXoLxshn/j0hkrPBBZBDxomOevGSj6w4="}]},"maintainers":[{"name":"juliusza","email":"julius@zaromskis.lt"},{"name":"lanetix-system","email":"engineering@lanetix.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bookshelf-soft-delete_5.0.0_1528897082631_0.5689571429230125"},"_hasShrinkwrap":false}},"readme":"# Bookshelf Soft Delete\r\n\r\n![build status](https://travis-ci.org/lanetix/node-bookshelf-soft-delete.svg?branch=master)\r\n\r\nThis plugin works with Bookshelf.js, available here http://bookshelfjs.org, in\r\norder to introduce a soft deletion. What this means is that items will appear\r\ndeleted to an end user, but will not in fact be removed from the database.\r\n\r\n## Installation\r\n  \r\n    npm install bookshelf-soft-delete\r\n\r\nThen in your bookshelf configuration:\r\n\r\n    var bookshelf = require('bookshelf')(knex);\r\n    bookshelf.plugin(require('bookshelf-soft-delete'));\r\n\r\n## Usage\r\n\r\nOn your bookshelf Model which you would like to mark for soft deletion:\r\n\r\n    soft: true\r\n\r\nor, if you don't want to use the default column names (`deleted_at` and `restored_at`) :\r\n\r\n    soft: ['deletionDate', 'restorationDate']\r\n\r\nor, if you don't want to use `restored_at` column :\r\n\r\n    soft: ['deleted_at']\r\n\r\nPlease note that strictly speaking any truthy value will be sufficient.  This\r\nwill override `destroy` to simply set the `deleted_at` column of the\r\ncorresponding table to the Date stamp at moment of deletion, and override the\r\ncollection `fetch` and `fetchOne` to filter out model instances where\r\n`deleted_at` is set. Please note, that if you set this on a Model, the table\r\nfor which does not have a `deleted_at` column or an optional `restored_at` column, an\r\n `error` event will be emited when your model is created.\r\n\r\nIf you wish to disable soft delete for a given operation, e.g., `fetch`, simply\r\npass an object with `softDelete: false` to that operation.\r\n\r\n    YourModel.where(\"id\", searchId)\r\n        .fetch({softDelete: false})\r\n\r\nIf you need to restore something which has been soft deleted, `model.restore`\r\nwill do this.\r\n\r\n### Usage with a custom initialize function\r\n\r\nThis package has an initialize function that wires everthing up. If you declare a custom initialize function, you need to make sure to call the initialize function on the prototype from the custom initialize function in order for everything to work properly.\r\n\r\n    var repository = require('./repo');\r\n\r\n    module.exports = repository.Model.extend({\r\n      tableName: 'users',\r\n      soft: true,\r\n\r\n      initialize: function() {\r\n        this.on('saving', this.validate);\r\n        repository.Model.prototype.initialize.apply(this, arguments);\r\n      },\r\n\r\n      validate: function() {\r\n        ...\r\n      }\r\n    });","maintainers":[{"name":"juliusza","email":"julius@zaromskis.lt"},{"name":"lanetix-system","email":"engineering@lanetix.com"}],"time":{"modified":"2022-06-13T04:55:53.964Z","created":"2014-12-15T11:43:08.749Z","0.0.1":"2014-12-15T11:43:09.786Z","0.0.2":"2014-12-15T11:49:38.603Z","0.0.3":"2014-12-15T12:03:29.211Z","0.0.4":"2014-12-15T12:11:28.195Z","1.0.0":"2014-12-16T01:08:00.755Z","1.0.2":"2015-01-26T05:39:08.538Z","1.1.0":"2015-02-04T14:23:15.302Z","2.0.0":"2015-02-04T21:55:19.654Z","2.0.1":"2015-02-17T21:52:41.152Z","2.1.0":"2015-03-09T21:36:26.179Z","2.1.1":"2015-03-17T23:08:24.755Z","3.0.0":"2015-07-27T13:08:33.646Z","3.1.0":"2015-07-28T01:10:46.558Z","3.2.0":"2015-11-05T18:09:46.525Z","3.3.0":"2015-11-11T15:41:44.978Z","4.0.0":"2016-01-29T09:17:03.094Z","5.0.0":"2018-06-13T13:38:02.721Z"},"readmeFilename":"README.md","homepage":"https://github.com/lanetix/node-bookshelf-soft-delete","keywords":["bookshelf","orm","soft-delete"],"repository":{"type":"git","url":"git://github.com/lanetix/node-bookshelf-soft-delete.git"},"author":{"name":"Abraham Polishchuk","email":"apolishc@gmail.com","url":"https://github.com/apolishch"},"bugs":{"url":"https://github.com/lanetix/node-bookshelf-soft-delete/issues"},"license":"MIT","users":{}}