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

express-sweet

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-sweet - npm Package Versions

1
46

1.0.12

Diff

Changelog

Source

[1.0.12] - 2021/11/16

Added

  • Added a method to the model that can execute raw SQL. As there are often use cases in which it is just easier to execute raw / already prepared SQL queries, you can use the Model.query method.
    // By default the function will return two arguments - a results array, and an object containing metadata (such as amount of affected rows, etc).
    // Note that since this is a raw query, the metadata are dialect specific.
    const [results, metadata] = await BookModel.query("UPDATE book SET title = 'When Im Gone' WHERE id = 1");
    
    // In cases where you don't need to access the metadata you can pass in a query type to tell sequelize how to format the results. For example, for a simple select query you could do:
    // We didn't need to destructure the result here - the results were returned directly
    const users = await BookModel.query("SELECT * FROM book", {type: BookModel.QueryTypes.SELECT});
    
takuya-motoshima
published 1.0.11 •

Changelog

Source

[1.0.11] - 2021/11/10

Fixed

  • Fixed a bug that the database config was read before NODE_ENV was set and the database config matching NODE_ENV could not be read.
takuya-motoshima
published 1.0.10 •

Changelog

Source

[1.0.10] - 2021/10/19

Changed

  • Added face similarity found to face search results in collection.
takuya-motoshima
published 1.0.9 •

Changelog

Source

[1.0.9] - 2021/10/13

Changed

  • Updated dependent package'sharp'from 0.25.4 to 0.29.1.
    This update statically links sharp's pre-built libvips binaries, eliminating the need to install Phton.
    Click here for sharp change log.
takuya-motoshima
published 1.0.8 •

Changelog

Source

[1.0.8] - 2021/9/25

Fixed

  • Fixed a bug where the default router couldn't aqua from the endpoint URL.
takuya-motoshima
published 1.0.7 •

Changelog

Source

[1.0.7] - 2021/8/13

Added

  • Added where member functions to Model class.
takuya-motoshima
published 1.0.6 •

Changelog

Source

[1.0.6] - 2021/8/13

Added

  • Added fn, col and literal member functions to Model class.
takuya-motoshima
published 1.0.5 •

Changelog

Source

[1.0.5] - 2021/8/12

Changed

  • Changed the maximum size per field for multipart (multipart/form-data) requests from 1MB to unlimited.
takuya-motoshima
published 1.0.4 •

Changelog

Source

[1.0.4] - 2021/6/13

Fixed

  • Fixed a bug where the referrer URL was set in app.locals.currentPath instead of the current URL.
takuya-motoshima
published 1.0.3 •

Changelog

Source

[1.0.3] - 2021/6/13

Changed

  • Change the current URL path of a local variable.app.locals.currentPath is a USVString containing an initial '/' followed by the path of the URL not including the query string or fragment.
    // For example, when the current URL is "https://example.com/docs/api?q=value", "/docs/api" is set for "app.locals.currentPath".
    console.log(app.locals.currentPath);
    
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