imgix-core-js param mutation bug

node v10.24.1
version: master
endpointsharetweet
const Imgix = require("imgix-core-js") const client = new Imgix({ domain: 'test.imgix.net' }); const params = {} const srcsetOptions = { widths: [100] } const url1 = client.buildSrcSet('', params, srcsetOptions); const url2 = client.buildSrcSet('', params, srcsetOptions); console.log(params, url1, url2)
Loading…

no comments

    sign in to comment