{"_id":"sails-hook-orm","_rev":"68-23402482015fc5213ea709badc5f3d8a","name":"sails-hook-orm","description":"The ORM hook from Sails core.","dist-tags":{"latest":"4.0.3","for-sails-0.12":"1.0.9"},"versions":{"0.1.0":{"name":"sails-hook-orm","version":"0.1.0","description":"This is a standalone version of the orm hook from Sails core. It is likely that this version of the ORM hook will not become the default until after the v0.12 release.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"4.0.0","prompt":"0.2.14","rttc":"9.3.0","waterline":"0.10.30"},"gitHead":"25a703bdc5b07ab1b8b38ed7a7b8275c94cfedbf","_id":"sails-hook-orm@0.1.0","_shasum":"84da67382c59c8e75b8a0ebdabc88a8d115cdd0c","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.26","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"84da67382c59c8e75b8a0ebdabc88a8d115cdd0c","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-0.1.0.tgz","integrity":"sha512-3bQsZkNyBOqHrgtwscSqeRA5ceJvY2ADf3+/AjjISUpOciKmQOabcBp0hBR4zUcTejOC7X/dtdb9cWMLnQktEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbkA6rSKOg8EQOZyx312eNSte6rjJeDC61ExiEwcGBfAiEA4mBfGqBNzrQsjE84WbyNj9tdDUFdvN4mgPodOttWhXc="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"directories":{}},"0.2.0":{"name":"sails-hook-orm","version":"0.2.0","description":"This is a standalone version of the orm hook from Sails core. It is likely that this version of the ORM hook will not become the default until after the v0.12 release.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"4.0.0","prompt":"0.2.14","rttc":"9.3.0","waterline":"0.10.30"},"sails":{"isHook":true},"gitHead":"f8bcaba52c713fc6e4a34e16a934f6b9ae16a5cd","_id":"sails-hook-orm@0.2.0","_shasum":"15c4c610e0f25fc7bca8d163fe573f798db0c05a","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.26","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"15c4c610e0f25fc7bca8d163fe573f798db0c05a","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-0.2.0.tgz","integrity":"sha512-wEwbHbE+64DFx6HVOq+KgdHkDy91ke6E/aRKbtE8snvP2QLsspEZA4yyUumagjHP11st8nOjMvgkykfryqSDww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFSn5HuU8zZBNeYHiOOUE854S/dOG/TfmgSFwpj4gg9AiEArF3KyVlbKVc0NJjnoi0eVsRqB7CMApi/9gSzZQ+osos="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"directories":{}},"1.0.0":{"name":"sails-hook-orm","version":"1.0.0","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"9.3.0","waterline":"0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"gitHead":"53a401c7d81e3a69299f6107cb2ecf34f39f0575","_id":"sails-hook-orm@1.0.0","_shasum":"0ce812f859a7d594e2543fba20363d22840e6de5","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"0ce812f859a7d594e2543fba20363d22840e6de5","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.0.tgz","integrity":"sha512-R2VuvMZlWCeYJCJPgmezFYXu2kq56hyi2vQvQm12tyiKhWC0s7WU10nwE7Xc4bw2Sd2GXxsWG/cieSx3QkBWkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPfHM/siYoPO8OKfbK5L0nSigmCpT8wDhn7k1VtgBi3gIgBB7kV5G/fYrGPlK/lPsA3bwj/jH0SqWsNgt6WhsujIk="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.0.tgz_1457369058041_0.10360714979469776"},"directories":{}},"1.0.1":{"name":"sails-hook-orm","version":"1.0.1","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"9.3.0","waterline":"0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"gitHead":"d8b345d4d879ccb65df268e7875bf56b141a772b","_id":"sails-hook-orm@1.0.1","_shasum":"d380d3ab7c2205bf847b19211bb7db9baa150f31","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"d380d3ab7c2205bf847b19211bb7db9baa150f31","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.1.tgz","integrity":"sha512-EfSjx9oPHzpzquO8Z9ssf1m99NkHgPS9SvGHIhn3nbkX/fSRdiLcl4TLcD3IgpDsBjGeOzeLbHcgnBZXQKSw4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBX7IbAotS7ei/hYzTuIxmQscppMvMXFQ6/qrkZhJiowIhAMUQLgXusqyUEImD2PHMBswRztJvVYztBiic56avMC5R"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.1.tgz_1457892263204_0.7876027512829751"},"directories":{}},"1.0.2":{"name":"sails-hook-orm","version":"1.0.2","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"9.3.0","waterline":"0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"gitHead":"4970bf43f41193aa5317713ad8bbb7086ec952f0","_id":"sails-hook-orm@1.0.2","_shasum":"4a8d850b75c41b6f74f079528a300503861f8d11","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"4a8d850b75c41b6f74f079528a300503861f8d11","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.2.tgz","integrity":"sha512-hhz3FFiX9Wx1YQtY7kFZGl8tGjIHIgKfPIx8omkFL5TaPpXrfXpOpRC6RWCL5svkVcluMKCOaGCRiz41FLmqqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNNLsVI3mVqxcKbzoqbLq2jBl/FSnbnqz+mOIuT6Z+SAiEArLSvR8/51kwxEfLDwFwrRlNyMgLFbXDH06r2+tyyruM="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.2.tgz_1457975767982_0.3212443583179265"},"directories":{}},"1.0.3":{"name":"sails-hook-orm","version":"1.0.3","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"9.3.0","waterline":"0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"gitHead":"b6264011199f3bd2eb28a0b70ec46ae487f03da8","_id":"sails-hook-orm@1.0.3","_shasum":"dbb048bb5a2199d554287b395331f2224c4e9228","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"dbb048bb5a2199d554287b395331f2224c4e9228","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.3.tgz","integrity":"sha512-oQ+x5hCypK+5oQAQPZiWtuFsjSzgnpk+XTS13IYswZh+6FYCC7xBHtZ5q0wvLEFNGwMndTxWJS9GVc+4VEAMSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdoMkASx2hLfsRO/seahsuBj0vDa++cobGkTdbrCllUwIhAOCfR+ioHIb+vyj7nBpxErFWzD1WQ7mn6eoklKfm4RXy"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.3.tgz_1458060088732_0.302415338344872"},"directories":{}},"1.0.4":{"name":"sails-hook-orm","version":"1.0.4","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"~9.3.0","waterline":"~0.12.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"2.4.5","sails":"~0.12.1"},"gitHead":"44bf316b3def7a998d5b008d3cc53dc5e1750e61","_id":"sails-hook-orm@1.0.4","_shasum":"cfeab09b34496e1b334b59e2fe4bb3abfea3fa31","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"cfeab09b34496e1b334b59e2fe4bb3abfea3fa31","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.4.tgz","integrity":"sha512-WCzYwV0BZWRfaTPnZvqTVDJdSXGqcUbZqBvsPhWd4V6nNZ160yDYtwiRaMm4m/ccuDkeNEQ6MVRY7sGnMFkvMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAlXM53H+HGEakFpHBtrOYrILfCIbnZJfxxz90/Wpx8AiEA5z4wGzK1f4Qky0I87uA7Hxv7o0dcYsQOxfHLXqaehLY="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.4.tgz_1459546114731_0.6979089635424316"},"directories":{}},"1.0.5":{"name":"sails-hook-orm","version":"1.0.5","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"~9.3.0","waterline":"~0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"2.4.5","sails":"~0.12.1"},"gitHead":"aec21e4cdd88e36711e24b94e27e219cf349e2af","_id":"sails-hook-orm@1.0.5","_shasum":"ecf366368b9073fd7b4f412a5635a958314253e2","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"ecf366368b9073fd7b4f412a5635a958314253e2","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.5.tgz","integrity":"sha512-qyUKgHvwZptmFzbOhS2M0gYJn1PRUf9sFKOrUVzXo5tokQ29EhGpQlJG1smGbANPTVv2C/2bl6ysAvthHGHztg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGH4cUrJPg8Gxc7TxTUk9TfaMmPsNb41LSzPwQ3iAoQsAiEAwABvUvCmIwtZxGwuQE/yUS3kaPZuiK8iYCbqQMtVlCU="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.5.tgz_1459546196769_0.6565227415412664"},"directories":{}},"1.0.6":{"name":"sails-hook-orm","version":"1.0.6","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"~9.3.0","waterline":"~0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"2.4.5","sails":"~0.12.1"},"gitHead":"247ca9e29cb9c4c6293237d32769da96f88751b4","_id":"sails-hook-orm@1.0.6","_shasum":"c242b100d7748dcdfbb28adc3d0dde9f8d375bfc","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"c242b100d7748dcdfbb28adc3d0dde9f8d375bfc","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.6.tgz","integrity":"sha512-oxsbZV0Vk/b6xIRjfe0WACN0Q7ZpiGjiZT9pPleUWrNgpU++iZqwT/FAP08H9/REMMrb0Oc5HDYXJHaVKK3ung==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxdAQJZnk1xsbjnyzD0SMYALkdsx7CgEJwoyvEHNJmhwIgFfmZS10nAaZ1xTsP8BOCBDH8AAAbHpN31YM2sqKwmJQ="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.6.tgz_1459559625012_0.8306667928118259"},"directories":{}},"1.0.7":{"name":"sails-hook-orm","version":"1.0.7","description":"The next-gen ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/sails-hook-orm/issues"},"homepage":"https://github.com/mikermcneil/sails-hook-orm#readme","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"~9.3.0","waterline":"~0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"2.4.5","sails":"~0.12.1"},"gitHead":"680e0f1e6fa54b9c6c556b5a4a2364ca0e637c58","_id":"sails-hook-orm@1.0.7","_shasum":"ad0305f7dd77732b56bfbe143085c901c7d607ad","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"ad0305f7dd77732b56bfbe143085c901c7d607ad","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.7.tgz","integrity":"sha512-81EgkF/n/IUA0+EqpP0MzD0Me+VbYFJJ10vxXE/Cz5AGw7eANFl+6R/KZx2wcf/w/VFbY3r8HZGuAvGSy4pVOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe2pmRl4gLFsjhsUbe6kOq7ezy548WU7pFllIxaFF6uAIgD7FGW9ABWu59eTNUXv5i574nFYnzTRSF644yrbwvFSc="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.7.tgz_1475776171050_0.9597331993281841"},"directories":{}},"1.0.8":{"name":"sails-hook-orm","version":"1.0.8","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"2.0.1","lodash":"3.10.1","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^0.10.10","waterline":"~0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"8d68f05046016f31741392bad2a0e9f6e594b056","_id":"sails-hook-orm@1.0.8","_shasum":"fc1dc6cd7854b62df337184eb3bc8f869f6f2051","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"fc1dc6cd7854b62df337184eb3bc8f869f6f2051","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.8.tgz","integrity":"sha512-dexLTphlGdb6litrPHSkgrBVBlqGI9lEAz3K5rv9X8vMkcdcByLmvjQ+/AU1xlcoHLjxdC44oI0C15ku0xEvlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4lGUT/970zEBMb54qALq0pWYENHtdJ+W6wu9AFaqC3AiEAr/2BT1JTednlm28H2gysMDFUqFcx4WRRwxNZ8zXs45U="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.8.tgz_1478317462959_0.7730046710930765"},"directories":{}},"1.0.9":{"name":"sails-hook-orm","version":"1.0.9","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"~9.3.0","waterline":"~0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"2.4.5","sails":"~0.12.1"},"gitHead":"8df2f49993974654ab9df78a946db98d67afa01a","_id":"sails-hook-orm@1.0.9","_shasum":"461698a0cb154275343913f5e6242fe2762dbec8","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"461698a0cb154275343913f5e6242fe2762dbec8","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.9.tgz","integrity":"sha512-8NHhSP0ppVpVHrbrPK5H2aTDd1/Wl/5soiwV35gAx5QkVP5rmWxx3g83BSWCJcqfLMcqqR/E2y9CnH0uHgxeSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXtdoXxbQcTrMT/fa1ETxHeiXklTh9boVYkwP4W/+u3gIgRZ8xMjgvCpvb/KmjseuBVws9c36TH611OXTkFCOkd8Q="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.9.tgz_1478396259887_0.12983138975687325"},"directories":{}},"2.0.0-0":{"name":"sails-hook-orm","version":"2.0.0-0","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"2.0.1","lodash":"3.10.1","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^0.10.10","waterline":"~0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"96ff8fae05520b63af5a44e534a9a13bc9c2c1c5","_id":"sails-hook-orm@2.0.0-0","_shasum":"df56518b6c72194f6c4603aed1b6e2828c021cc4","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"df56518b6c72194f6c4603aed1b6e2828c021cc4","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-0.tgz","integrity":"sha512-ovc9c1o/OhUNhOv3ANVoetlQnLxxHTz8H/qwMoeWlyxQfJtBwiMabV+Q0IrvOqE1kcw7LhCU7QHVQr9QrxHmfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkOxUmFJF4+EltGWA3CycxiCW8FnzIRnM1D2ZptDawzAiB2iXI5+xCq+GdQCIIibRT1kEcFy6qEbVgiQ/J5Uw64Vw=="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-0.tgz_1478398068153_0.30963799403980374"},"directories":{}},"2.0.0-1":{"name":"sails-hook-orm","version":"2.0.0-1","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"2.0.1","lodash":"3.10.1","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^0.10.10","waterline":"~0.11.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"15158c3eb336accb6e417864df99ef52669ec32e","_id":"sails-hook-orm@2.0.0-1","_shasum":"6879fe443224613080820927ac41fbf00774a4f0","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"6879fe443224613080820927ac41fbf00774a4f0","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-1.tgz","integrity":"sha512-J8fPXEVh4CR0wNWpc1c7HoORUUMT9HF/T942ZMUw9yO/ql4bLVvkY8XuH+WFm+++AiYb2qo7wZRxJnKuLGSYcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvgHeNfpviN/b6YFiOsWY99M2kWSwAgULJYed5GHzIWgIgRBXq3fkrhEvY8Qot9rOI4ohiAGXViqSCNJiNyJjnkLg="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-1.tgz_1479337160756_0.7352947110775858"},"directories":{}},"2.0.0-2":{"name":"sails-hook-orm","version":"2.0.0-2","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"2.0.1","bluebird":"3.4.6","flaverr":"^1.0.0","lodash":"3.10.1","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^0.10.10","waterline":"github:balderdashy/waterline","waterline-utils":"github:treelinehq/waterline-utils"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"8583ae0b48571fe82efc19a11ba0e18385fa9b5b","_id":"sails-hook-orm@2.0.0-2","_shasum":"3e7fd098fb1023db8e9448c30c062dfb38ccf09e","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"3e7fd098fb1023db8e9448c30c062dfb38ccf09e","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-2.tgz","integrity":"sha512-mHpRMX9bf2PurzbrJt32BdI2sZf35qY1kTxDIH/sSDEctIHu3RnZ1xYS6zIsVqREKzOA1BxT0WWjIsUYXHrPKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTqSTrGu01gY/+ljY/XLGKNK3U1+/wLBoYIq/TtDR60AIhAPzs4WMlK/pPN0tasrEzKGYQpRgHKcJJCGVsFgFP6ay3"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-2.tgz_1482448191299_0.5091918730176985"},"directories":{}},"2.0.0-3":{"name":"sails-hook-orm","version":"2.0.0-3","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"2.0.1","bluebird":"3.2.1","flaverr":"^1.0.0","lodash":"3.10.1","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^0.10.10","waterline":"github:balderdashy/waterline","waterline-utils":"github:treelinehq/waterline-utils"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"334d21d2efde41b73846f4d64991f4921ef28aac","_id":"sails-hook-orm@2.0.0-3","_shasum":"d63861985961b7dcda168914dd4120856da58a30","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"d63861985961b7dcda168914dd4120856da58a30","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-3.tgz","integrity":"sha512-tugnVhlYabMkV78eTzk7TzgJyhE8wLb1rZQUUwJUey2QOc/CJIev6y90Jgq79ipXHPqhILzhTsmffyq7bpfb+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkyY/pz9AOd0GexMzAXA5jkUAC01MmhBLbQMz/ju+bHgIgRpF939qK7/+/ysW51/sYzkkNOi9Unx+wkAcNcNMu0ms="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-3.tgz_1483140993983_0.9941229484975338"},"directories":{}},"2.0.0-4":{"name":"sails-hook-orm","version":"2.0.0-4","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"2.0.1","bluebird":"3.2.1","flaverr":"^1.0.0","lodash":"3.10.1","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"f082ac5fd285bc707e5568fad999c0d9e2518c1e","_id":"sails-hook-orm@2.0.0-4","_shasum":"efb69f14b28178509a00c838522d46bb68115ab9","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"efb69f14b28178509a00c838522d46bb68115ab9","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-4.tgz","integrity":"sha512-ai7pFaPa5bZyZf7I0pcNePl1QwU9N7IYlRRcR6fmKEkSFoPizF5e3Sjn7E3SoKrtp+g1yyQ6uFJNoFojDOoKug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBPXSu3hwU3bnQlHBxt0UurDRIYMJM8IrCqEKcgUsZaQIgK55uaNrtVKO0bJBqgJs1kAPFVEo9mc7lriAum5GP+8U="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-4.tgz_1483146486523_0.9997890593949705"},"directories":{}},"2.0.0-5":{"name":"sails-hook-orm","version":"2.0.0-5","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"2.0.1","bluebird":"3.2.1","flaverr":"^1.0.0","lodash":"3.10.1","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"eb587b97e0edad4fcd8b34c64825bf47d013574c","_id":"sails-hook-orm@2.0.0-5","_shasum":"7964a55218d7308d30976d733622b2cb9ac5d519","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"7964a55218d7308d30976d733622b2cb9ac5d519","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-5.tgz","integrity":"sha512-sOuptMKcDn7MZyx3QjKcuTfaozPJDoFIXYH285HHp8noPIENnOcWRSNi9v8YWmIlWYXpQgrWwvhuTMWHHQxPOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNOWwW1Y9tN0P02f3g8Mud9kcL1ZITCWF2p/nQ/8QgbAIgS4SElaxQ+DBLDt8XPrSiGmXqPAJgptS6KDboqr0+idw="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-5.tgz_1483643092144_0.06933468231000006"},"directories":{}},"1.0.10-1":{"name":"sails-hook-orm","version":"1.0.10-1","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"async":"1.5.2","lodash":"3.10.1","prompt":"0.2.14","rttc":"~9.3.0","waterline":"~0.11.7-1"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"2.4.5","sails":"~0.12.1"},"gitHead":"b4fe042f9da3f428ed9f82ee15872e7b1b43e202","_id":"sails-hook-orm@1.0.10-1","_shasum":"201a056c36433d3c2cc93195654def96a4a3353e","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"particlebanana","email":"particlebanana@gmail.com"},"dist":{"shasum":"201a056c36433d3c2cc93195654def96a4a3353e","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-1.0.10-1.tgz","integrity":"sha512-z+uHcG5sL3GyPIikfWmL+2dNcxhJQ40XvxsMtbkoiMSUyFxSHdGUNznze68UkHcq6pSpiQQCgyNBGMXK/vaMHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFIXjfde7VJb6tFWC0/s4hhoZuGYYpDWHTPtDtT5LAdAiEAtbw/kPh904KfwTcJGTiPhAKLqWwqQIq87StqdwTgkGg="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-1.0.10-1.tgz_1484605088627_0.32646168605424464"},"directories":{}},"2.0.0-6":{"name":"sails-hook-orm","version":"2.0.0-6","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","bluebird":"3.2.1","flaverr":"^1.0.0","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"d463f2e01dbec01d943e59a2aed2dea1089adbea","_id":"sails-hook-orm@2.0.0-6","_shasum":"288ded520b82558df73144d6629195c2c8947c72","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"288ded520b82558df73144d6629195c2c8947c72","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-6.tgz","integrity":"sha512-PmXbIHTZsXuBbTlP4oGT0fyN+9SMm6iTJrUUm62NwVAdwlnr1mqzRvsm8GFWwlbYWsfGQKH3rApD0HLAjG2UfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPMiSJoktghfouLBv0+r9K9uupxzxMBne2Gfx8D27VWAiEAkEuuxh6vS43UMqkWMwgE4v1Y6K5NT+XZ7x8gJBvQlIs="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-6.tgz_1485272011987_0.5019884342327714"},"directories":{}},"2.0.0-7":{"name":"sails-hook-orm","version":"2.0.0-7","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","bluebird":"3.2.1","flaverr":"^1.0.0","prompt":"0.2.14","rttc":"^10.0.0-0","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"623408bd82adf085d5f9ce1b2835a3ded4d637da","_id":"sails-hook-orm@2.0.0-7","_shasum":"a911bc28cf5849cf3a48443c841cd39b94dd1287","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"a911bc28cf5849cf3a48443c841cd39b94dd1287","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-7.tgz","integrity":"sha512-0128TqrPU45f3BDQPD415sqU48cyZzTT+FUaPxUI6N6Z8EUnVrz/ei+v6QXeWNWl0rqES/JtObX9lmeDkEOq0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBh9FxgDH1ItaP/LQzZFNgrsuC+D6voRWtyD8aSx5zDpAiA8WhBYXOK93ARhGKh1FgksFBIy5pxDU59oBnqySuo73w=="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-7.tgz_1485283203429_0.3197386981919408"},"directories":{}},"2.0.0-8":{"name":"sails-hook-orm","version":"2.0.0-8","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"b05efeb4ecb1e4a59c419440d67e5657aa5dc723","_id":"sails-hook-orm@2.0.0-8","_shasum":"e054fb5e88a347dfba607bd7ad7add0b479377cd","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"e054fb5e88a347dfba607bd7ad7add0b479377cd","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-8.tgz","integrity":"sha512-Y166uksMijOhHM1v+FwhZ6Og+7cZ5WIHhmgUK1gBZE590msGJjM7d7Wp0F7VN32TBbp05GDRUt0UpIdlvsr4Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEEjhL2qeQ3sPIgjs0O8XHzADIzZNTImtx/58O88XqtzAiEAzzZzug7yhthNOyODXW++aMhzrJFKmG4VByYMrFMOFtE="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-8.tgz_1485991515077_0.050315940054133534"},"directories":{}},"2.0.0-9":{"name":"sails-hook-orm","version":"2.0.0-9","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"6374fcb1be60cd65431e220167674c63fc2da7aa","_id":"sails-hook-orm@2.0.0-9","_shasum":"5ddf51feab97a36e2a2ccaba448777c7aa2fb9c9","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"5ddf51feab97a36e2a2ccaba448777c7aa2fb9c9","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-9.tgz","integrity":"sha512-+j61oSwHLepcf9la6pKLahmwJt2NrjQLBxDlH++MeX4CLJ6WfDh8B0vgxLME5TSO3bFXg2TdMqPhVB58a0ck5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxGUic2Is7n/rS4xn7VcAGmavaeZwILYoqU6rzKKi/RgIhAL6jiNDNldxtt96giGZppIYg4F9XCiggGi0rJhlOEXT2"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-9.tgz_1486349158055_0.5821994699072093"},"directories":{}},"2.0.0-10":{"name":"sails-hook-orm","version":"2.0.0-10","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"09a6d316746780d8f2d1412f9c0bbfd2515d49b8","_id":"sails-hook-orm@2.0.0-10","_shasum":"00a99a392434e3b37c02bd208c8c11d8bbaa83d4","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"00a99a392434e3b37c02bd208c8c11d8bbaa83d4","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-10.tgz","integrity":"sha512-4GPt1zQezWzVKIkdsS3gbmzDCXtFuataze1hRAgKJIP0Jdn9kQ8U9Y6o+EAp6713/u287xIcxFuWVHjwyNnPmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQpSrrnEFPpuEUdYrae/kLlLvMIwtcwVM1j3gSUtLfsAiEA+FC/fSicuiu2Nt5mcW6c2SAPPuvzmKU2TsaFoD109HI="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-10.tgz_1486489126573_0.2187422402203083"},"directories":{}},"2.0.0-11":{"name":"sails-hook-orm","version":"2.0.0-11","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"72bd367c8d5b1ad27711dc19561ae5a1edd33dc8","_id":"sails-hook-orm@2.0.0-11","_shasum":"519dd13399ed67e23ad36f6c0d19d68746241555","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"519dd13399ed67e23ad36f6c0d19d68746241555","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-11.tgz","integrity":"sha512-EyCRcPpEBkZSxdV4bceZT+601gl4jk477Eb61+gJckSvYxBjfM+7904h6LDJl+keQ9vL4wxU0GdeUuwxwurvag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfmF+oOKF06MEcI3DjjnZ4UiT4ts73s3+L2SeHEvlKBQIhALBHRFfqXURxeQ3Xdqk/aUE+wmAy/PRfSzXf8k5N3C+L"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-11.tgz_1487115222580_0.39535000501200557"},"directories":{}},"2.0.0-12":{"name":"sails-hook-orm","version":"2.0.0-12","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"7cf96f88e6eb00c98a1e96a7f9244874f55aff1a","_id":"sails-hook-orm@2.0.0-12","_shasum":"cd7249ad2614d5e4a664ce6391429b274bb31977","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"cd7249ad2614d5e4a664ce6391429b274bb31977","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-12.tgz","integrity":"sha512-bsihaYVZiJZJvmM3/iSun6++aiu/ptk+hBj/ZAV0FtmXXOzNlriOxY5o3XUkUmOiqw1yUjWONZ5oBgmsHzagrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWr9Tyz3VXByeFTQRBgS6oGM+vPLeOFFMcKH/2XYdj0AIhAO4x+CKBrQ3fDiaWeYc6572Z8ooHreEdzuEoh7tlgzbb"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-12.tgz_1487198807135_0.6725383710581809"},"directories":{}},"2.0.0-13":{"name":"sails-hook-orm","version":"2.0.0-13","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"d0f9bc111df44f17774fd7228c2561a6014c0167","_id":"sails-hook-orm@2.0.0-13","_shasum":"21a1cc23a2d50b10d0199f5402b512c5af9bddeb","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"21a1cc23a2d50b10d0199f5402b512c5af9bddeb","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-13.tgz","integrity":"sha512-Z4kUvg2Dz5X7qfUbTlNIv329QNBHfZN6Cj2XtOYQJ6r7KEAiN7uVodg9p1savc4yQwRq6gI/vE3iIdsPnOCOvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6u+aEcniLkt0idcceO1VD9EYy8M2AOq9gXqUSMGBncgIgI9RI4AAZq8Ppp5QkC/Jvb7sJNuM166Z7af0yfq+aVLY="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-13.tgz_1487812285194_0.89956308552064"},"directories":{}},"2.0.0-14":{"name":"sails-hook-orm","version":"2.0.0-14","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"ff5a966989b219b94ff2a836d1e3fc52669e6983","_id":"sails-hook-orm@2.0.0-14","_shasum":"ff9834d2a5dcb1990d48a8a6fc3007e994194ee8","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},"dist":{"shasum":"ff9834d2a5dcb1990d48a8a6fc3007e994194ee8","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-14.tgz","integrity":"sha512-FhSzuWm7RAft1C7Eb6Ku221k9yE6Tkp5zmvcOEZ4JY4ySp7oEKtF5DMN1mIUH6rvur/EeLvxLVjrEevHOsGtGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuCceqGKFuqC/YwzyO9Cct5bjdEuc6qckZVrKRPtg5rAiAv1t7sD2FnbZaOxnBK5vSR37OytVd5aou2hi+HhW4Exw=="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-14.tgz_1487874049319_0.2844184418208897"},"directories":{}},"2.0.0-15":{"name":"sails-hook-orm","version":"2.0.0-15","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"1cdb652aea41e2ede2305caef0d0167b79c5c052","_id":"sails-hook-orm@2.0.0-15","_shasum":"8438e924d550614292c949a1d4c7905b1eb90d96","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"8438e924d550614292c949a1d4c7905b1eb90d96","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-15.tgz","integrity":"sha512-N6N+UQ8Tu10GTpwUW4sh7mSnPMm2jOx8GuaUug8/LSEld4PAz+s0mBgQkKQP4E9ayod0BBae5N/sbnk/JsJB1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmjxa+fYnbbfj6gRKsYh7pfcWveZoqDFjdBkTQkKyPrAIhAMel3p7Et3EckTxea85tRWDL/kTS7vi+PHcrkw90bs6P"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-15.tgz_1488572038662_0.17945235362276435"},"directories":{}},"2.0.0-16":{"name":"sails-hook-orm","version":"2.0.0-16","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"9cd003af206aa8cd6f8de56a28be36916025cd48","_id":"sails-hook-orm@2.0.0-16","_shasum":"00754b5df130ec3c1d52f9f5cc09822741a03257","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"00754b5df130ec3c1d52f9f5cc09822741a03257","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-16.tgz","integrity":"sha512-/vAVq8YuRf886Alua0evng6NV2vYI7NncySas6YH8EyXDBrYgM+WhNeZOSUkvckR9F1SXaUiN4l5DPbRgv2lnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtbfeOshPCdeGepfMce7W7yZqQXBprijuM0Kh9HJ5lbgIhAIWZSGGWl3HRpNQisSa+F/QLR5ILNNwLH5ZkUErY3u46"}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-16.tgz_1490912821131_0.45511220255866647"},"directories":{}},"2.0.0-17":{"name":"sails-hook-orm","version":"2.0.0-17","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-2","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"60d3e476cb94d790e114cc985a05767fedbf5864","_id":"sails-hook-orm@2.0.0-17","_shasum":"cb8f9b14b3b6b05bca9acd16bbf4c4b0e04abecd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"cb8f9b14b3b6b05bca9acd16bbf4c4b0e04abecd","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-17.tgz","integrity":"sha512-PjBfO3ijIKMNuTwGzqkVTJ8ytngDlqBRnuXA3xp2PdPZalO7Vma8j+WcZpQwdSwYxmHh2MN/mVZthbpgxXSNzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjvrBQObkYysQx+lm149W1sBvSDtc4xiGXIBf8ge+FBAiEAlEqFKiD9yDGNPurHQdqCy3cqMLTm6PaY/CnOXhXImPI="}]},"maintainers":[{"name":"mikermcneil","email":"michael.r.mcneil@gmail.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"sgress454@treeline.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sails-hook-orm-2.0.0-17.tgz_1493411248297_0.37592199351638556"},"directories":{}},"2.0.0-18":{"name":"sails-hook-orm","version":"2.0.0-18","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.0-rc11","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"5240546cee7d900071be3f85ffd3f730db4b1b3a","_id":"sails-hook-orm@2.0.0-18","_shasum":"19321755cad705cfb9efe6a49935625e24657490","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"shasum":"19321755cad705cfb9efe6a49935625e24657490","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-18.tgz","integrity":"sha512-3MKYYc434zZc2mWXtZCCI4G2IQo2xO0CZWcMX9QEBgQyEV78bcL/0JOUICr4tgRdvSWpiodWOTnERELK0IBoOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZMvPL5h9jdxyMKuGTz6T4wOzVtXid1ZjAwTyJauVL5AiEAsxEA/QLHhaUyfqtR6GtCSVEATH/YBbCZqjDQIKKgAG4="}]},"maintainers":[{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"sgress454@treeline.io","name":"sgress454"},{"email":"npm@sailsjs.com","name":"mikermcneil"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm-2.0.0-18.tgz_1496289934159_0.9344164351932704"},"directories":{}},"2.0.0-19":{"name":"sails-hook-orm","version":"2.0.0-19","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"node ./node_modules/mocha/bin/mocha test -t 15000","posttest":"npm run lint","lint":"node node_modules/eslint/bin/eslint.js lib constants index.js"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"0.13.0-rc11","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"mocha":"3.0.2","sails":"^1.0.0-5","eslint":"2.11.1"},"gitHead":"d0364f61d883c51827db58655e6edac01772978f","_id":"sails-hook-orm@2.0.0-19","_npmVersion":"5.2.0","_nodeVersion":"8.1.2","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-8l+BE5cQ0KNopRqw35dQFJehP7My2q5jsKzmN5Eev7MolBDOcbE2H0vIMJlIWkRjdToY0RIf4i3TiYp0hcGcAA==","shasum":"74df43456f153b59b4da3be5b7a30a2bf9593769","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-19.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGG8P9Hma+DagChjsTQNTeaFWpBKt4lNSswVvKPf9DJEAiEA48V5VsjiwV/TrxY9xCFfI7cJuJ/cYFazHF4fy8r0SUU="}]},"maintainers":[{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"sgress454@treeline.io","name":"sgress454"},{"email":"npm@sailsjs.com","name":"mikermcneil"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm-2.0.0-19.tgz_1499976365065_0.24271676572971046"},"directories":{}},"2.0.0-20":{"name":"sails-hook-orm","version":"2.0.0-20","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"0.13.0-rc11","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"3.19.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"43c78ed209073cf8ebd2b6073e4b35f4197d7264","_id":"sails-hook-orm@2.0.0-20","_npmVersion":"5.2.0","_nodeVersion":"8.1.2","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-TxQsr53onN1mtMXrIhoIDOJq6BaqO5uVA2yH5lKq5ndBju12AEoFh2/vWfeV+22C875MYoLQE9kmdh9n1mAfhQ==","shasum":"75907bf402f6f481607043ba1b5081f9380348e6","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-20.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHVcFXuMgoPb8YQVncQxytECTAOb8U0IYWmsOpVs0vbAiAq8/qd4BNgg7uaNi3kk6n5xpBkf+0TYMbnZh+NfR8i4w=="}]},"maintainers":[{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"sgress454@treeline.io","name":"sgress454"},{"email":"npm@sailsjs.com","name":"mikermcneil"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm-2.0.0-20.tgz_1502307293939_0.10272922203876078"},"directories":{}},"2.0.0-21":{"name":"sails-hook-orm","version":"2.0.0-21","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"http://sailsjs.com/bugs"},"homepage":"http://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.0.0","parley":"^2.1.0","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.1-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"3.19.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"8139c2639be81b03a6ada691a17c2324260e55fe","_id":"sails-hook-orm@2.0.0-21","_shasum":"6fcdedef47f4d8c359b0a09cfb8e8fefdbf48072","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"sgress454","email":"sgress454@treeline.io"},"dist":{"shasum":"6fcdedef47f4d8c359b0a09cfb8e8fefdbf48072","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-21.tgz","integrity":"sha512-q5fVI7/fxBGOxuoS4ft5Trzn59xD3AVJPk30C1pFXneBXm2YREjB1XUvzIQVm1Tv96C5lJ4GauXE5/PE1CtuJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsRxUmvOsuapbKs6skZZR4L66P4bognmYXILaSwLF9lAiEA9cO6Pbla8WNSVYbZCBmLvwpYm7HCM7wHJzQ6s1cSkc4="}]},"maintainers":[{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"sgress454@treeline.io","name":"sgress454"},{"email":"npm@sailsjs.com","name":"mikermcneil"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm-2.0.0-21.tgz_1502487466830_0.3461941219866276"},"directories":{}},"2.0.0-22":{"name":"sails-hook-orm","version":"2.0.0-22","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.1-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"3.19.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"6e678df8d9b140dfa62b0e2b4f439dde1d52794a","_id":"sails-hook-orm@2.0.0-22","_npmVersion":"5.2.0","_nodeVersion":"8.1.2","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-8CkBd8FQVGN9/vZp+N6ooZlfigKnHFIpiF7ozg9NIQmLHi1Fl3gNlqdsWaos0VtyQNLKKGPPlNVb7N+uvMRugA==","shasum":"6d2dc65e07cb0b9607e4653b18984e1ea9d88f0a","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-22.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICD0ep+DL/CC+X8dNRMkan/FEAYC0jv5kaY/Z7GaX+N+AiAOdtQ+0p/tux+JKrtNAvUzyLOqRJteJwfs6vD7+i5XUQ=="}]},"maintainers":[{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"sgress454@treeline.io","name":"sgress454"},{"email":"npm@sailsjs.com","name":"mikermcneil"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm-2.0.0-22.tgz_1511301281337_0.7816313549410552"},"directories":{}},"2.0.0-23":{"name":"sails-hook-orm","version":"2.0.0-23","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.1-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"58eef5456ae26fed78e84f5178710f26b9211db9","_id":"sails-hook-orm@2.0.0-23","_npmVersion":"5.2.0","_nodeVersion":"8.1.2","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-WaKLvaYCzYqehJZjcCrTFmBSKrc+6IhLFoMnzirziK+cwAmSoRc6D7gmWckgCCQmKtBeeZChnNDA7HHRr9tbrA==","shasum":"cdd5681396fedd54dd2a8e6a6ec4a5d0d0a16aa0","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0-23.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1kpwi2fl0oK4W0ZMzum26aXd+nhoh+lJf8xrjj++UGAIgL2tCdf5IT8LvjxBQDEx5zYyy+xTzgIGjxHyZL/NsfE8="}]},"maintainers":[{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"sgress454@treeline.io","name":"sgress454"},{"email":"npm@sailsjs.com","name":"mikermcneil"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm-2.0.0-23.tgz_1517344615423_0.49128952296450734"},"directories":{}},"2.0.0":{"name":"sails-hook-orm","version":"2.0.0","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.1-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"readme":"# sails-hook-orm\n\nImplements support for Waterline ORM in Sails.\n\n> This is a core hook in the Sails.js framework.  You can override or disable it using your sailsrc file or environment variables.  See [Concepts > Configuration](http://sailsjs.com/docs/concepts/configuration) for more information.\n\n\n## Dependencies\n\nIn order for this hook to load, the following other hooks must have already finished loading:\n\n- moduleloader\n- userconfig\n\n\n## Dependents\n\nIf this hook is disabled, in order for Sails to load, the following other core hooks must also be disabled:\n\n- blueprints\n- pubsub\n\n\n## Purpose\n\nThis hook's responsibilities are:\n\n\n##### Load adapters\n\nWhen Sails loads, this hook calls out to `sails.modules.loadAdapters()` (exposed by the `moduleloader`), loading any custom adapters defined within the app.  It also loads adapters which are installed as dependencies of the app itself (i.e. in its `node_modules/` folder).  These adapters are used when instantiating Waterline.\n\n\n##### Load and hydrate models, then expose them as `sails.models.*`\nWhen Sails loads, this hook calls out to `sails.modules.loadModels()` (exposed by the `moduleloader`), loading model files from the app's models folder.\n\n##### Prompt about auto-migration\nSince instantiating Waterline currently has the effect of auto-migrating existing data (dependending on the `migrate` configuration), the orm hook shows a prompt before instantiating Waterline if no `migrate` setting is explicitly configured.\n\n\n##### Instantiate Waterline\nAs mentioned above, since all configuration, models, and adapters are loaded, this hook can safely instantiate Waterline.\n\n\n##### Expose hydrated models as `sails.models`\nIt then passes them to Waterline to turn them into Model instances with all the expected methods like `.create()`, and then exposes them as `sails.models`.  Conventionally this models folder is `api/models/`, but it can be configured in `sails.config.paths`.\n\n- Note that the set of hydrated models in the `sails.models` also includes Waterline models which were implicitly created as junctors (i.e. for any `collection` associations whose `via` does not point at a `model` association).\n- Also note that models are exposed on `sails.models` are keyed by their identities.  That is, if you have a model file `Wolf.js`, it will be available as `sails.models.wolf`.\n\n\n##### Expose global variable for each model\nIf enabled (`sails.config.globals.models` set to true), use the inferred `globalId` of each model to expose it as a global variable.\n\n\n\n## Implicit Defaults\nThis hook sets the following implicit default configuration on `sails.config`:\n\n\n| Property                                       | Type          | Default         |\n|------------------------------------------------|:-------------:|-----------------|\n| `sails.config.globals.models`                  | ((boolean))   | `true`          |\n| `sails.config.models.datastore`                | ((string))    | `default`   |\n| `sails.config.datastores.default.adapter`      | ((ref))    | `require('sails-disk')`    |\n\n\ni.e.\n\n```javascript\n{\n  globals: {\n    adapters: true,\n    models: true\n  },\n\n  // Default model properties\n  models: {\n\n    // This default datastore for the app will be used for\n    // each model unless otherwise specified.\n    datastore: 'default'\n  },\n\n\n  // Connections to data sources, web services, and external APIs.\n  // Can be attached to models and/or accessed directly.\n  datastores: {\n\n    // Built-in disk persistence\n    // (by default, creates the file: `.tmp/localDiskDb.db`)\n    default: {\n      adapter: 'sails-disk'\n    }\n  }\n}\n```\n\n\n## Events\n\n##### `hook:orm:loaded`\n\nEmitted when this hook has been automatically loaded by Sails core, and triggered the callback in its `initialize` function.\n\n\n##### `hook:orm:reload`\n\nThis event is no longer emitted by this hook.  This event will likely be replaced by making `.reload()` a public function.\n\n> This event is experimental and is likely to change in a future release.\n\n\n##### `hook:orm:reloaded`\n\nEmitted when a reload is complete.  This event will likely be replaced by expecting a callback in `.reload()`.\n\n> This event is experimental and is likely to change in a future release.\n\n\n\n\n## Methods\n\n#### sails.hooks.orm.reload()\n\nReload the ORM hook, reloading models and adapters from disk, and reinstantiating Waterline.\n\n- Note that **this does not automatically reload dependent hooks** (such as blueprints).\n- Also note that there is currently no callback.\n\n```javascript\nsails.hooks.orm.reload();\n```\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n\n#### sails.hooks.orm.teardown()\n\nCall the `teardown()` method for adapters which have one, and which were previously loaded by the ORM hook.\n\n```javascript\nsails.hooks.orm.teardown(cb);\n```\n\n\n###### Usage\n\n\n|     |          Argument           | Type                | Details\n| --- | --------------------------- | ------------------- | ----------------------------------------------------------------------------------\n| 1   |        **cb**               | ((function))        | Optional. Fires when the teardown process for the hook is complete.\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n## FAQ\n\n> If you have a question about this hook that isn't covered here, please feel free to send a PR adding it to this section (even if you don't have the answer, a core maintainer will merge your PR and add an answer as soon as possible)\n\n#### What is this?\n\nThis repo contains a hook, one of the building blocks Sails is made out of.\n\n#### What version of Sails is this for?\n\nThis hook is a dependency of Sails core as of Sails v0.12, in Sails v1, and beyond.\n\n\n#### Can I disable this hook?\n\nYes.  To disable this hook, merge the following JSON into your project's `.sailsrc` file:\n\n```json\n{\n  \"hooks\": {\n    \"orm\": false\n  }\n}\n```\n\n#### Can I override this hook to use a different ORM like Mongoose or Bookshelf instead of Waterline?\n\nYes.  To override this hook, define your replacement hook with `identity: orm` in your `.sailsrc` file or your app's `api/hooks/` directory.\n\n\n## Help\n\nIf you have further questions or are having trouble, click [here](http://sailsjs.com/support).\n\n\n## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/sails-hook-orm.svg)](http://npmjs.com/package/sails-hook-orm)\n\nTo report a bug, [click here](http://sailsjs.com/bugs).\n\n\n## Contributing\n\nPlease observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.\n\n[![NPM](https://nodei.co/npm/sails-hook-orm.png?downloads=true)](http://npmjs.com/package/sails-hook-orm)\n\n\n## License\n\nThe [Sails framework](http://sailsjs.com) is free and open-source under the [MIT License](http://sailsjs.com/license).\n\n","readmeFilename":"README.md","gitHead":"1e9e6f2de2b6973848a8f4f81d2d4bdd644ca83d","_id":"sails-hook-orm@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-f9xoADh+NwCEV7UN1Xos4WNyNP7CdC/h+CexzoZjfs3OXBDJcPc7DX8TX0pv/VmXFbt7EluuVf6QX/2gUOHyZg==","shasum":"1e22cfdde3c4e67588a8d43489c6616816c93260","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.0.tgz","fileCount":37,"unpackedSize":209652,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVcDTouJ7HIbttj7dmeULa9Y7/61JXhNdke36ju0PxHQIgLdk+IjAuNZoDDkwvpnWB5IFBloGOQNrTA6gnlytqa3A="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_2.0.0_1522256500322_0.43441571486526187"},"_hasShrinkwrap":false},"2.0.1":{"name":"sails-hook-orm","version":"2.0.1","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.1-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"9013937fcb38382e20aee863fddce1606dd27287","_id":"sails-hook-orm@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-7KuORGS9DBIxvNfIIqhmh+y+hB+iEqwMykCr3PONW0Ineqqs52g4FHCFC+pOdzw4H7DHnnzjRijd6hhMMZLc1Q==","shasum":"ce270f336fb7005d3df5b3afb9d7af52442680b4","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.0.1.tgz","fileCount":37,"unpackedSize":209795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa73AICRA9TVsSAnZWagAAo5QP/Ao2zx4HsjdttVXhScoz\nQdtuBAhaARc5CcPo96AeiQSuxLPcdxomepH4rd3QJ1n4NY4g9gGIJI+akQgJ\nsNSKOcYAbNbRwoGDTgFhOmJaSeYkWtAnnbAiGEQ51jVaDuBT9TVIK5dEVZG5\n1dHJ4WEGeK7N00SK8y+/jXSzKNE+yn6ugULX0ST1QOwldQ4vmIwq1hhoKXLO\nrpMOtjZF5yFSjMIYfPQYUk02lJJjbJbDtMZRNjBZbZ6F8WsQ9+54FQq2Z4eE\nscbHGvaCOmuThtW8f8ILuBoTgmeQVxF09jUElfFouymK03fxJ5lQT5shp3Nh\nzSjEoLLtBq9FsRct/OzIgQ57075YrthDVC6vH/0b1RkwyUQH923BWGgsu/bm\nMyiauc1RD23D34NrX3n8wshOOWNbh7Q3U8RjLSTXXwpxO+hLbGAPGpyYcqIB\nHtEuWhdf34h20dYGTAVewZtZnEul657HhnFhw7u3yxMWbtpt0ds2oLPUPRaw\n/Bq2RppLug6PvlGbQaU5P1Jmb0UexOCqm/u19XDPox1cfyXdfWtYlGJ+7k45\nkVdsjImVUV+fkvCRuLSE/u60v/JtkbQDhG87nUAZjOTqboizHJHk9MatZAuc\n7yYMvEue7k6qzFxbeIWBOj7aLM003hXl0rbR2A3F32khIHfYuaDTdvprc3NN\nTQqb\r\n=+Atz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXVIEmV+hss2yNkc8m/KLRoeH9gCvn+nXGG+/L4gkT2AiB7HiVSihS+o9zzYILHbH3gEZB/Hwyz+sPdG3QqNAhEbQ=="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_2.0.1_1525641223219_0.7062134073843025"},"_hasShrinkwrap":false},"2.1.0-0":{"name":"sails-hook-orm","version":"2.1.0-0","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.5-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"readme":"# sails-hook-orm\n\nImplements support for Waterline ORM in Sails.\n\n> This is a core hook in the Sails.js framework.  You can override or disable it using your sailsrc file or environment variables.  See [Concepts > Configuration](http://sailsjs.com/docs/concepts/configuration) for more information.\n\n\n## Dependencies\n\nIn order for this hook to load, the following other hooks must have already finished loading:\n\n- moduleloader\n- userconfig\n\n\n## Dependents\n\nIf this hook is disabled, in order for Sails to load, the following other core hooks must also be disabled:\n\n- blueprints\n- pubsub\n\n\n## Purpose\n\nThis hook's responsibilities are:\n\n\n##### Load adapters\n\nWhen Sails loads, this hook calls out to `sails.modules.loadAdapters()` (exposed by the `moduleloader`), loading any custom adapters defined within the app.  It also loads adapters which are installed as dependencies of the app itself (i.e. in its `node_modules/` folder).  These adapters are used when instantiating Waterline.\n\n\n##### Load and hydrate models, then expose them as `sails.models.*`\nWhen Sails loads, this hook calls out to `sails.modules.loadModels()` (exposed by the `moduleloader`), loading model files from the app's models folder.\n\n##### Prompt about auto-migration\nSince instantiating Waterline currently has the effect of auto-migrating existing data (dependending on the `migrate` configuration), the orm hook shows a prompt before instantiating Waterline if no `migrate` setting is explicitly configured.\n\n\n##### Instantiate Waterline\nAs mentioned above, since all configuration, models, and adapters are loaded, this hook can safely instantiate Waterline.\n\n\n##### Expose hydrated models as `sails.models`\nIt then passes them to Waterline to turn them into Model instances with all the expected methods like `.create()`, and then exposes them as `sails.models`.  Conventionally this models folder is `api/models/`, but it can be configured in `sails.config.paths`.\n\n- Note that the set of hydrated models in the `sails.models` also includes Waterline models which were implicitly created as junctors (i.e. for any `collection` associations whose `via` does not point at a `model` association).\n- Also note that models are exposed on `sails.models` are keyed by their identities.  That is, if you have a model file `Wolf.js`, it will be available as `sails.models.wolf`.\n\n\n##### Expose global variable for each model\nIf enabled (`sails.config.globals.models` set to true), use the inferred `globalId` of each model to expose it as a global variable.\n\n\n\n## Implicit Defaults\nThis hook sets the following implicit default configuration on `sails.config`:\n\n\n| Property                                       | Type          | Default         |\n|------------------------------------------------|:-------------:|-----------------|\n| `sails.config.globals.models`                  | ((boolean))   | `true`          |\n| `sails.config.models.datastore`                | ((string))    | `default`   |\n| `sails.config.datastores.default.adapter`      | ((ref))    | `require('sails-disk')`    |\n\n\ni.e.\n\n```javascript\n{\n  globals: {\n    adapters: true,\n    models: true\n  },\n\n  // Default model properties\n  models: {\n\n    // This default datastore for the app will be used for\n    // each model unless otherwise specified.\n    datastore: 'default'\n  },\n\n\n  // Connections to data sources, web services, and external APIs.\n  // Can be attached to models and/or accessed directly.\n  datastores: {\n\n    // Built-in disk persistence\n    // (by default, creates the file: `.tmp/localDiskDb.db`)\n    default: {\n      adapter: 'sails-disk'\n    }\n  }\n}\n```\n\n\n## Events\n\n##### `hook:orm:loaded`\n\nEmitted when this hook has been automatically loaded by Sails core, and triggered the callback in its `initialize` function.\n\n\n##### `hook:orm:reload`\n\nThis event is no longer emitted by this hook.  This event will likely be replaced by making `.reload()` a public function.\n\n> This event is experimental and is likely to change in a future release.\n\n\n##### `hook:orm:reloaded`\n\nEmitted when a reload is complete.  This event will likely be replaced by expecting a callback in `.reload()`.\n\n> This event is experimental and is likely to change in a future release.\n\n\n\n\n## Methods\n\n#### sails.hooks.orm.reload()\n\nReload the ORM hook, reloading models and adapters from disk, and reinstantiating Waterline.\n\n- Note that **this does not automatically reload dependent hooks** (such as blueprints).\n- Also note that there is currently no callback.\n\n```javascript\nsails.hooks.orm.reload();\n```\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n\n#### sails.hooks.orm.teardown()\n\nCall the `teardown()` method for adapters which have one, and which were previously loaded by the ORM hook.\n\n```javascript\nsails.hooks.orm.teardown(cb);\n```\n\n\n###### Usage\n\n\n|     |          Argument           | Type                | Details\n| --- | --------------------------- | ------------------- | ----------------------------------------------------------------------------------\n| 1   |        **cb**               | ((function))        | Optional. Fires when the teardown process for the hook is complete.\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n## FAQ\n\n> If you have a question about this hook that isn't covered here, please feel free to send a PR adding it to this section (even if you don't have the answer, a core maintainer will merge your PR and add an answer as soon as possible)\n\n#### What is this?\n\nThis repo contains a hook, one of the building blocks Sails is made out of.\n\n#### What version of Sails is this for?\n\nThis hook is a dependency of Sails core as of Sails v0.12, in Sails v1, and beyond.\n\n\n#### Can I disable this hook?\n\nYes.  To disable this hook, merge the following JSON into your project's `.sailsrc` file:\n\n```json\n{\n  \"hooks\": {\n    \"orm\": false\n  }\n}\n```\n\n#### Can I override this hook to use a different ORM like Mongoose or Bookshelf instead of Waterline?\n\nYes.  To override this hook, define your replacement hook with `identity: orm` in your `.sailsrc` file or your app's `api/hooks/` directory.\n\n\n## Help\n\nIf you have further questions or are having trouble, click [here](http://sailsjs.com/support).\n\n\n## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/sails-hook-orm.svg)](http://npmjs.com/package/sails-hook-orm)\n\nTo report a bug, [click here](http://sailsjs.com/bugs).\n\n\n## Contributing\n\nPlease observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.\n\n[![NPM](https://nodei.co/npm/sails-hook-orm.png?downloads=true)](http://npmjs.com/package/sails-hook-orm)\n\n\n## License\n\nThe [Sails framework](http://sailsjs.com) is free and open-source under the [MIT License](http://sailsjs.com/license).\n\n","readmeFilename":"README.md","gitHead":"cb97d41eb7ebef657f8546b193ab8b6efc5d9cca","_id":"sails-hook-orm@2.1.0-0","_npmVersion":"6.1.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-V8B0e/+Zea6hxtoLX+5jMzTQz2rr6EbAlioPYcyh8PaxyJJd5KSEb8bTZrDs6AcSRmSQ9MFkwavXZscsWS4Ujw==","shasum":"d97dfc6055533e63a11a1638c9b6b740124d278b","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.1.0-0.tgz","fileCount":37,"unpackedSize":212449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDLWJCRA9TVsSAnZWagAAop4P/24yuKHk2XWshfzMzKHq\nh/SzBKTDdmCpIBDuCqJd1ZlvC2YQBZqb/po4Tca6b9+TNdEU8V4fZFrDNoXk\n7mwEzBaw97zVsi/avxLSydAqZAbqoWryNHI4lXPtmFl2kkf/qYx2vqo3f7pW\nso/Lpx/qwDSyoKbOTsTd5iZ0RAm6P1fsZFLIxwFc/Gc9SHc/lQ6kKc3JsR/3\nAbQxGxR0oFcIImjaCKI6qEXUeWgoKntxUSqTA2xSztKKQp7EZ+CxwUTCDlXF\nVMipY1M1nBwVVjREzfivJWydBE7HH3a+A2J4b5QzwQolRHOYKoSVJFGyxM9J\nHEDeRqvwg+6uRM5+TrZ6OtCfMkR+tgEyEW2Nm8nmtT1AFExXiC4zgq6gM6JX\nIblVGyBrz4+dUvHOSMWHwfJz1zJiYxymK/2/3b9+GyfkCxKZtq2vjMG4Fhi3\n6OjOtr0CNxOeUKCVTtvLNALqX+dfXJIQY78yD1y1c5s3F6sBBEMYCHjpXZNE\nnSCANkQ3CR3B2XbYjcApFbWB5VNti87jA3JlJd7RbyobqRcdGYMmuYTNqbx2\nqIt7fshgCx0tmshYfU2D/k7y7H7WoFgpF6ot5rShB53wOZ5aUUFUTatkEvVc\n34l4IAzCZS8s5G+GZYEbSCEI0SgNl5wqb9IosoqFCjYtiCSeAQUIFQOXbcxT\nT/ki\r\n=65ae\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRXCjYhI07w/80Z+C8yGUpmShVPr3f+pTjWMz5sMbYqAiA9xkWPagDbaUeKi2FwSxsO/Wyde6/5zzUWfydGwY62Qg=="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_2.1.0-0_1527559560885_0.5146266951077392"},"_hasShrinkwrap":false},"2.1.0":{"name":"sails-hook-orm","version":"2.1.0","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.5-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"96ba7eb803867a9f0127f8f973ef1201f3407b2e","_id":"sails-hook-orm@2.1.0","_npmVersion":"6.1.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-Q3bJV6zd283eGny89/CST1TY9swR+HQNcOL1ECXyzH2WuEYd8CCplVaF6WvEkJ73xwHol5r80PY2aDpu3h1b2Q==","shasum":"eaa8a2da2cd6b3afb164a0ea11966cca07fb7f77","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.1.0.tgz","fileCount":37,"unpackedSize":212447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVm9iCRA9TVsSAnZWagAAV1gP/ArjGMRVK+0mBynlFS5E\neY5RmAjzFrhy2C8lk5uHLAX1SC62fIa/DYAVdIefJbIXaxugi17jLguPLOsX\n/amaYbKrGfAgVqC+Vp5LSlsSJzK5jk1j/lMnhzvo5lRf0W5iV5VV6QJqShBx\n4SleC7vdwJ3tWFUHZezymMSh7Lth1MczYFRiZ69y03GYJaf9aQ06txa/VrKy\n5JWWUR58plsI0bkHdxWSkZLKhrWelRhKahzZxxxaEr79fkVqezdyNirjMflb\nIyEqNxKx4BZaOKLSd4quA6Lck+03hNrlOWJdFWpZFxaShuTH1YoyMVmNGqzt\neUjOK1OTU62DyCBLoGIVEN5GYZfCRvtVk5M3YlH8un6JPqoymV0lRpWC6K/y\noO30SUgE4aOjB+BUow9y2SanfK5ByYvYrChxNLhwOsCHgVb08VnhPKtkooRf\nQrRNGsUTIn+oFWP9e7nvw5/wExtLL5L5Adty/DpihkHAfjfffCO7PtaWC3YU\ndRyZqPJx6cy1jsN1i1CpctB2IUIMklm8txir9rOaUVoBb5Y+CjNARcfAZihC\nddgDVfAfpsqrkgXMK5Y+hPgVaiTGfW+OfF9saTO/WJIuJiEHq89H7GKW2w8U\n5PQird6+JaLjZLI+RSGaPv2zi74gZ42U+pyxMD4We7N6sKKWe1wgQuOEpvJY\nmP7e\r\n=w6ex\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQEnQrVuuPUVjNJ9hqr+9hx8/GiFMEsYo6lWIUw5yVogIgWoNUVo7GwJ37Cd69FTyHLv4J8S88s0uwJgLTNOThSxA="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_2.1.0_1532391265957_0.8794704361769954"},"_hasShrinkwrap":false},"2.1.1":{"name":"sails-hook-orm","version":"2.1.1","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/mikermcneil/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.5-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"a2b5236d77de202890029658978c4c95dc78b521","_id":"sails-hook-orm@2.1.1","_npmVersion":"6.1.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-O6BqlAOpsomXDo6aJyZtmWNn2NwKvONZEFEy5tMhuP682HRxZ40p4iWLz0mkLzAfonpcCr91YoXCXqlWzLkpEA==","shasum":"3ea72da780fc6c0be56889b989bb5bc574bd2545","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-2.1.1.tgz","fileCount":37,"unpackedSize":212445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx6IsCRA9TVsSAnZWagAA2r8P/R9XmwCLhQo2pnWvtNqg\nt4rAAkiaP0iOK3VQQhOeqTMJzNy+ZWBWVF5LyWvtLRFEeGA1zCt2UDpLEqxK\nSGSeyJiONONJorKuCtZxrT4Zc6o/Zx3kT5xorZTWbU4EiJcjXpbEAAW4aMY8\nRqJsvY1c/3o/Df/R7EhthVQaFnb5JqeY7oTB9ayUQuMs47U8H91VwOAu9vsk\nlrgws8pX+bQHSfv5nPqc9gqkXU3or09n+uaKYZBbWd+cmJJ1d5QQNOYMW917\nxdPHUidtX7psi0/e++pO3osiu+zECLTUrhQrsM2Ddxx8WY3/rtW6MZ2XYUoo\nmKdpOLn7mwExy+vpI4ZEqKN7geWcXEERjTQg08O5J6xi8ZHSR+1821t4VKf+\n3tRql9Nk8zgDi07m8gKcdO4hqJ/CuODqEi3DF+96YmcisPlPmkPb1fCdmB4t\nBf5NFRES1+7MR+rwtexKHnjQtSs3z61i6k1LdfQ22k50b98ey7NZcEoZUB+K\nhUcHEWkPbyhzZqpOrsOqlx7MSohNl2nZxIW29sMcHM3vsURN4kB9mFmw/ZSP\nMrecBN33eyl6sT3XD07cyfteCJIe9z9rNv7QbCl6NInHZl02xYonJAjeJ/I/\nPYUzSPZFVH9+4e2kWcGaSzohur9mXi1ifsWbWMYMFr9aOgCC5UdJkSDGEevn\nuVPv\r\n=n0LR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVL3amv+KCjJtTQYfr/9oTKtQ2j7pysJlfKE07T/kgYgIgRYXDgQd1dNh1qn+gX87+8zVXkcof2rlAy7rhnrpC4YM="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_2.1.1_1539809836343_0.2367692164989541"},"_hasShrinkwrap":false},"3.0.0-0":{"name":"sails-hook-orm","version":"3.0.0-0","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.0.0-0","waterline":"^0.13.5-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"readme":"# sails-hook-orm\n\nImplements support for Waterline ORM in Sails.\n\n> This is a core hook in the Sails.js framework.  You can override or disable it using your sailsrc file or environment variables.  See [Concepts > Configuration](http://sailsjs.com/docs/concepts/configuration) for more information.\n\n\n## Dependencies\n\nIn order for this hook to load, the following other hooks must have already finished loading:\n\n- moduleloader\n- userconfig\n\n\n## Dependents\n\nIf this hook is disabled, in order for Sails to load, the following other core hooks must also be disabled:\n\n- blueprints\n- pubsub\n\n\n## Purpose\n\nThis hook's responsibilities are:\n\n\n##### Load adapters\n\nWhen Sails loads, this hook calls out to `sails.modules.loadAdapters()` (exposed by the `moduleloader`), loading any custom adapters defined within the app.  It also loads adapters which are installed as dependencies of the app itself (i.e. in its `node_modules/` folder).  These adapters are used when instantiating Waterline.\n\n\n##### Load and hydrate models, then expose them as `sails.models.*`\nWhen Sails loads, this hook calls out to `sails.modules.loadModels()` (exposed by the `moduleloader`), loading model files from the app's models folder.\n\n##### Prompt about auto-migration\nSince instantiating Waterline currently has the effect of auto-migrating existing data (dependending on the `migrate` configuration), the orm hook shows a prompt before instantiating Waterline if no `migrate` setting is explicitly configured.\n\n\n##### Instantiate Waterline\nAs mentioned above, since all configuration, models, and adapters are loaded, this hook can safely instantiate Waterline.\n\n\n##### Expose hydrated models as `sails.models`\nIt then passes them to Waterline to turn them into Model instances with all the expected methods like `.create()`, and then exposes them as `sails.models`.  Conventionally this models folder is `api/models/`, but it can be configured in `sails.config.paths`.\n\n- Note that the set of hydrated models in the `sails.models` also includes Waterline models which were implicitly created as junctors (i.e. for any `collection` associations whose `via` does not point at a `model` association).\n- Also note that models are exposed on `sails.models` are keyed by their identities.  That is, if you have a model file `Wolf.js`, it will be available as `sails.models.wolf`.\n\n\n##### Expose global variable for each model\nIf enabled (`sails.config.globals.models` set to true), use the inferred `globalId` of each model to expose it as a global variable.\n\n\n\n## Implicit Defaults\nThis hook sets the following implicit default configuration on `sails.config`:\n\n\n| Property                                       | Type          | Default         |\n|------------------------------------------------|:-------------:|-----------------|\n| `sails.config.globals.models`                  | ((boolean))   | `true`          |\n| `sails.config.models.datastore`                | ((string))    | `default`   |\n| `sails.config.datastores.default.adapter`      | ((ref))    | `require('sails-disk')`    |\n\n\ni.e.\n\n```javascript\n{\n  globals: {\n    adapters: true,\n    models: true\n  },\n\n  // Default model properties\n  models: {\n\n    // This default datastore for the app will be used for\n    // each model unless otherwise specified.\n    datastore: 'default'\n  },\n\n\n  // Connections to data sources, web services, and external APIs.\n  // Can be attached to models and/or accessed directly.\n  datastores: {\n\n    // Built-in disk persistence\n    // (by default, creates the file: `.tmp/localDiskDb.db`)\n    default: {\n      adapter: 'sails-disk'\n    }\n  }\n}\n```\n\n\n## Events\n\n##### `hook:orm:loaded`\n\nEmitted when this hook has been automatically loaded by Sails core, and triggered the callback in its `initialize` function.\n\n\n##### `hook:orm:reload`\n\nThis event is no longer emitted by this hook.  This event will likely be replaced by making `.reload()` a public function.\n\n> This event is experimental and is likely to change in a future release.\n\n\n##### `hook:orm:reloaded`\n\nEmitted when a reload is complete.  This event will likely be replaced by expecting a callback in `.reload()`.\n\n> This event is experimental and is likely to change in a future release.\n\n\n\n\n## Methods\n\n#### sails.hooks.orm.reload()\n\nReload the ORM hook, reloading models and adapters from disk, and reinstantiating Waterline.\n\n- Note that **this does not automatically reload dependent hooks** (such as blueprints).\n- Also note that there is currently no callback.\n\n```javascript\nsails.hooks.orm.reload();\n```\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n\n#### sails.hooks.orm.teardown()\n\nCall the `teardown()` method for adapters which have one, and which were previously loaded by the ORM hook.\n\n```javascript\nsails.hooks.orm.teardown(cb);\n```\n\n\n###### Usage\n\n\n|     |          Argument           | Type                | Details\n| --- | --------------------------- | ------------------- | ----------------------------------------------------------------------------------\n| 1   |        **cb**               | ((function))        | Optional. Fires when the teardown process for the hook is complete.\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n## FAQ\n\n> If you have a question about this hook that isn't covered here, please feel free to send a PR adding it to this section (even if you don't have the answer, a core maintainer will merge your PR and add an answer as soon as possible)\n\n#### What is this?\n\nThis repo contains a hook, one of the building blocks Sails is made out of.\n\n#### What version of Sails is this for?\n\nThis hook is a dependency of Sails core as of Sails v0.12, in Sails v1, and beyond.\n\n\n#### Can I disable this hook?\n\nYes.  To disable this hook, merge the following JSON into your project's `.sailsrc` file:\n\n```json\n{\n  \"hooks\": {\n    \"orm\": false\n  }\n}\n```\n\n#### Can I override this hook to use a different ORM like Mongoose or Bookshelf instead of Waterline?\n\nYes.  To override this hook, define your replacement hook with `identity: orm` in your `.sailsrc` file or your app's `api/hooks/` directory.\n\n\n## Help\n\nIf you have further questions or are having trouble, click [here](http://sailsjs.com/support).\n\n\n## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/sails-hook-orm.svg)](http://npmjs.com/package/sails-hook-orm)\n\nTo report a bug, [click here](http://sailsjs.com/bugs).\n\n\n## Contributing\n\nPlease observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.\n\n[![NPM](https://nodei.co/npm/sails-hook-orm.png?downloads=true)](http://npmjs.com/package/sails-hook-orm)\n\n\n## License\n\nThe [Sails framework](http://sailsjs.com) is free and open-source under the [MIT License](http://sailsjs.com/license).\n\n","readmeFilename":"README.md","gitHead":"4c688320852eb532fb233c21b13bef36b4d77f81","_id":"sails-hook-orm@3.0.0-0","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-PGLh5u5zlTPQyra5nWgxHw+bbQSUUzDjWJLkM7kDv9OXNxvLKg+g/JZbjAewimohrSOQGwBs2eD931wyDkKKbg==","shasum":"e8783ebda051f430976e81bb235df74a1be5e387","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-3.0.0-0.tgz","fileCount":37,"unpackedSize":212522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUPDsCRA9TVsSAnZWagAAZvwP/30J6QeYwan62IgISRvD\nk2RuXujAxTbhBSSUNqLuEe9peYMvhp5hlBnl8yLNVCEdFs4Az15Nm/bvE8KN\nO0gJfvOuf9z85Ouy0M3DHb+cge7bPQDHLPzPgfdQ8xp9HInQSxipdPzaonL7\nGCA5F2V21Cu1e0Dbl5FwjKxmPsvKZSeIXL+3rUJMWXCBpCaYTqiWAf/Z3owR\ndROJrHitBO1KdhOac3Zm9DR826Hf+eTwGSjsR6joulBif+aoWV9VXPBXIL/r\ndTLQpTFBUQEqmTIbcvvki/sA0KIK4p7tTWJktruOSYm4R+b7+HQpOugsFbon\n6iNdvW/3I0vLYyT0PyZtFn+W0BXaW6oArHW6qRHAACgKwu+5ebn6EpArM5PO\nbScEH8gdEmfeNkxFj2GUC4t2hk2wpaOQsVjD0sS99LTgBSnG49aNTrhmafFl\nN86+X7SxZJCpjTjryeiqcwO6CBf9/ymfwh87Sv+UZ2AkRpAcfTSFioUsk8Yi\nFvTP0tXFja8ACIYv14wzqEfY1IF4JMOMYDUI3hzOTUN23eMR1S0FV+8v70r/\n3DABZPHJUf4YZXFf2r8VXNEP/BLeX9M0kH6ISCLoY/srkLvFNfUJsjEese6/\np7iEimQXS5bM9WTWWPggT9515OVuYntAKSCvwYdtzmIgq3g1pmWi89O3HI8a\n0NrF\r\n=u4io\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClW+jQrMs0UngX2jLRZ4Dnko0u/EiWh1AiP4j1pvPD2gIgOU8w+EPxK9jwthhlqT8Eln4NxoFc3RFwER5ByGUdMws="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_3.0.0-0_1548808427784_0.8134858517298453"},"_hasShrinkwrap":false},"3.0.0-1":{"name":"sails-hook-orm","version":"3.0.0-1","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.1.0","waterline":"^0.14.0-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"readme":"# sails-hook-orm\n\nImplements support for Waterline ORM in Sails.\n\n> This is a core hook in the Sails.js framework.  You can override or disable it using your sailsrc file or environment variables.  See [Concepts > Configuration](http://sailsjs.com/docs/concepts/configuration) for more information.\n\n\n## Dependencies\n\nIn order for this hook to load, the following other hooks must have already finished loading:\n\n- moduleloader\n- userconfig\n\n\n## Dependents\n\nIf this hook is disabled, in order for Sails to load, the following other core hooks must also be disabled:\n\n- blueprints\n- pubsub\n\n\n## Purpose\n\nThis hook's responsibilities are:\n\n\n##### Load adapters\n\nWhen Sails loads, this hook calls out to `sails.modules.loadAdapters()` (exposed by the `moduleloader`), loading any custom adapters defined within the app.  It also loads adapters which are installed as dependencies of the app itself (i.e. in its `node_modules/` folder).  These adapters are used when instantiating Waterline.\n\n\n##### Load and hydrate models, then expose them as `sails.models.*`\nWhen Sails loads, this hook calls out to `sails.modules.loadModels()` (exposed by the `moduleloader`), loading model files from the app's models folder.\n\n##### Prompt about auto-migration\nSince instantiating Waterline currently has the effect of auto-migrating existing data (dependending on the `migrate` configuration), the orm hook shows a prompt before instantiating Waterline if no `migrate` setting is explicitly configured.\n\n\n##### Instantiate Waterline\nAs mentioned above, since all configuration, models, and adapters are loaded, this hook can safely instantiate Waterline.\n\n\n##### Expose hydrated models as `sails.models`\nIt then passes them to Waterline to turn them into Model instances with all the expected methods like `.create()`, and then exposes them as `sails.models`.  Conventionally this models folder is `api/models/`, but it can be configured in `sails.config.paths`.\n\n- Note that the set of hydrated models in the `sails.models` also includes Waterline models which were implicitly created as junctors (i.e. for any `collection` associations whose `via` does not point at a `model` association).\n- Also note that models are exposed on `sails.models` are keyed by their identities.  That is, if you have a model file `Wolf.js`, it will be available as `sails.models.wolf`.\n\n\n##### Expose global variable for each model\nIf enabled (`sails.config.globals.models` set to true), use the inferred `globalId` of each model to expose it as a global variable.\n\n\n\n## Implicit Defaults\nThis hook sets the following implicit default configuration on `sails.config`:\n\n\n| Property                                       | Type          | Default         |\n|------------------------------------------------|:-------------:|-----------------|\n| `sails.config.globals.models`                  | ((boolean))   | `true`          |\n| `sails.config.models.datastore`                | ((string))    | `default`   |\n| `sails.config.datastores.default.adapter`      | ((ref))    | `require('sails-disk')`    |\n\n\ni.e.\n\n```javascript\n{\n  globals: {\n    adapters: true,\n    models: true\n  },\n\n  // Default model properties\n  models: {\n\n    // This default datastore for the app will be used for\n    // each model unless otherwise specified.\n    datastore: 'default'\n  },\n\n\n  // Connections to data sources, web services, and external APIs.\n  // Can be attached to models and/or accessed directly.\n  datastores: {\n\n    // Built-in disk persistence\n    // (by default, creates the file: `.tmp/localDiskDb.db`)\n    default: {\n      adapter: 'sails-disk'\n    }\n  }\n}\n```\n\n\n## Events\n\n##### `hook:orm:loaded`\n\nEmitted when this hook has been automatically loaded by Sails core, and triggered the callback in its `initialize` function.\n\n\n##### `hook:orm:reload`\n\nThis event is no longer emitted by this hook.  This event will likely be replaced by making `.reload()` a public function.\n\n> This event is experimental and is likely to change in a future release.\n\n\n##### `hook:orm:reloaded`\n\nEmitted when a reload is complete.  This event will likely be replaced by expecting a callback in `.reload()`.\n\n> This event is experimental and is likely to change in a future release.\n\n\n\n\n## Methods\n\n#### sails.hooks.orm.reload()\n\nReload the ORM hook, reloading models and adapters from disk, and reinstantiating Waterline.\n\n- Note that **this does not automatically reload dependent hooks** (such as blueprints).\n- Also note that there is currently no callback.\n\n```javascript\nsails.hooks.orm.reload();\n```\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n\n#### sails.hooks.orm.teardown()\n\nCall the `teardown()` method for adapters which have one, and which were previously loaded by the ORM hook.\n\n```javascript\nsails.hooks.orm.teardown(cb);\n```\n\n\n###### Usage\n\n\n|     |          Argument           | Type                | Details\n| --- | --------------------------- | ------------------- | ----------------------------------------------------------------------------------\n| 1   |        **cb**               | ((function))        | Optional. Fires when the teardown process for the hook is complete.\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n## FAQ\n\n> If you have a question about this hook that isn't covered here, please feel free to send a PR adding it to this section (even if you don't have the answer, a core maintainer will merge your PR and add an answer as soon as possible)\n\n#### What is this?\n\nThis repo contains a hook, one of the building blocks Sails is made out of.\n\n#### What version of Sails is this for?\n\nThis hook is a dependency of Sails core as of Sails v0.12, in Sails v1, and beyond.\n\n\n#### Can I disable this hook?\n\nYes.  To disable this hook, merge the following JSON into your project's `.sailsrc` file:\n\n```json\n{\n  \"hooks\": {\n    \"orm\": false\n  }\n}\n```\n\n#### Can I override this hook to use a different ORM like Mongoose or Bookshelf instead of Waterline?\n\nYes.  To override this hook, define your replacement hook with `identity: orm` in your `.sailsrc` file or your app's `api/hooks/` directory.\n\n\n## Help\n\nIf you have further questions or are having trouble, click [here](http://sailsjs.com/support).\n\n\n## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/sails-hook-orm.svg)](http://npmjs.com/package/sails-hook-orm)\n\nTo report a bug, [click here](http://sailsjs.com/bugs).\n\n\n## Contributing\n\nPlease observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.\n\n[![NPM](https://nodei.co/npm/sails-hook-orm.png?downloads=true)](http://npmjs.com/package/sails-hook-orm)\n\n\n## License\n\nThe [Sails framework](http://sailsjs.com) is free and open-source under the [MIT License](http://sailsjs.com/license).\n\n","readmeFilename":"README.md","gitHead":"64d1fb60cc82a233555890146416796f085747fb","_id":"sails-hook-orm@3.0.0-1","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"dist":{"integrity":"sha512-TRocACjJC7r6Hy0BTWWBDuFe3yHBkrK/vPiRurXqDH/IYjABXPcV+TOGKf7inLui6naYNb6Fga7RFnH+n0gftg==","shasum":"4c36710c4d033c198f72187b9f1616ffe00f0b87","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-3.0.0-1.tgz","fileCount":37,"unpackedSize":212520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUPFLCRA9TVsSAnZWagAA3jcQAIa+WEMus8uw2yjWFSDP\nDZ79bFmhPcvhv/uXT1Ewdyut0lvJLuD3z/oDRmkSeKyx1ti0dqdTMFjFPo2I\nsu+ekyLKDO2NDYAC1lnD5GbnsRKnFS8O2VDf4qqERC8Zz7bn0foh4frcKtFo\n1fECOlvbSPcXECkPcrxfhq76IIlF7mm8ZnqLb9QyYklABUhn/HQUtnvnJqa5\n+k8neSnCLoxKbAmjsdEs0MyZuEYgh0perkZUEuJOE9SvzahwL04X9pLwNIIl\ndcKtcgqdlP4QwBcquqmjUGUgeDr++fa9yH+WCBTNqcWK95laiYgraKanpxbr\nqBuPkAmqvRKqfg9CE5RQ0TCx6dvFFZTlx4m6grkGUpZiB5JvnvFdrASXQBgb\n4GTrNB+lZ2eTQ+G2nwL401gV9OC+2NhcjWMU6rwu/UA0xdfhH5Ye0KzGO4Iz\ndWTp4DrwGY+heXbsuT5mC1HNFKJDz3T2MZfgrUh5btnADSDmB63DWtPadgi0\nqiow1aSVxpvG13ej2dj59vJ/uy2iC+eo/WcfVqNx1oGenRNvshlRBPM0h5u4\n7UttUG8P6gTLQK1LrzpAbNKZ5EPZq4DcBbMxaMqiTQGClJiV82MMUagpZcOs\nfwi8297akLdKGSelsw+1j17nE8yQEKhHP4BJTu0jV7yHrq6YkLUVdiSOYlaV\nBJJO\r\n=ZeJu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKPq6feYOSp2Uqz7yO9P35cnI2mkH3bJQFLJ5iIcr8zQIgVExFhQeDCQNISGy0Y5Q3/41CqSmGkt64uPuuUGcBCm4="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_3.0.0-1_1548808523173_0.22952208753318315"},"_hasShrinkwrap":false},"3.0.0-2":{"name":"sails-hook-orm","version":"3.0.0-2","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.1.0","waterline":"^0.14.0-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"readme":"# sails-hook-orm\n\nImplements support for Waterline ORM in Sails.\n\n> This is a core hook in the Sails.js framework.  You can override or disable it using your sailsrc file or environment variables.  See [Concepts > Configuration](http://sailsjs.com/docs/concepts/configuration) for more information.\n\n\n## Dependencies\n\nIn order for this hook to load, the following other hooks must have already finished loading:\n\n- moduleloader\n- userconfig\n\n\n## Dependents\n\nIf this hook is disabled, in order for Sails to load, the following other core hooks must also be disabled:\n\n- blueprints\n- pubsub\n\n\n## Purpose\n\nThis hook's responsibilities are:\n\n\n##### Load adapters\n\nWhen Sails loads, this hook calls out to `sails.modules.loadAdapters()` (exposed by the `moduleloader`), loading any custom adapters defined within the app.  It also loads adapters which are installed as dependencies of the app itself (i.e. in its `node_modules/` folder).  These adapters are used when instantiating Waterline.\n\n\n##### Load and hydrate models, then expose them as `sails.models.*`\nWhen Sails loads, this hook calls out to `sails.modules.loadModels()` (exposed by the `moduleloader`), loading model files from the app's models folder.\n\n##### Prompt about auto-migration\nSince instantiating Waterline currently has the effect of auto-migrating existing data (dependending on the `migrate` configuration), the orm hook shows a prompt before instantiating Waterline if no `migrate` setting is explicitly configured.\n\n\n##### Instantiate Waterline\nAs mentioned above, since all configuration, models, and adapters are loaded, this hook can safely instantiate Waterline.\n\n\n##### Expose hydrated models as `sails.models`\nIt then passes them to Waterline to turn them into Model instances with all the expected methods like `.create()`, and then exposes them as `sails.models`.  Conventionally this models folder is `api/models/`, but it can be configured in `sails.config.paths`.\n\n- Note that the set of hydrated models in the `sails.models` also includes Waterline models which were implicitly created as junctors (i.e. for any `collection` associations whose `via` does not point at a `model` association).\n- Also note that models are exposed on `sails.models` are keyed by their identities.  That is, if you have a model file `Wolf.js`, it will be available as `sails.models.wolf`.\n\n\n##### Expose global variable for each model\nIf enabled (`sails.config.globals.models` set to true), use the inferred `globalId` of each model to expose it as a global variable.\n\n\n\n## Implicit Defaults\nThis hook sets the following implicit default configuration on `sails.config`:\n\n\n| Property                                       | Type          | Default         |\n|------------------------------------------------|:-------------:|-----------------|\n| `sails.config.globals.models`                  | ((boolean))   | `true`          |\n| `sails.config.models.datastore`                | ((string))    | `default`   |\n| `sails.config.datastores.default.adapter`      | ((ref))    | `require('sails-disk')`    |\n\n\ni.e.\n\n```javascript\n{\n  globals: {\n    adapters: true,\n    models: true\n  },\n\n  // Default model properties\n  models: {\n\n    // This default datastore for the app will be used for\n    // each model unless otherwise specified.\n    datastore: 'default'\n  },\n\n\n  // Connections to data sources, web services, and external APIs.\n  // Can be attached to models and/or accessed directly.\n  datastores: {\n\n    // Built-in disk persistence\n    // (by default, creates the file: `.tmp/localDiskDb.db`)\n    default: {\n      adapter: 'sails-disk'\n    }\n  }\n}\n```\n\n\n## Events\n\n##### `hook:orm:loaded`\n\nEmitted when this hook has been automatically loaded by Sails core, and triggered the callback in its `initialize` function.\n\n\n##### `hook:orm:reload`\n\nThis event is no longer emitted by this hook.  This event will likely be replaced by making `.reload()` a public function.\n\n> This event is experimental and is likely to change in a future release.\n\n\n##### `hook:orm:reloaded`\n\nEmitted when a reload is complete.  This event will likely be replaced by expecting a callback in `.reload()`.\n\n> This event is experimental and is likely to change in a future release.\n\n\n\n\n## Methods\n\n#### sails.hooks.orm.reload()\n\nReload the ORM hook, reloading models and adapters from disk, and reinstantiating Waterline.\n\n- Note that **this does not automatically reload dependent hooks** (such as blueprints).\n- Also note that there is currently no callback.\n\n```javascript\nsails.hooks.orm.reload();\n```\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n\n#### sails.hooks.orm.teardown()\n\nCall the `teardown()` method for adapters which have one, and which were previously loaded by the ORM hook.\n\n```javascript\nsails.hooks.orm.teardown(cb);\n```\n\n\n###### Usage\n\n\n|     |          Argument           | Type                | Details\n| --- | --------------------------- | ------------------- | ----------------------------------------------------------------------------------\n| 1   |        **cb**               | ((function))        | Optional. Fires when the teardown process for the hook is complete.\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n## FAQ\n\n> If you have a question about this hook that isn't covered here, please feel free to send a PR adding it to this section (even if you don't have the answer, a core maintainer will merge your PR and add an answer as soon as possible)\n\n#### What is this?\n\nThis repo contains a hook, one of the building blocks Sails is made out of.\n\n#### What version of Sails is this for?\n\nThis hook is a dependency of Sails core as of Sails v0.12, in Sails v1, and beyond.\n\n\n#### Can I disable this hook?\n\nYes.  To disable this hook, merge the following JSON into your project's `.sailsrc` file:\n\n```json\n{\n  \"hooks\": {\n    \"orm\": false\n  }\n}\n```\n\n#### Can I override this hook to use a different ORM like Mongoose or Bookshelf instead of Waterline?\n\nYes.  To override this hook, define your replacement hook with `identity: orm` in your `.sailsrc` file or your app's `api/hooks/` directory.\n\n\n## Help\n\nIf you have further questions or are having trouble, click [here](http://sailsjs.com/support).\n\n\n## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/sails-hook-orm.svg)](http://npmjs.com/package/sails-hook-orm)\n\nTo report a bug, [click here](http://sailsjs.com/bugs).\n\n\n## Contributing\n\nPlease observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.\n\n[![NPM](https://nodei.co/npm/sails-hook-orm.png?downloads=true)](http://npmjs.com/package/sails-hook-orm)\n\n\n## License\n\nThe [Sails framework](http://sailsjs.com) is free and open-source under the [MIT License](http://sailsjs.com/license).\n\n","readmeFilename":"README.md","gitHead":"5728cbf008b85df7b561e777305d8fec45dd12c5","_id":"sails-hook-orm@3.0.0-2","_nodeVersion":"12.6.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-FCPRUnSqNmyEC/SvcIN5PVFLpT6yMfVXEwgrHlf4kKtcCq7BHlRDuqoPSsZSe0iDlZbA1+1XZ37H2+A7Xu6Jvg==","shasum":"1eb11660d40df71192f600ed2b72a0a53467aa6d","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-3.0.0-2.tgz","fileCount":37,"unpackedSize":212852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeogTBCRA9TVsSAnZWagAAY5kQAJ0Cu2KWN0Q4IjyY8tDp\nFssPYLhoKsgTu4Hl3sMAoLMrz8XbWhQ2F3SzUIZwe4tQ/tCAbyRuq1UfbdmC\nz4Y/gAdKta6snVjo7fuucUzmoc6Myv7nkrUJbcWmCzxyt3LogqgrhEbJmJCL\nb6q1YT4dxmlYf1XlhEUys4VvjhNZYK8EPEBVjd5pN/2HWX6cX+37uWzx6w2v\n4YllosVGiUaTVqgUxsxsEZskiuKS99aAQL5Veh7O03VfaW8a/Ixgp4F3/BKA\nbfBHCyNAn2t3frEcLBhho/eG1KwY1J6xxmhKVG5CMdOmSgvo1BhLG5oqaLOh\netwZoFnR1yGwOIL8dgTEU6ql7dYUAoEMm25uScjn7W4mmsVI56kpGvBr0Kog\nfVgwuuktTHK8xaNC2tk0AyTaRYK17BoGWNtYeWuBribaLWI6W2hHW2/FOQ97\n5wWIiKSfDX8kQ2ue260WRY5RCZIdQCVWAGQqtFcofpWknrqftCb8YOavxPlr\nQaRaP7++2yjo0Ox0LS4UkaxVTmdAdOSnfQNcAyt+S7+glo+J2ChsQasF6q/A\ngBPgWmO7vEtEviPmzRguqEzXri44sxLQGEAlGMEGGo0m7daXwCjj6kmXchCm\ngsmhobAOCQcHfbaKWQk+5ZtuamKaDCkdcT0an8xJQqlwH25CRlvo7I3KE8Cp\nDYue\r\n=IXW4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqpcvwa0Mbkkj8+ZY6a5seFhXW77J8EWTy9VjMa+BhGAiBfHRywb+V9YMA2faahVIp4DJoHyRfWNLwkBUWaGw0/iA=="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_3.0.0-2_1587676352985_0.0035232151018469438"},"_hasShrinkwrap":false},"3.0.0":{"name":"sails-hook-orm","version":"3.0.0","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^1.1.0","waterline":"^0.14.0-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"13c6a95f4403fb5a7ea61a6020d8c8fecb72bb27","_id":"sails-hook-orm@3.0.0","_nodeVersion":"12.6.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-uOROSuv61JiSfudIvR89qiScifZzXD3TKhvR8vQwHID7e0ayvMpVsgKhf01vtze68+/KA2JJlS9ozvtRpTdK0w==","shasum":"37d378a29c7eb38d0eeeac07a557a72129269f43","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-3.0.0.tgz","fileCount":37,"unpackedSize":212850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezUzECRA9TVsSAnZWagAA8w4QAIQQLW2ijMK/4zcqEgeY\nxxxA81sOujBYwzRo4ES7RLMs0ZzCpL++ixlrKJjrh44LOtSZqFn//FhpPJjd\nogp4ChBnjyFfcC/V+PIpN2kNJzQUug7fd81W0SpKUMfrLwPN51oqKxQMEnHn\nwTzJdalCQiRrWs7T/FwOOEyfLXhz1kAp1pm8+O7/9Y7TrDfI8DMbao7rYgR9\nz+w19WketM7ftvIclbo9u5a2AsgJVj/pigSTZXCGpANoNdGmugoO6zw1l2+2\nA+ZHAiTQm8gvHGotaFqeC9iqP3c7IBBDz5+FHnFLFOlVdtTmo6YrCuTDpPq+\n/+Wn2xlH0mLL2lxvIzgeAoPlltfQ/pGkzXnmYDnV0CNui9o8xK8vHwbUjazN\nvZss/Dvjow27VB+GrNf4YMM7h/Fn8Mq+p5et3qPJqSoTH9OOclAzx6Uz/Pai\nCW7uc914WcEdpNOzGmUdesUh8s8rstLhkiUUGZABFmq4VTkg0CXz5oUlKHdb\nK3s8B32iJDPrWt+iOgVL1nIuxN2VCC9Jnu9VqZLuT35mvGzAWNkWjf7bfq6V\npQfIriRcg6jk0cVftzdUewCi+z23nCOBLAQJEqOX3W/8lJnlq26ciB3PqY4e\nztbPdoABz64yIlmiDEVXWCxYHzgIb9kS+m7IG+uEz35LZb+IlUM8hBGMRe7Q\nunjO\r\n=ftmM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6sgLPcAPASXFvRE4euiEZnFEXoP6Vl6liqHAZYiwedAiEAqBAUn7oAeYbvrMYhV6rPk4xP9/HJfuQCBa9e1cdwQjc="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_3.0.0_1590512836215_0.47751193245732115"},"_hasShrinkwrap":false},"3.0.1":{"name":"sails-hook-orm","version":"3.0.1","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"0.2.14","sails-disk":"^2.0.0","waterline":"^0.14.0-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"86e431ec88aad828e4aaa0b9a9eea3b13bd405a7","_id":"sails-hook-orm@3.0.1","_nodeVersion":"12.6.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-PF/b3Rv0YN8dgkyBEQvtknOH2rPX2zi4t6RDFA7kN5hJ9amZiE7NfEOrT69me1N6XLcvIjCyIvQpmfBEjmIFKw==","shasum":"fe5fe58ab9fcc5b7d44ce4ac2c8c3891b3537917","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-3.0.1.tgz","fileCount":37,"unpackedSize":212850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezU0fCRA9TVsSAnZWagAAVtsP/3+SWS85EMRAwiuYfeov\nUU8AHGiIMddbVTkcabvWDYeJCJlW4tz6Y6KdKXdoxOaE1Edw+0N1bsUwVOfU\nOW4/78i1hcekX+Z6OJfefeMs6kKV2WWn89idZ1+PkhqxX6q+or+JvlFIq12J\nsE4tse2+Lma1x7ZNQovrI8mCB44vMwBdm9Wl2azzQ4l8TKHXdYqMwkL5yh8x\nqiBmwAwJj9NdpcMNOAh2cspOKxustWgreM6cuutpl3u/YysoUwnMZoT7YCbP\n+Y/Thwmg0aSY9MhnhcwG2bQsU0OaklnZWqFAEph/sKXraKP/AWwumcTzdKLR\naknqDUaM+icRKeHDaSmFHJgIH2HSKpeAHQ0HvGrlAlBNVILPa4+RQintmvgY\n/iw0c2zXImLuiZ6WvN+7EDUrLzydX2bo4+9qLzDCDCGYIzpYR5qojVouad04\niKBRLinRTpFwzog8YhMPhhOhFaGq+7NLlOkVLu/BBH+vM3q2fm4gLaNYVcrg\nHro9YJvWfoavXZ+lFimt0YqWXEWId0TE+TOmju3xTTDwNZ9TmC/hU/au6fYy\nPmybQwj/68YksmoA0V8GRgVhcPbkrFzWnAL+nYyLO/hI6hZ53EDGmRvoO2iX\nsa4+X7k+LBGEAPPlqH0DsDEbZNk0NbT4b1G9MkDP/6o7rSC7FTkQk7mBfclx\nm9eb\r\n=xjxz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBFNnBYWt08Zlc0v5i0f8++BI3PrFOY/I/nFR38ANcTMAiEA0ShRHyKmlk7crqm/Gk8mNF6fLXSTGsm2UcpS9GzsAuI="}]},"maintainers":[{"email":"npm@sailsjs.com","name":"mikermcneil"},{"email":"particlebanana@gmail.com","name":"particlebanana"},{"email":"rachaelshaw@treeline.io","name":"rachaelshaw"},{"email":"sgress454@treeline.io","name":"sgress454"}],"_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_3.0.1_1590512926651_0.6952202133530938"},"_hasShrinkwrap":false},"3.0.2":{"name":"sails-hook-orm","version":"3.0.2","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"1.1.0","sails-disk":"^2.0.0","waterline":"^0.14.0-0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"9c2a3c768eba152e47af645d02462ed831f87dbb","_id":"sails-hook-orm@3.0.2","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-DV+cxeXxG+gf/djfMemQ82tJt9EJEwRjDk/JSJ1sJPD1qMPNOx2iDjZsx6nkoX6Iq9FJ8dhFq2N2e3emkaE2aw==","shasum":"6b39b6c84bc972dd8b13bf2a16aae54c42bdc633","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-3.0.2.tgz","fileCount":37,"unpackedSize":212889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSNfiCRA9TVsSAnZWagAAFq0P/is+0Odd6bZ0fSoimDYy\nJHO1JqO/4YFdqiKZtbZPMzkaZlYZ19MYSrAfD/ioxymEX4D0KdvlLC/CJZBr\n72jzO7ThpPTO0bCDsT9vdiHWYchhxPmo8XEvMo+6+QhRTcaTY65US9d+3jKm\nI+OrsPhb0fd+36ByhOYikb9AUFGZO77+m/XopqtJSNmNsowpv0wNawQrw6od\nt3LAm92xYEqnAnBwOYgHi8zq7bs49q0SOisfK5fhGs5u/EkpevXQ4NJ3pSXW\ni4EDC8zP6J09rqmkQmsC+fVIbPyK90DSKzFlCY1pb7GL7lx04f4EAXMcZ52W\n9vXe+1lXZnc8eoE1NdMU+a4GCC/qL+mj3uD2o/O56lPMgDGveWX9nKcEb8C3\nQQCSCXGyCxj06AOtzisWgh1YCGeZFdUj218cbSdUKZHV100+QpWPKpfc1UhP\nsxX/PQMl75pwR3Hou9L4HXUgPIZ1qDKm934suXnGay8E7mjujyQNSFVUKLeq\nBG3c041RMjchWGxSydD1ZaU/gOofFfvD99tDzT2v10J8QQIHLvai52667GBj\nl8rjmkX8839g6TL0CnHApjUmYGD+ojSjk0ItAZGQCrTnWnoQUMofZONyoDOB\npLzpUBBS6o9Uais86eb+A+qXuJpCuWo9jOBtwdCGMYSNS1sK2Df8aGyJu/JQ\nWvin\r\n=X1rN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBuovRI5bmTUzU3z7tzVOjUy/p6GttJmstKRdtq2JWyZAiAF7mkL4oWNiAJZe/Vxg9Hpz3rzCzDgwBrs8WLtH3J6cg=="}]},"_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"directories":{},"maintainers":[{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"rachaelshaw","email":"rachaelshaw@treeline.io"},{"name":"sgress454","email":"scottmgress@gmail.com"},{"name":"mikermcneil","email":"npm@sailsjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_3.0.2_1615386593696_0.9907131749573799"},"_hasShrinkwrap":false},"4.0.0":{"name":"sails-hook-orm","version":"4.0.0","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"1.1.0","sails-disk":"^2.0.0","waterline":"^0.15.0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"3a6dc7ee0b0c1bd7fd9078257aef0f07c8d11b1c","_id":"sails-hook-orm@4.0.0","_nodeVersion":"14.17.0","_npmVersion":"7.20.0","dist":{"integrity":"sha512-39heT/GTrTDKxpdFaDy7535klj7u1Mt7F5IOlpnXBIyDmRGKdbm5hYEzpTMI79tacnI1pnqCkZSraBizf8KIvA==","shasum":"d0d016a9915b4fe9fd2f948468f33491d2498cfb","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-4.0.0.tgz","fileCount":37,"unpackedSize":212887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh26Q+CRA9TVsSAnZWagAAjO4P/1wClDcZLUaa4KPyw22H\n8FH/zok/KUWblOCbLFm5AjbhSZnXI+h6YB1UaO//R8LDjpEpMqDtITrCUdn/\n5Oa/NXMUBbJ07UlHX0xwhxedaHsrtEmedDefHdKeQJOds8TXr+KuLqVQzrQE\ntw+XgRSJRDIkVxdzwXfCNfSGx5MveuCoH+fFtqBlYYgGA98XOJsayPWnFWZZ\nQddoWyxd7+7D/h1kkIqujznrmVCiA1y3olgOfC+lp2YJoXZvHbYHNBZueJtG\nR2Qhp9ETnme5BovUE8onbQnzEMSsBkx1Fz3BsW9sjqR8cR0rD0c9y+k2NWgs\nPMuocH9C3ZBEiwojhTuoz9ndt+7O/xSYt0aVBHZ1T5nuND8whG2n6sTZ+nRh\nbnmBgvD+dniAhesq58rCO2DRhuIYH4C38jdl6ItkBKstuQtW8PslK/g8kPIq\nO7gpdiY5PpHqEqfVf7BOjBNWivoYk06TEAkiRA9IBMBHThvPk70ksrpTpsof\nRz41MW6apcGRMMNZn6fOf6JDKTr/zhWB4XsyQT4T55mhXtPxGODoKx4/1vAf\n9srOb6azm370lW5vpsUjJTAjNU+OSCgPxEUTz9aeIPiH2kpv5i5GiPl6tiwJ\nGNn0NpbAqL3g18e1jR6qQDzI5+HDZNI6xWYLh3TFy3gTvXwSVK3E4GpqxyQS\nKDz4\r\n=JE0r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE05vYMJg8HyJ+w9Yi0bR/Z9qNAky34Nsevp5PxhPmZiAiEAiGShwKf4aO5Ukpjho2KCjo6/BmrlI9q4bvM/KWtiSYA="}]},"_npmUser":{"name":"eashaw","email":"eashaw@sailsjs.com"},"directories":{},"maintainers":[{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"rachaelshaw","email":"rachaelshaw@treeline.io"},{"name":"sgress454","email":"scottmgress@gmail.com"},{"name":"mikermcneil","email":"npm@sailsjs.com"},{"name":"eashaw","email":"eashaw@sailsjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_4.0.0_1634929320450_0.2900952818722615"},"_hasShrinkwrap":false},"4.0.1":{"name":"sails-hook-orm","version":"4.0.1","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.0.1","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"1.2.1","sails-disk":"^2.0.0","waterline":"^0.15.0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"9cc202d99b78b6f49af8a7f8ee71799ad05edd8a","_id":"sails-hook-orm@4.0.1","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-uqG70gzRtEBM7qcO0y3SJOylDalG9p+UhkyFMG1eWfhia5hyKt7WCWKx3MZrqzY5dhbKH0B+AFwfHNOBY1Vm9g==","shasum":"4862c92c752ef8a4d3002186f8a9813ebc4e066e","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-4.0.1.tgz","fileCount":37,"unpackedSize":212887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3L5uCRA9TVsSAnZWagAAADMP/A1x0J803lGr6dygVDvy\ndxJndfIqZS6sMi9s5UO5IKGLbobqNa9DXhCb3/FRYFdSTEQi9j4gMZnSVbFk\nC8aax2ZV80OGzKtk6y5Z6/DUJBQrh7lMqLQP4jbhAte81FZ8oC6xA3gg4hkc\nzJboHGXXJnZmFTSxMUuctI+V20Zbmh1dJoQAVK2vOiPv60+sbVq82UkKDO5Q\ngSjkAUvNrCDz0aaHERf3y25NNqDAZPSrgMqILAjLk69xjuCVvjDXyavft3Yh\nojJXIpcIaF+wH2EPVrWkGKqBInN5SsMPIT4doyxDkmUvyM51yJsCxJAcMhSw\nVaG6+18TuYQ7K691n4CZFMru1bQa3D5KGCizFTUVGLamJ2s9cJaLILOu8EZ1\ntYG458Z02uNSq99PdWVFLJuppEJDYh20+pmM1OSbtiDLl1nRtyQKwf4jsxQk\nZH/J353w8iWXJn5X4O408eC2sbHMYDNDfNsPDoTWL42UKB3xAof+oTQA8jz4\nchewGNkzVJJWApvZl20nyX54PgjpP8ewsON57k5OOZdzUqC2LaDj9phLYCAZ\nspNpFcz1QwQrk0ZCkIKjVdtt+Q303AP612nGrynEkJ6TYGOmYIPyHh2darJx\nJRlshKEVVGkOdy/hegITV2iFZqU4std6r/5zyQQaRqro9LUd2AkNBtB+cZfb\nf+h7\r\n=s9iS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAiRq5Zizyj2Zk61kxsv8xeD8DwNGEoo5ID4EiVZLlPzAiEAggB4j7zIKRZsLlKc6bjebAr3AVRYxAwYzG/S14PmCX0="}]},"_npmUser":{"name":"mikermcneil","email":"npm@sailsjs.com"},"directories":{},"maintainers":[{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"rachaelshaw","email":"rachaelshaw@treeline.io"},{"name":"sgress454","email":"scottmgress@gmail.com"},{"name":"mikermcneil","email":"npm@sailsjs.com"},{"name":"eashaw","email":"eashaw@sailsjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_4.0.1_1641856621819_0.2995619063693038"},"_hasShrinkwrap":false},"4.0.2":{"name":"sails-hook-orm","version":"4.0.2","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.6.4","chalk":"1.1.3","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"1.2.1","sails-disk":"^2.0.0","waterline":"^0.15.0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"gitHead":"ce23c5e91f3728acc7d782b62d7a6257c36e1309","_id":"sails-hook-orm@4.0.2","_nodeVersion":"14.17.0","_npmVersion":"7.20.0","dist":{"integrity":"sha512-uNB1SW3thRyGo0KH0W+FTNMrKl/iGAayJedlMZmEsy3HbioI3sCiI0rDaL/gR4eWAoj3w2ZeUbl7NMpsuVvxoQ==","shasum":"3e621a55ccbb203f1e0353dedc7487040f64f97c","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-4.0.2.tgz","fileCount":37,"unpackedSize":212885,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHPgVJYgRQudmFNkMiLia5HVdGd6A8nTDviQCORCd0jwIhAJzKAs9/PDW+SDfKTkWk2f4ZRVMvPEP+zj8Bdxdl+t87"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8/enACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHHQ//b+35p21e23JJzVl/yxzenhiecZ1NX9EEZUzQtvbs7Dg3wsCX\r\nvwl9BxQP7vN2LDUsSpFvtAVF8Rswab/8/Mi/dg+lvBf3yQ8Ufql8G+QIavSc\r\nvu4tsUyZ5rDFXDFZegFQRk68w50F1AiyUgGndhX08xJi8UbnZ9dqxwI6GVEk\r\neweY/Shxh0hPT6OmuxP72um1oUWHWmCNdU1eWIJFsm1lxVGNADw8zVoe7F4H\r\nEx6Xz8zfGOxozJB+O2WrtHKjGripvSr7CU9SIJZwvk4G88CcMVXBj3HrW3RH\r\nNmkAplutKuJQrIKx4AMLv49h+oWBX/FmKUIDuedcIgeRIDjHMnepSsAVpPxI\r\n6oObcfBz/FHm067UwGvhQPlJ3j4xHA7cuVHOU8x1fCudWp22m0WKM4CDLnR1\r\nXojVeG3fm8fY/n0RnizUiF1/8dWO0wIVWVgImyPW0UXRqwwmtlYjusSRhg+n\r\nfyzekr6fnGfW+cf8M6qGfeGBrDnLxxpy52XHJj5/Tz6WQQn0+dg56DKmmL6K\r\n6MGj30XzSicRdtGK4UfSkbuGF/XUrIJUwp4/V3AqdX6fJb7nBx89rxEoH6EH\r\n/5NF+PHNhxYEVmttTiDEi8vgkVcRJE86/8Ci5vJEiWoXRH/9eSxapIHflTK0\r\nU/fP8bWRmvNz13jzJRV3EXZVa6sLqArg5Bc=\r\n=Oat4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eashaw","email":"eashaw@sailsjs.com"},"directories":{},"maintainers":[{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"rachaelshaw","email":"rachaelshaw@treeline.io"},{"name":"sgress454","email":"scottmgress@gmail.com"},{"name":"mikermcneil","email":"npm@sailsjs.com"},{"name":"eashaw","email":"eashaw@sailsjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_4.0.2_1660155815718_0.8585342643434377"},"_hasShrinkwrap":false},"4.0.3":{"name":"sails-hook-orm","version":"4.0.3","description":"The ORM hook from Sails core.","main":"index.js","scripts":{"test":"npm run lint && npm run custom-tests && echo 'Done.'","custom-tests":"node ./node_modules/mocha/bin/mocha test -t 15000 && echo","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"keywords":["waterline","orm","sails","hook","sails-hook"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://sailsjs.com/bugs"},"homepage":"https://sailsjs.com","dependencies":{"@sailshq/lodash":"^3.10.2","async":"2.6.4","chalk":"2.3.0","flaverr":"^1.8.0","parley":"^3.3.2","prompt":"1.2.1","sails-disk":"^2.0.0","waterline":"^0.15.0","waterline-utils":"^1.0.0"},"sails":{"isHook":true,"hookName":"orm"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2","sails":"^1.0.0-5"},"_id":"sails-hook-orm@4.0.3","gitHead":"fd2a48286ca51130ee86039645eefe3020ade3e9","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-/PrAHwsjbby0PK27LpLamYMUz4CedVYW3vr6JFSG9OncoeUG9qgwcNjeWNxo2HuEfHDal92KISXkcdRX7jh5Eg==","shasum":"74db1264a0bfa53728c99ab7b6e859c2e8e299d4","tarball":"https://registry.npmjs.org/sails-hook-orm/-/sails-hook-orm-4.0.3.tgz","fileCount":37,"unpackedSize":212885,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgMqEvoCtcjhSJdX1rauxScbegTZ4Dkpc6JHUrjl5H0QIgA1I5mNW8Rz6cvUZCBRoJMyFzZBl9xgusIUGYHyDnx40="}]},"_npmUser":{"name":"eashaw","email":"eashaw@sailsjs.com"},"directories":{},"maintainers":[{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"rachaelshaw","email":"rachaelshaw@treeline.io"},{"name":"sgress454","email":"scottmgress@gmail.com"},{"name":"mikermcneil","email":"npm@sailsjs.com"},{"name":"eashaw","email":"eashaw@sailsjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sails-hook-orm_4.0.3_1710518226332_0.3477043702054945"},"_hasShrinkwrap":false}},"readme":"# sails-hook-orm\n\nImplements support for Waterline ORM in Sails.\n\n> This is a core hook in the Sails.js framework.  You can override or disable it using your sailsrc file or environment variables.  See [Concepts > Configuration](http://sailsjs.com/docs/concepts/configuration) for more information.\n\n\n## Dependencies\n\nIn order for this hook to load, the following other hooks must have already finished loading:\n\n- moduleloader\n- userconfig\n\n\n## Dependents\n\nIf this hook is disabled, in order for Sails to load, the following other core hooks must also be disabled:\n\n- blueprints\n- pubsub\n\n\n## Purpose\n\nThis hook's responsibilities are:\n\n\n##### Load adapters\n\nWhen Sails loads, this hook calls out to `sails.modules.loadAdapters()` (exposed by the `moduleloader`), loading any custom adapters defined within the app.  It also loads adapters which are installed as dependencies of the app itself (i.e. in its `node_modules/` folder).  These adapters are used when instantiating Waterline.\n\n\n##### Load and hydrate models, then expose them as `sails.models.*`\nWhen Sails loads, this hook calls out to `sails.modules.loadModels()` (exposed by the `moduleloader`), loading model files from the app's models folder.\n\n##### Prompt about auto-migration\nSince instantiating Waterline currently has the effect of auto-migrating existing data (dependending on the `migrate` configuration), the orm hook shows a prompt before instantiating Waterline if no `migrate` setting is explicitly configured.\n\n\n##### Instantiate Waterline\nAs mentioned above, since all configuration, models, and adapters are loaded, this hook can safely instantiate Waterline.\n\n\n##### Expose hydrated models as `sails.models`\nIt then passes them to Waterline to turn them into Model instances with all the expected methods like `.create()`, and then exposes them as `sails.models`.  Conventionally this models folder is `api/models/`, but it can be configured in `sails.config.paths`.\n\n- Note that the set of hydrated models in the `sails.models` also includes Waterline models which were implicitly created as junctors (i.e. for any `collection` associations whose `via` does not point at a `model` association).\n- Also note that models are exposed on `sails.models` are keyed by their identities.  That is, if you have a model file `Wolf.js`, it will be available as `sails.models.wolf`.\n\n\n##### Expose global variable for each model\nIf enabled (`sails.config.globals.models` set to true), use the inferred `globalId` of each model to expose it as a global variable.\n\n\n\n## Implicit Defaults\nThis hook sets the following implicit default configuration on `sails.config`:\n\n\n| Property                                       | Type          | Default         |\n|------------------------------------------------|:-------------:|-----------------|\n| `sails.config.globals.models`                  | ((boolean))   | `true`          |\n| `sails.config.models.datastore`                | ((string))    | `default`   |\n| `sails.config.datastores.default.adapter`      | ((ref))    | `require('sails-disk')`    |\n\n\ni.e.\n\n```javascript\n{\n  globals: {\n    adapters: true,\n    models: true\n  },\n\n  // Default model properties\n  models: {\n\n    // This default datastore for the app will be used for\n    // each model unless otherwise specified.\n    datastore: 'default'\n  },\n\n\n  // Connections to data sources, web services, and external APIs.\n  // Can be attached to models and/or accessed directly.\n  datastores: {\n\n    // Built-in disk persistence\n    // (by default, creates the file: `.tmp/localDiskDb.db`)\n    default: {\n      adapter: 'sails-disk'\n    }\n  }\n}\n```\n\n\n## Events\n\n##### `hook:orm:loaded`\n\nEmitted when this hook has been automatically loaded by Sails core, and triggered the callback in its `initialize` function.\n\n\n##### `hook:orm:reload`\n\nThis event is no longer emitted by this hook.  This event will likely be replaced by making `.reload()` a public function.\n\n> This event is experimental and is likely to change in a future release.\n\n\n##### `hook:orm:reloaded`\n\nEmitted when a reload is complete.  This event will likely be replaced by expecting a callback in `.reload()`.\n\n> This event is experimental and is likely to change in a future release.\n\n\n\n\n## Methods\n\n#### sails.hooks.orm.reload()\n\nReload the ORM hook, reloading models and adapters from disk, and reinstantiating Waterline.\n\n- Note that **this does not automatically reload dependent hooks** (such as blueprints).\n- Also note that there is currently no callback.\n\n```javascript\nsails.hooks.orm.reload();\n```\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n\n#### sails.hooks.orm.teardown()\n\nCall the `teardown()` method for adapters which have one, and which were previously loaded by the ORM hook.\n\n```javascript\nsails.hooks.orm.teardown(cb);\n```\n\n\n###### Usage\n\n\n|     |          Argument           | Type                | Details\n| --- | --------------------------- | ------------------- | ----------------------------------------------------------------------------------\n| 1   |        **cb**               | ((function))        | Optional. Fires when the teardown process for the hook is complete.\n\n\n> ##### API: Private\n> - Please do not use this method in userland (i.e. in your app or even in a custom hook or other type of Sails plugin).\n> - Because it is a private API of a core hook, if you use this method in your code it may stop working or change without warning, at any time.\n> - If you would like to see a version of this method made public and its API stabilized, please open a [proposal](https://github.com/balderdashy/sails/blob/master/CONTRIBUTING.md#v-proposing-features-and-enhancements).\n\n\n\n## FAQ\n\n> If you have a question about this hook that isn't covered here, please feel free to send a PR adding it to this section (even if you don't have the answer, a core maintainer will merge your PR and add an answer as soon as possible)\n\n#### What is this?\n\nThis repo contains a hook, one of the building blocks Sails is made out of.\n\n#### What version of Sails is this for?\n\nThis hook is a dependency of Sails core as of Sails v0.12, in Sails v1, and beyond.\n\n\n#### Can I disable this hook?\n\nYes.  To disable this hook, merge the following JSON into your project's `.sailsrc` file:\n\n```json\n{\n  \"hooks\": {\n    \"orm\": false\n  }\n}\n```\n\n#### Can I override this hook to use a different ORM like Mongoose or Bookshelf instead of Waterline?\n\nYes.  To override this hook, define your replacement hook with `identity: orm` in your `.sailsrc` file or your app's `api/hooks/` directory.\n\n\n## Help\n\nIf you have further questions or are having trouble, click [here](http://sailsjs.com/support).\n\n\n## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/sails-hook-orm.svg)](http://npmjs.com/package/sails-hook-orm)\n\nTo report a bug, [click here](http://sailsjs.com/bugs).\n\n\n## Contributing\n\nPlease observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.\n\n[![NPM](https://nodei.co/npm/sails-hook-orm.png?downloads=true)](http://npmjs.com/package/sails-hook-orm)\n\n\n## License\n\nThe [Sails framework](http://sailsjs.com) is free and open-source under the [MIT License](http://sailsjs.com/license).\n\n","maintainers":[{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"rachaelshaw","email":"rachaelshaw@treeline.io"},{"name":"sgress454","email":"scottmgress@gmail.com"},{"name":"mikermcneil","email":"npm@sailsjs.com"},{"name":"eashaw","email":"eashaw@sailsjs.com"}],"time":{"modified":"2024-03-15T15:57:07.036Z","created":"2016-01-19T18:34:30.635Z","0.1.0":"2016-01-19T18:34:30.635Z","0.2.0":"2016-01-22T22:51:51.982Z","1.0.0":"2016-03-07T16:44:21.744Z","1.0.1":"2016-03-13T18:04:25.721Z","1.0.2":"2016-03-14T17:16:10.594Z","1.0.3":"2016-03-15T16:41:31.215Z","1.0.4":"2016-04-01T21:28:37.092Z","1.0.5":"2016-04-01T21:29:59.226Z","1.0.6":"2016-04-02T01:13:47.385Z","1.0.7":"2016-10-06T17:49:33.610Z","1.0.8":"2016-11-05T03:44:23.578Z","1.0.9":"2016-11-06T01:37:41.800Z","2.0.0-0":"2016-11-06T02:07:48.793Z","2.0.0-1":"2016-11-16T22:59:21.451Z","2.0.0-2":"2016-12-22T23:09:52.054Z","2.0.0-3":"2016-12-30T23:36:34.669Z","2.0.0-4":"2016-12-31T01:08:07.255Z","2.0.0-5":"2017-01-05T19:04:54.424Z","1.0.10-1":"2017-01-16T22:18:09.264Z","2.0.0-6":"2017-01-24T15:33:34.125Z","2.0.0-7":"2017-01-24T18:40:05.444Z","2.0.0-8":"2017-02-01T23:25:17.151Z","2.0.0-9":"2017-02-06T02:46:00.048Z","2.0.0-10":"2017-02-07T17:38:47.197Z","2.0.0-11":"2017-02-14T23:33:44.696Z","2.0.0-12":"2017-02-15T22:46:49.308Z","2.0.0-13":"2017-02-23T01:11:25.952Z","2.0.0-14":"2017-02-23T18:20:50.029Z","2.0.0-15":"2017-03-03T20:13:59.420Z","2.0.0-16":"2017-03-30T22:27:02.032Z","2.0.0-17":"2017-04-28T20:27:30.331Z","2.0.0-18":"2017-06-01T04:05:35.431Z","2.0.0-19":"2017-07-13T20:06:06.461Z","2.0.0-20":"2017-08-09T19:34:55.124Z","2.0.0-21":"2017-08-11T21:37:47.968Z","2.0.0-22":"2017-11-21T21:54:41.473Z","2.0.0-23":"2018-01-30T20:36:55.538Z","2.0.0":"2018-03-28T17:01:40.570Z","2.0.1":"2018-05-06T21:13:43.336Z","2.1.0-0":"2018-05-29T02:06:00.939Z","2.1.0":"2018-07-24T00:14:26.063Z","2.1.1":"2018-10-17T20:57:16.458Z","3.0.0-0":"2019-01-30T00:33:47.917Z","3.0.0-1":"2019-01-30T00:35:23.290Z","3.0.0-2":"2020-04-23T21:12:33.151Z","3.0.0":"2020-05-26T17:07:16.426Z","3.0.1":"2020-05-26T17:08:46.753Z","3.0.2":"2021-03-10T14:29:53.818Z","4.0.0":"2021-10-22T19:02:00.650Z","4.0.1":"2022-01-10T23:17:02.167Z","4.0.2":"2022-08-10T18:23:35.879Z","4.0.3":"2024-03-15T15:57:06.586Z"},"homepage":"https://sailsjs.com","keywords":["waterline","orm","sails","hook","sails-hook"],"repository":{"type":"git","url":"git+https://github.com/balderdashy/sails-hook-orm.git"},"author":{"name":"Mike McNeil"},"bugs":{"url":"https://sailsjs.com/bugs"},"license":"MIT","readmeFilename":"README.md"}