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

js-data-sql

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-data-sql - npm Package Versions

234

1.0.1

Diff

Changelog

Source

1.0.1 - 18 August 2017

Bug fixes
  • Remove mysql from dependencies
jdobry
published 1.0.0 •

Changelog

Source

1.0.0 - 17 August 2017

Stable 1.0.0 release

jdobry
published 1.0.0-beta.3 •

Changelog

Source

1.0.0-beta.3 - 16 May 2016

Bug fixes
  • Small fix for filterQuery
jdobry
published 1.0.0-beta.2 •

Changelog

Source

1.0.0-beta.2 - 16 May 2016

Breaking changes
  • Renamed knexOptions to knexOpts to be consistent with other adapters.
Backwards compatible changes
  • Added support for grouped where clauses
jdobry
published 1.0.0-beta.1 •

Changelog

Source

1.0.0-beta.1 - 14 May 2016

Official v1 beta release

Breaking changes
  • SqlAdapter#query has been renamed to SqlAdapter#knex

  • Options passed to new SqlAdapter are no longer passed directly to knex(options), instead knex options must be nested under a knexOpts field in the options object passed to new SqlAdapter, so as to separate knex options from adapter options.

  • Now depends on js-data v3, no longer works with js-data v2

  • The signature for the filterQuery method has been changed. filterQuery no longer performs any select, but only as where modifier to an existing sqlBuilder instance that must be passed as the first argument to filterQuery.

  • Now you must import like this:

    // CommonJS
    var JSDataSql = require('js-data-sql')
    var SqlAdapter = JSDataSql.SqlAdapter
    var adapter = new SqlAdapter({...})
    
    // ES2015 modules
    import {SqlAdapter} from 'js-data-sql'
    const adapter = new SqlAdapter({...})
    
  • SqlAdapter now extends the base Adapter class, which does the heavy lifting for eager-loading relations and adds a multitude of lifecycle hook methods.

techniq
published 0.11.17 •

techniq
published 0.11.16 •

techniq
published 0.11.15 •

techniq
published 0.11.14 •

techniq
published 0.11.13 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc