Searched refs:plainObjects (Results 1 – 5 of 5) sorted by relevance
/third_party/node/deps/npm/node_modules/qs/lib/ |
D | parse.js | 15 plainObjects: false, property 60 obj = options.plainObjects ? Object.create(null) : {}; 107 if (!options.plainObjects && has.call(Object.prototype, parent)) { 121 if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { 152 …options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults… 158 return options.plainObjects ? Object.create(null) : {}; 162 var obj = options.plainObjects ? Object.create(null) : {};
|
D | utils.js | 38 var obj = options && options.plainObjects ? Object.create(null) : {}; 57 … if (options.plainObjects || options.allowPrototypes || !has.call(Object.prototype, source)) {
|
/third_party/node/deps/npm/node_modules/qs/dist/ |
D | qs.js | 49 plainObjects: false, property 94 obj = options.plainObjects ? Object.create(null) : {}; 141 if (!options.plainObjects && has.call(Object.prototype, parent)) { 155 if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { 186 …options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults… 192 return options.plainObjects ? Object.create(null) : {}; 196 var obj = options.plainObjects ? Object.create(null) : {}; 460 var obj = options && options.plainObjects ? Object.create(null) : {}; 479 … if (options.plainObjects || options.allowPrototypes || !has.call(Object.prototype, source)) {
|
/third_party/node/deps/npm/node_modules/qs/test/ |
D | parse.js | 510 qs.parse('a[b]=c&a=toString', { plainObjects: true }), property 523 st.deepEqual(qs.parse('a[b]=c&a[hasOwnProperty]=d', { plainObjects: true }), expected); property 524 st.deepEqual(qs.parse(null, { plainObjects: true }), Object.create(null)); property 529 st.deepEqual(qs.parse('a[]=b&a[c]=d', { plainObjects: true }), expectedArray); property
|
/third_party/node/deps/npm/node_modules/qs/ |
D | README.md | 48 When using the `plainObjects` option the parsed value is returned as a null object, created via `Ob… 51 var nullObject = qs.parse('a[hasOwnProperty]=b', { plainObjects: true }); 55 …e ignored, if you wish to keep the data from those fields either use `plainObjects` as mentioned a…
|