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

@ackee/antonio-utils

Package Overview
Dependencies
Maintainers
7
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ackee/antonio-utils - npm Package Versions

124

4.0.0-beta.36

Diff

Changelog

Source

4.0.0-beta.36 (2021-09-10)

Changed

  • 🔧 Update npm release script [910a9b6]

<a name="4.0.0-beta.35"></a>

ackeecz
published 4.0.0-beta.34 •

Changelog

Source

4.0.0-beta.34 (2021-09-10)

Added

  • ✅ Add test for createREquestUrl util [657f972]
  • ✅ Add tests for joinUrlChunks util [47321f4]
  • ✅ Add tests for uriParams [f739bc8]
  • 👷‍♂️ Add release config for github actions [a2ac744]
  • 👷‍♂️ Add config for running tests with github actions [ef5b6ea]
  • ✅ Add tests for mergeRequestConfigs util [41dc0af]
  • ✨ Add util for merging search params [8f7fc6c]
  • ✅ Add tests for formatBodyData util [8c0ea82]
  • ✅ Add tests for setContentTypeHeader util [a1f886c]
  • ✅ Add tests for request mime types [4d1767d]
  • ✅ Add tests for encodeParamsToSearchParams [0ca805c]
  • ✨ Add generalConfig as prop. of Antonio [338e126]
  • ✨ Add possible to set Antonio class level generics as defaults of TSuccessData & TErrorData [9babdd0]
  • ✅ Add tests for searchParams utils [ce7f51d]
  • ✅ Add test for each req. method [7b9fced]
  • ✨ Generate docs from TS types during pre-commit hook [ceeaf1e]
  • ✨ Skip parsing response if Content-Length is 0 [5763e61]
  • ✨ Set all req. methods uppercase [dd980c7]
  • ✨ Add runIterableStream utility [0a1e772]
  • ✨ Add madge for checking circular dependencies [dafe8ca]
  • ✨ Add 'iterableStream' and 'stream' response types [ca331a3]
  • ✨ Add 'arrayBuffer' response type [49d4663]
  • ✨ Add release:yalc npm script [f84163e]
  • ✨ Add resolverType general option (resolve req. as promise or generator) [a6f871e]
  • ✨ Add a codesandbox template [f0b02eb]
  • ✨ Add core-js@3.x as a peer dependency to each package [7876e1e]
  • ✨ Add run build in prepare npm script [967afe2]
  • ✨ Pass request config as 2nd arg to req. and res. interceptors (to each callback) [b54215b]
  • ✨ Create antonio-auth package with requestAuthHeaderInterceptor [5d2151b]
  • ✨ Add setAuthHeader to antonio-utils [8188f51]

Changed

  • 🔧 Rename github workflow [02a186d]
  • 🔧 Run CI tests only when new pull request is created [c97ae34]
  • ♻️ Improve choosing default mime type for content type request header based on body [2620875]
  • 🚸 runIterableStream: throw an type error if anything other than async iterator has been passed in [05f69c2]
  • 🎨 PATCH method is case sensitive [d694e27]
  • 🔧 Adjust babel config (remove plugins that are included the @babel/preset-env) [01aea0f]
  • 🔧 Add codesandbox config [9002463]
  • 🔧 Update babel config [bce23bb]
  • 🔧 Update babel config [b1adb32]
  • ⚡ Load AbortController polyfill on demand [52f587c]
  • ⬆️ antonio-auth: @ackee/petrus@5.2.1 [fb439a5]
  • 🔧 Add release & release:beta scripts [3241eb1]
  • 🔧 Config lerna to publish packages independently [bf052d7]

Breaking changes

  • 💥 Refactor interceptors [3a80841]
  • 💥 Include null, undefined or an empty string values as params in req. URL [02bc1a1]
  • 💥 Disable resolver type 'promise' option, use the 'generator' one statically, by default [43a24cb]
  • 💥 Remove 'create' method in favor of 'new Antonio()' [f5ba39d]
  • 💥 Set content type based on body for req.; choose default response data type based on content type [f7de00b]

Removed

  • 🔥 Removing release CD config for github actinos [58ab6f9]
  • 🔥 Remove resolver types -> methods return sync generator by default (never promise) [eb77dfc]
  • 🔥 Remove unused import [f6f61f1]
  • 🔥 Remove path aliases [112e714]
  • 🔥 Remove npmignore [f4ad35d]
  • 🔥 Remove jsnext:main prop in favor of module from package.json [22529e9]
  • 🔥 Remove version and release npm scripts [28045c6]

Fixed

  • ✏️ Fix typo in antonio-core version [78c2e9a]
  • 🐛 Don't set Content-Type for FormData request body [7192db4]
  • 🐛 Prevent modifying existing headers [72f7f4e]
  • 🐛 Fix throwing out error when req. fails & running onFailure interceptors [c39996b]
  • 🐛 Fix req. interceptor return value validation [56b3bd7]
  • 🐛 Correct script name in pre-push hook [a158c26]
  • 🐛 Don't parse res. for 'HEAD' req. method [5dcd611]
  • 🐛 Fix iterableStream - resolve the generator even the stream turns out to be empty [7eacf54]
  • 🐛 Fix choosing response data type [9c61e6b]
  • 🐛 Handle empty request body [7a73a61]
  • 🐛 If parsing response as json fails, try to parse it as text [d792241]
  • 🐛 Force responseType 'text' for delete and head req. methods [06ea42d]
  • 🐛 Fix adding search param array value to URLSearchParams [bc57776]
  • 🐛 Yield only non-empty chunks from iterable stream [bef8cde]
  • 🐛 Fix cir. import [39e748c]
  • 🐛 Filter out invalid search params (empty string, null, undefined, etc.) [af556f7]
  • 🐛 Fix removing slashed in joinUrlChunks util [625ca71]
  • 🐛 Correct min version of @ackee/petrus peer dependency [24f4f4e]
  • 🐛 Support params to req. for better backwards compatibility (works same as searchParams) [278faf1]
  • 🐛 Fix default token type at setAuthHeader [5aa3596]
  • 🐛 Fix default token type at setAuthHeader [e60cb74]

Miscellaneous

  • Update README.md [d7ff90e]
  • Merge pull request #62 from AckeeCZ/feat/tests-2 [6a561cf]
  • Merge pull request #61 from AckeeCZ/feat/tests [21cacaf]
  • Merge pull request #60 from AckeeCZ/feat/tests [903b5b6]
  • 🏷️ Export FinalRequestConfig TS interface [1dd85ef]
  • Merge pull request #58 from AckeeCZ/feat/tests [6f87b92]
  • 📝 Update antonio-core README [f0bae44]
  • 📝 Update docs - API references [2378107]
  • 💡 Add docs comments for req. & res. interceptors [17ef1cc]
  • 🏷️ Add isAntonioError type guard [cc10f07]
  • 🏷️ Propagate generic argument of 'data' to AntonioError [41c127a]
  • 🏷️ Add generic argument to each req. method to set req. result 'data' type [a946fc1]
  • 🚧 Add tests for each req. method [6aa48ec]
  • 📝 Generate docs api references to be compatible with github wiki [d74aa6f]
  • 📝 Update API references [23a6ee4]
  • 💡 Add docs comment to runIterableStream, create & destroy methods [70b57b9]
  • 💡 Add comments & examples to properties in FullRequestConfig type [e0abefa]
  • 🏷️ Make defaultGeneralConfig object const [fc4cf98]
  • 🏷️ Preserve enums as constant objects after transpilation [ac50cd1]
  • 🏷️ Type generalConfigs weak map [3c8e0a3]
  • 📝 Fix internal links in README in antonio-core [d77daf0]
  • Update README.md [a4cd2e4]
  • 🏷️ Fix exporting AntonioError type [8edad30]
  • 🏷️ Export types from @ackee/antonio-core [5391d2e]
  • 📝 Add browsers support paragraph to the main README [478c8d8]
  • 💡 Add badges [9fbe280]
  • 💡 Update the main README [f5a3deb]
  • 💡 Add README about interceptors [eb2302e]
  • 💡 Update READMEs [9a9de4d]
  • 🏷️ Adding RequestHandler type [bc321c4]
  • 🏷️ Correct type at request interceptor: RequestInit -> Request [c8c4517]
  • Merge pull request #46 from AckeeCZ/feat/antonio-auth [580dd65]
  • 💡 Update README at antonio-utils [4fa475f]
  • Merge pull request #45 from AckeeCZ/feat/antonio-auth [c7e83ee]
  • 🏷️ Fix return type of mergeHeaders; complete RequestHeaders type [b62a072]
  • Merge pull request #44 from AckeeCZ/feat/antonio-utils [8574a6b]
  • Merge pull request #43 from AckeeCZ/feat/antonio-utils [1785a2d]
  • Merge pull request #42 from AckeeCZ/feat/antonio-core [ce8329b]
  • Merge pull request #41 from AckeeCZ/feat/interceptors [2fe8c59]
  • Merge pull request #40 from AckeeCZ/feat/antonio-core [7882e2b]
  • Merge pull request #39 from AckeeCZ/feat/monorepo [fbbc6ce]

<a name="4.0.0-beta.3"></a>

ackeecz
published 4.0.0-beta.11 •

ackeecz
published 4.0.0-beta.10 •

ackeecz
published 4.0.0-beta.9 •

ackeecz
published 4.0.0-beta.8 •

ackeecz
published 4.0.0-beta.7 •

ackeecz
published 4.0.0-beta.6 •

ackeecz
published 4.0.0-beta.5 •

ackeecz
published 4.0.0-beta.4 •

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