Skip to content

Commit cb73bf6

Browse files
committed
πŸ‘Š
1 parent a53e100 commit cb73bf6

File tree

14 files changed

+567
-38
lines changed

14 files changed

+567
-38
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
### HEAD
22

3-
* Fixed Opera Next detection
3+
* Adding document to illustrate how to migrate a Visual Studio project to NPM so we can stop distributing through NuGet
4+
* Starting to add automated test suite
5+
6+
### 1.3.0 (February 10, 2017)
7+
* Modernizr is now optional
8+
* Fixed issues in Safari detection
9+
* Fixed issues in Opera Next detection
10+
* Fixed issues in IE version detection
11+
* Improved Firefox detection
412
* Moved off Grunt to Gulp
513
* Moved to rollup for UMD and node transpiling
614
* Migrated all code to ES6
715
* All tests are stored as separate files now
8-
* If Modernizr is not found, component will use an internal tester
916
* Allows css class tagging to be turned of by adding `defunctr-off`
10-
* Adding document to illustrate how to migrate a Visual Studio project to NPM so we can stop distributing through NuGet
11-
* Starting to add test suite
1217
* Adding flow
13-
* Build now occurs on Node 6.3+
18+
* Build now occurs on Node 6.9+
1419
* Updated dependencies to current versions
1520

1621
### 1.2.3 (May 8, 2016)

β€ŽLICENSE.mdβ€Ž

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Defunctr
55
[http://github.com/cinecove/defunctr](http://github.com/cinecove/defunctr)
6-
Copyright (c) 2012 - 2016 Cinecove Digital, LLC and other contributors
6+
Copyright (c) 2012 - 2017 Cinecove Digital, LLC and other contributors
77
All rights reserved.
88

99
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -17,6 +17,3 @@ Redistribution and use in source and binary forms, with or without modification,
1717
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1818

1919
[https://opensource.org/licenses/BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)
20-
21-
22-

β€Žbower.jsonβ€Ž

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "defunctr",
33
"description": "JavaScript library for web browser detection by feature detection.",
44
"main": "dist/defunctr.js",
5-
"version": "1.3.0-beta1",
5+
"version": "1.3.0",
66
"main": [
77
"release/defunctr.min.js"
88
],
@@ -68,7 +68,5 @@
6868
"CONTRIBUTING.md",
6969
"nuget"
7070
],
71-
"dependencies": {
72-
"modernizr-min": "~3.3.0"
73-
}
71+
"dependencies": {}
7472
}

β€Ždist/defunctr-dev.jsβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*!
2-
* Defunctr 1.3.0-beta2
2+
* Defunctr 1.3.0
33
* https://github.com/cinecove/defunctr
44
*
55
* Copyright 2012 - 2017 Cinecove Digital, LLC and other contributors
66
* Released under the MIT license
77
* https://github.com/cinecove/defunctr/blob/master/LICENSE.md
88
*
9-
* Build Date: 2017-02-10T06:43:11.040Z
9+
* Build Date: 2017-02-10T07:58:02.681Z
1010
*/
1111
(function (global, factory) {
1212
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -491,7 +491,7 @@ var tagger = function (detective) {
491491
var Defunctr = function Defunctr() {
492492
classCallCheck(this, Defunctr);
493493

494-
this.version = '1.3.0-beta2';
494+
this.version = '1.3.0';
495495
this.detective = new Detective();
496496
};
497497

β€Ždist/defunctr.jsβ€Ž

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/index.jsβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*!
2-
* Defunctr 1.3.0-beta2
2+
* Defunctr 1.3.0
33
* https://github.com/cinecove/defunctr
44
*
55
* Copyright 2012 - 2017 Cinecove Digital, LLC and other contributors
66
* Released under the MIT license
77
* https://github.com/cinecove/defunctr/blob/master/LICENSE.md
88
*
9-
* Build Date: 2017-02-10T06:43:11.040Z
9+
* Build Date: 2017-02-10T07:58:02.681Z
1010
*/
1111
var browserWindow = window || null;
1212
var browserDocument = browserWindow ? browserWindow.document || null : null;
@@ -485,7 +485,7 @@ var tagger = function (detective) {
485485
var Defunctr = function Defunctr() {
486486
classCallCheck(this, Defunctr);
487487

488-
this.version = '1.3.0-beta2';
488+
this.version = '1.3.0';
489489
this.detective = new Detective();
490490
};
491491

β€Ždocs/scripts/defunctr.jsβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*!
2-
* Defunctr 1.3.0-beta2
2+
* Defunctr 1.3.0
33
* https://github.com/cinecove/defunctr
44
*
55
* Copyright 2012 - 2017 Cinecove Digital, LLC and other contributors
66
* Released under the MIT license
77
* https://github.com/cinecove/defunctr/blob/master/LICENSE.md
88
*
9-
* Build Date: 2017-02-10T06:43:11.040Z
9+
* Build Date: 2017-02-10T07:58:02.681Z
1010
*/
1111
(function (global, factory) {
1212
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -491,7 +491,7 @@ var tagger = function (detective) {
491491
var Defunctr = function Defunctr() {
492492
classCallCheck(this, Defunctr);
493493

494-
this.version = '1.3.0-beta2';
494+
this.version = '1.3.0';
495495
this.detective = new Detective();
496496
};
497497

β€Žgulpfile.jsβ€Ž

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ gulp.task('nuget-pack', function (callback) {
4040
licenseUrl: pkg.licenseUrl,
4141
copyright: '2013 - ' + (new Date()).getFullYear() + ' ' + pkg.author.name,
4242
requireLicenseAcceptance: false,
43-
dependencies: [
44-
{ id: 'Modernizr', version: '[2,4)' }
45-
],
43+
dependencies: [],
4644
tags: 'Modernizr, Browser Detection, HTML5, Shiv',
4745
outputDir: 'nuget',
4846
baseDir: '.'
@@ -114,9 +112,9 @@ gulp.task('build-npm', function () {
114112
.pipe(gulp.dest('./dist'));
115113
});
116114

117-
gulp.task('release', ['build', 'nuget-pack']);
118-
119115

120116
gulp.task('build', ['build-npm', 'build-umd']);
121117

118+
gulp.task('release', ['build', 'nuget-pack']);
119+
122120
gulp.task('default', ['build']);

β€Žnuget/Defunctr.1.3.0.nupkgβ€Ž

11.1 KB
Binary file not shown.

β€Žpackage.jsonβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "defunctr",
33
"title": "Defunctr",
44
"description": "JavaScript library for web browser detection by feature detection.",
5-
"version": "1.3.0-beta2",
5+
"version": "1.3.0",
66
"main": "dist/defunctr.js",
77
"module": "dist/index.js",
88
"jsnext:main": "dist/index.js",
@@ -31,7 +31,7 @@
3131
"license": "MIT",
3232
"licenseUrl": "https://github.com/cinecove/defunctr/blob/master/LICENSE.md",
3333
"dependencies": {
34-
"modernizr": "^3.3.0"
34+
"modernizr": "^3.3.1"
3535
},
3636
"devDependencies": {
3737
"babel-eslint": "^7.1.1",

0 commit comments

Comments
Β (0)