Home
last modified time | relevance | path

Searched refs:allowDots (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/npm/node_modules/qs/lib/
Dstringify.js41 allowDots, argument
98 allowDots,
106 prefix + (allowDots ? '.' + key : '[' + key + ']'),
113 allowDots,
138 var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;
199 allowDots,
Dparse.js8 allowDots: false, property
89 var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
151 …options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDot…
/third_party/node/deps/npm/node_modules/qs/dist/
Dqs.js42 allowDots: false, property
123 var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
185 …options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDot…
251 allowDots,
308 allowDots,
316 prefix + (allowDots ? '.' + key : '[' + key + ']'),
323 allowDots,
348 var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;
409 allowDots,
/third_party/node/deps/npm/node_modules/qs/test/
Dstringify.js39 st.equal(qs.stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c'); property
40 st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true }), 'a.b.c.d=e'); property
89 { allowDots: true, encode: false, arrayFormat: 'indices' } property
97 { allowDots: true, encode: false, arrayFormat: 'brackets' } property
105 { allowDots: true, encode: false } property
175 { allowDots: true, encode: false, arrayFormat: 'indices' } property
183 { allowDots: true, encode: false, arrayFormat: 'brackets' } property
191 { allowDots: true, encode: false } property
200 { allowDots: true, encode: false, arrayFormat: 'indices' } property
208 { allowDots: true, encode: false, arrayFormat: 'brackets' } property
[all …]
Dparse.js37 st.deepEqual(qs.parse('a.b=c', { allowDots: true }), { a: { b: 'c' } }); property
144 …st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [{ baz: 'bar' }]… property
145 …st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad.boo=baz', { allowDots: true }), { foo: [{ baz: 'bar… property
146 …st.deepEqual(qs.parse('foo[0][0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [[{ baz: 'bar… property
147 …st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].bar=2', { allowDots: true }), { foo: [{ baz: ['15']… property
148 …st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].baz[1]=16&foo[0].bar=2', { allowDots: true }), { fo… property
149 …st.deepEqual(qs.parse('foo.bad=baz&foo[0]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar… property
150 …st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar'… property
151 …st.deepEqual(qs.parse('foo[]=bar&foo.bad=baz', { allowDots: true }), { foo: { 0: 'bar', bad: 'baz'… property
152 …st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar&foo[]=foo', { allowDots: true }), { foo: { bad: 'baz'… property
[all …]
/third_party/node/deps/npm/node_modules/qs/
DREADME.md142 Option `allowDots` can be used to enable dot notation:
145 var withDots = qs.parse('a.b=c', { allowDots: true });
304 You may override this to use dot notation by setting the `allowDots` option to `true`:
307 qs.stringify({ a: { b: { c: 'd', e: 'f' } } }, { allowDots: true });
DCHANGELOG.md47 - [Docs] document stringify option `allowDots` (#195)
100 - [New] allowDots option for `stringify` (#151)
134 - [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false