Socket
Socket
Sign inDemoInstall

wpapi

Package Overview
Dependencies
37
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

1.2.2

Diff

Changelog

Source

v1.2.2 (future release)

  • Throw an error early when .file() is passed a Buffer object without an accompanying name string, props @cungminh2710 & @mvhirsch
kadamwhite
published 1.2.1 •

Changelog

Source

v1.2.1 Colomb

  • Fix issue where li was improperly declared as a dev-only dependency, props @el-lsan & @jerolan.
kadamwhite
published 1.2.0 •

Changelog

Source

v1.2.0 Space Is Only Noise

  • BREAKING: The minimum supported node version is now v8.6, or v8.2.1 with the --harmony flag.
  • BREAKING: ._paging.total and ._paging.totalPages response properties are now returned as integers, not strings.
  • Bundled route handlers are now available for new first-party endpoints in WordPress 5.0.
  • The project now uses Jest and ESLint in place of Mocha, Chai, JSCS and JSHint. Thank you for your years of service, "nyan" reporter!
  • Browser bundle size has been reduced.
kadamwhite
published 2.0.0-alpha.1 •

kadamwhite
published 2.0.0-alpha.0 •

kadamwhite
published 1.1.2 •

Changelog

Source

v1.1.2 If I Survive

  • Resolves an issue where authentication credentials where not maintained properly when iterating through pages of a connection with ._paging.next or ._paging.prev, props @motleydev for the reproducible bug report
  • Introduces a --file flag for the update-default-routes-json command-line script
kadamwhite
published 1.1.1 •

Changelog

Source

v1.1.1 Music For The Masses

  • Resolves an issue where certain route paths would cause a fatal error in the route tree parser, props @obenland for diagnosing the bug
kadamwhite
published 1.1.0 •

Changelog

Source

v1.1.0 Where's Your Head At

  • Implement a .setHeader() method for WPAPI and WPRequest objects to send arbitrary HTTP headers with outgoing API requests, props @anagio, @andreasvirkus, @gnarf, @Matthewnie, @mnivoliez, & @mzalewski
  • Clarify CORS requirements in README, props @entr
  • Improve inline documentation & switch from YUIDoc to JSDoc
kadamwhite
published 1.0.3 •

Changelog

Source

v1.0.3 Couleurs Primaires

  • Properly parse API response text when response is sent back with Content-Type "text/html"
kadamwhite
published 1.0.3-0 •

23Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc