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

potion-client

Package Overview
Dependencies
Maintainers
2
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

potion-client - npm Package Versions

1
19

1.5.3

Diff

Changelog

Source

1.5.3 (2017-05-29)

<a name="1.5.3-1"></a>

rolandjitsu
published 1.5.3-1 •

Changelog

Source

1.5.3-1 (2017-05-29)

<a name="1.5.3-0"></a>

rolandjitsu
published 1.5.3-0 •

Changelog

Source

1.5.3-0 (2017-05-29)

Bug Fixes

  • $id and id() should also could be string (3034ab2)
  • don't add the provided prefix twice to $ref when serializing request body to Potion JSON (bdb8d19)
  • potion/core: ignore private props when updating/creating items (00bb652)
  • find all {uri} references before running reference replacement (a312391)
  • fix tslint errors (3b7a157)
  • fix unresolved resources due to race conditions and close #29 (26dad33)
  • id in Store should also be number|string (a692a90)
  • id param in fetch method should be number|string (9eca996)
  • only serialize {data, search} (74da957)
  • publish package as es5 (6cfa21a)
  • remove async/await and fix compatibility with AngularJS (1e75cf5)
  • update Pagination (0b02f6d)
  • potion/@angular: remove request method conversion to int (cd45c52)
  • when deserialize potion response make sure to only create a new instance if it does not exist (ca8028a)
  • deepOmap(): do not try to apply transformations to null values (163426e)
  • Item: exclude {potion} from the JSON repr. (028848c)
  • Item: remove async from .fetch() (unnecessary) (68fbc94)
  • Item: remove async/await (breaks compatibility with AngularJS) (be98bd8)
  • Item: remove unused import (c88aaa4)
  • omap(): do not run through Potion Item objects, closes #32 (d37a9ce)
  • Pagination: make the class iterable (c4c3aad)
  • potion/@angular: add missing exports (36b070e)
  • potion/@angular: add missing exports (c311f26)
  • potion/@angular: add Potion providers (ad4b0e0)
  • potion/@angular: convert object to JSON string before encoding (fb782db)
  • potion/@angular: do not fail when response is null (6e89e66)
  • potion/@angular: do not parse empty body responses to JSON (ae8c29c)
  • potion/@angular: encode search query param value (dd26f90)
  • potion/@angular: fix TS compiler error (06698b9)
  • potion/@angular: fix TS compiler error (cb57906)
  • potion/@angular: make sure resources are registered without having to inject Potion provider (7ddc6a3)
  • potion/@angular: properly encode the query params (c5e2df2)
  • potion/@angular: remove pre-encoding as PotionQueryEncoder will encode the search (6a8975a)
  • potion/@angular: set content type for POST requests to application/json (29f18cb)
  • potion/@angular: temp fix until #10235 in @angular gets fixed (805e7cd)
  • potion/angular: add fix for strict DI and close #7 (13f63a6)
  • potion/base: fix cross-referencing and close #10 (4006f1e)
  • potion/base: properly cache pending requests (0943546)
  • potion/core: catch exceptions from parseURI and reject the promise (4b59f9b)
  • potion/core: convert snake case to camel case when resolving a schema response (963bcd9)
  • potion/core: do not parse {$schema} references, but return plain object instead (d277f08)
  • potion/core: do not run snake case conversion twice (a86b766)
  • potion/core: make sure {cache} is always provided (b817138)
  • potion/core: make sure checking the instance of any class that extended Item works (5edafb5)
  • potion/core: remove Symbol.hasInstance (e5edf9b)
  • potion/core: skip {$ref: '#'} references (dcc0d12)
  • potion/utils: separate alphanumeric characters from numbers when toSnakeCase() is applied to a string (70fd2ad)
  • PotionBase: add missing semicolon (00d6588)
  • PotionBase: add partial impl. for circular references (3e3d162)

Features

  • core/item: use proper return types on methods (c84c94d)
  • Item: add .equals() method for comparing resources (8454bd3)
  • Item.save(): if the item already exists, just update it (7991930)
  • Potion: use map operator instead of the promise to manipulate the response (0aadbfe)
  • potion/@angular: allow user to change the Http engine (eae0bd9)
  • potion/@angular: implement support for more reponse types in .request() (c91f216)
  • potion/@angular: prevent reimport of PotionModule (e02fe52)
  • potion/angular2: update to angular rc.4 (55396d4)
  • remove necessity of .forRoot() when importing the PotionModule (ee2a070)
  • potion/base: implement Potion().register() return the registered resource class and close #6 (271f410)
  • add support for parsing resources based on {$id, $type} if {$uri} is not provided and close #15 (41cf8ed)
  • allow usage of UUIDs as primary key (Item {id}) (3b20d9c)
  • export route() (7a1699d)
  • export toSnakeCase() and toCamelCase() fns (f53d665)
  • finish up self reference replacement alg. (7b5cae8)
  • handle errors better (330caa1)
  • implement a better way to register resources (beff708)
  • implement support for AOT (5d2ad0f)
  • improve code readability (0048fb9)
  • reject with Error object instead of string (7b83bfc)
  • resolve self references as SelfReference for any request (85b9a4c)
  • upgrade Angular 2 impl. to RC5 (4045b50)
  • upgrade deps (07df473)
  • upgrade deps (a39a244)
  • upgrade to Angular 4 (6cb61c4)
  • use .ts ext. for karma config (0e189d3)
  • use async and native Promise (66f3c8f)
  • use proper types when possible (8dc44ca)

<a name="0.14.6"></a>

rolandjitsu
published 1.5.2 •

rolandjitsu
published 1.5.1 •

rolandjitsu
published 1.5.0 •

rolandjitsu
published 1.4.0 •

rolandjitsu
published 1.3.0 •

rolandjitsu
published 1.2.0 •

rolandjitsu
published 1.1.0 •

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