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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 30 additions & 33 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 19 additions & 0 deletions
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

Lines changed: 14 additions & 0 deletions
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 <dc@hashify.me>
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

Lines changed: 1 addition & 22 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (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

Lines changed: 45 additions & 0 deletions
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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (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.

0 commit comments

Comments
 (0)