godaddy/kubernetes-client

Browser compatibility: make swagger-client not dependent on fs

Open

#337 aperta il 18 ott 2018

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (206 fork)batch import
help wanted

Metriche repository

Star
 (954 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

fs is currently called in the swagger client constructor: https://github.com/godaddy/kubernetes-client/blob/master/lib/swagger-client.js#L106

This causes errors in browser and makes it very difficult to construct a browser-friendly swagger client.

Guida contributor