Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit fdf291d

Browse files
Merge pull request #285 from camilamacedo86/FIX_LAST
fix(SDK broken with client forms app): Downgrade dep libs to be the same of the 3.0.2 version released
2 parents 745d30a + 0459792 commit fdf291d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4807
-5065
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog - FeedHenry Javascript SDK
22

3+
4+
## 3.0.9 - 2018-08-24
5+
### Fix
6+
- Downgrade development dependencies and browserify for the same versions used/released at 3.0.2 for it still compatible with client app forms.
7+
38
## 3.0.8 - 2018-08-23
49
### Changes
510
- Upgrade version used of fh-sync-js to 1.3.1

Gruntfile.js

+30-33
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ module.exports = function(grunt) {
1111
meta: {},
1212
jshint: {
1313
all: ['src/modules/**/*.js',
14-
'!src/modules/ajax.js',
15-
'src/appforms/src/core/*.js',
16-
'src/appforms/src/backbone/*.js',
17-
'!src/appforms/src/core/000*.js',
18-
'!src/appforms/src/core/060*.js',
19-
'!src/appforms/src/core/999*.js',
20-
'!src/appforms/src/backbone/000*.js',
21-
'!src/appforms/src/backbone/001*.js',
22-
'!src/appforms/src/backbone/999*.js'],
14+
'!src/modules/ajax.js',
15+
'src/appforms/src/core/*.js',
16+
'src/appforms/src/backbone/*.js',
17+
'!src/appforms/src/core/000*.js',
18+
'!src/appforms/src/core/060*.js',
19+
'!src/appforms/src/core/999*.js',
20+
'!src/appforms/src/backbone/000*.js',
21+
'!src/appforms/src/backbone/001*.js',
22+
'!src/appforms/src/backbone/999*.js'],
2323
options: {
2424
curly: true,
2525
eqeqeq: true,
@@ -119,31 +119,28 @@ module.exports = function(grunt) {
119119
src:['src/feedhenry.js'],
120120
dest: 'dist/feedhenry.js',
121121
options: {
122-
browserifyOptions: {
123-
standalone: 'feedhenry',
124-
transform: [function (file) {
125-
var data = '';
126-
function write(buf) {
127-
data += buf
128-
}
129-
function end() {
130-
var t = data;
131-
if (file.indexOf("constants.js") >= 0) {
132-
var version = pkg.version;
133-
console.log("found current version = " + version);
134-
if (process.env.TRAVIS_BUILD_NUMBER) {
135-
console.log("found BUILD_NUMBER in process.env " + process.env.TRAVIS_BUILD_NUMBER);
136-
version = version + '-' + process.env.TRAVIS_BUILD_NUMBER;
137-
}
138-
console.log("Version to inject is " + version);
139-
t = data.replace("BUILD_VERSION", version);
140-
}
141-
this.queue(t);
142-
this.queue(null);
122+
standalone: 'feedhenry',
123+
transform: [function(file){
124+
var data = '';
125+
126+
function write (buf) { data += buf }
127+
function end () {
128+
var t = data;
129+
if(file.indexOf("constants.js") >= 0){
130+
var version = pkg.version;
131+
console.log("found current version = " + version);
132+
if(process.env.TRAVIS_BUILD_NUMBER){
133+
console.log("found BUILD_NUMBER in process.env " + process.env.TRAVIS_BUILD_NUMBER);
134+
version = version + '-' + process.env.TRAVIS_BUILD_NUMBER;
135+
}
136+
console.log("Version to inject is " + version);
137+
t = data.replace("BUILD_VERSION", version);
143138
}
139+
this.queue(t);
140+
this.queue(null);
141+
}
144142
return through(write, end);
145-
}]
146-
}
143+
}]
147144
}
148145
},
149146
// This browserify build can be required by other browserify modules that
@@ -165,7 +162,7 @@ module.exports = function(grunt) {
165162
dest: './test/browser/browserified_tests.js',
166163
options: {
167164
external: [ './src/feedhenry.js' ],
168-
exclude: ['../../src-cov/modules/ajax', '../../src-cov/modules/events', '../../src-cov/modules/queryMap', '../../src-cov/feedhenry'],
165+
ignore: ['../../src-cov/modules/ajax', '../../src-cov/modules/events', '../../src-cov/modules/queryMap', '../../src-cov/feedhenry'],
169166
// Embed source map for tests
170167
debug: true
171168
}

licenses/ACORN_MIT.TXT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2012-2018 by various contributors (see AUTHORS)
1+
Copyright (C) 2012-2016 by various contributors (see AUTHORS)
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

licenses/ASYNC_MIT.TXT

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2010 Caolan McMahon
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

licenses/BASE64_WTFPL.TXT

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
3+
Version 2, December 2004
4+
5+
Copyright (c) 2011..2012 David Chambers <[email protected]>
6+
7+
Everyone is permitted to copy and distribute verbatim or modified
8+
copies of this license document, and changing it is allowed as long
9+
as the name is changed.
10+
11+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
12+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
13+
14+
0. You just DO WHAT THE FUCK YOU WANT TO.

licenses/BROWSERIFY_MIT.TXT

+1-22
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
1-
This software is released under the MIT license:
2-
3-
Permission is hereby granted, free of charge, to any person obtaining a copy of
4-
this software and associated documentation files (the "Software"), to deal in
5-
the Software without restriction, including without limitation the rights to
6-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7-
the Software, and to permit persons to whom the Software is furnished to do so,
8-
subject to the following conditions:
9-
10-
The above copyright notice and this permission notice shall be included in all
11-
copies or substantial portions of the Software.
12-
13-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19-
20-
---
21-
221
Some pieces from builtins/ taken from node core under this license:
232

243
----
@@ -50,7 +29,7 @@ buffer_ieee754.js has this license in it:
5029

5130
----
5231

53-
Copyright (c) 2008-2015, Fair Oaks Labs, Inc.
32+
Copyright (c) 2008, Fair Oaks Labs, Inc.
5433
All rights reserved.
5534

5635
Redistribution and use in source and binary forms, with or without

licenses/BUFFER_MIT.TXT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Feross Aboukhadijeh, and other contributors.
3+
Copyright (C) 2013 Feross Aboukhadijeh, and other contributors.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

licenses/CAMELCASE_MIT.TXT

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

licenses/COMMONDIR_MIT*.TXT

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
commondir
2+
=========
3+
4+
Compute the closest common parent directory among an array of directories.
5+
6+
example
7+
=======
8+
9+
dir
10+
---
11+
12+
> var commondir = require('commondir');
13+
> commondir([ '/x/y/z', '/x/y', '/x/y/w/q' ])
14+
'/x/y'
15+
16+
base
17+
----
18+
19+
> var commondir = require('commondir')
20+
> commondir('/foo/bar', [ '../baz', '../../foo/quux', './bizzy' ])
21+
'/foo'
22+
23+
methods
24+
=======
25+
26+
var commondir = require('commondir');
27+
28+
commondir(absolutePaths)
29+
------------------------
30+
31+
Compute the closest common parent directory for an array `absolutePaths`.
32+
33+
commondir(basedir, relativePaths)
34+
---------------------------------
35+
36+
Compute the closest common parent directory for an array `relativePaths` which
37+
will be resolved for each `dir` in `relativePaths` according to:
38+
`path.resolve(basedir, dir)`.
39+
40+
installation
41+
============
42+
43+
Using [npm](http://npmjs.org), just do:
44+
45+
npm install commondir

licenses/DECAMELIZE_MIT.TXT

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

licenses/DEEP-EQUAL_MIT.TXT

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# deep-equal
2+
3+
Node's `assert.deepEqual() algorithm` as a standalone module.
4+
5+
This module is around [5 times faster](https://gist.github.com/2790507)
6+
than wrapping `assert.deepEqual()` in a `try/catch`.
7+
8+
[![browser support](https://ci.testling.com/substack/node-deep-equal.png)](https://ci.testling.com/substack/node-deep-equal)
9+
10+
[![build status](https://secure.travis-ci.org/substack/node-deep-equal.png)](https://travis-ci.org/substack/node-deep-equal)
11+
12+
# example
13+
14+
``` js
15+
var equal = require('deep-equal');
16+
console.dir([
17+
equal(
18+
{ a : [ 2, 3 ], b : [ 4 ] },
19+
{ a : [ 2, 3 ], b : [ 4 ] }
20+
),
21+
equal(
22+
{ x : 5, y : [6] },
23+
{ x : 5, y : 6 }
24+
)
25+
]);
26+
```
27+
28+
# methods
29+
30+
``` js
31+
var deepEqual = require('deep-equal')
32+
```
33+
34+
## deepEqual(a, b, opts)
35+
36+
Compare objects `a` and `b`, returning whether they are equal according to a
37+
recursive equality algorithm.
38+
39+
If `opts.strict` is `true`, use strict equality (`===`) to compare leaf nodes.
40+
The default is to use coercive equality (`==`) because that's how
41+
`assert.deepEqual()` works by default.
42+
43+
# install
44+
45+
With [npm](http://npmjs.org) do:
46+
47+
```
48+
npm install deep-equal
49+
```
50+
51+
# test
52+
53+
With [npm](http://npmjs.org) do:
54+
55+
```
56+
npm test
57+
```
58+
59+
# license
60+
61+
MIT. Derived largely from node's assert module.

licenses/DUPLEXER2_BSD*.TXT

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright (c) 2013, Deoxxa Development
2+
======================================
3+
All rights reserved.
4+
--------------------
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
1. Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
3. Neither the name of Deoxxa Development nor the names of its contributors
14+
may be used to endorse or promote products derived from this software
15+
without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY DEOXXA DEVELOPMENT ''AS IS'' AND ANY
18+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+
DISCLAIMED. IN NO EVENT SHALL DEOXXA DEVELOPMENT BE LIABLE FOR ANY
21+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

licenses/DUPLEXER_MIT.TXT

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2012 Raynos.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

licenses/ESCOPE_BSD.TXT

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Redistribution and use in source and binary forms, with or without
2+
modification, are permitted provided that the following conditions are met:
3+
4+
* Redistributions of source code must retain the above copyright
5+
notice, this list of conditions and the following disclaimer.
6+
* Redistributions in binary form must reproduce the above copyright
7+
notice, this list of conditions and the following disclaimer in the
8+
documentation and/or other materials provided with the distribution.
9+
10+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
11+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
12+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
13+
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
14+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
15+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
16+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
17+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
19+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)