Skip to content

Commit

Permalink
👊
Browse files Browse the repository at this point in the history
  • Loading branch information
deavial committed Feb 10, 2017
1 parent a53e100 commit cb73bf6
Show file tree
Hide file tree
Showing 14 changed files with 567 additions and 38 deletions.
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
### HEAD

* Fixed Opera Next detection
* Adding document to illustrate how to migrate a Visual Studio project to NPM so we can stop distributing through NuGet
* Starting to add automated test suite

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

### 1.2.3 (May 8, 2016)
Expand Down
5 changes: 1 addition & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand All @@ -17,6 +17,3 @@ Redistribution and use in source and binary forms, with or without modification,
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.

[https://opensource.org/licenses/BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)



6 changes: 2 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "defunctr",
"description": "JavaScript library for web browser detection by feature detection.",
"main": "dist/defunctr.js",
"version": "1.3.0-beta1",
"version": "1.3.0",
"main": [
"release/defunctr.min.js"
],
Expand Down Expand Up @@ -68,7 +68,5 @@
"CONTRIBUTING.md",
"nuget"
],
"dependencies": {
"modernizr-min": "~3.3.0"
}
"dependencies": {}
}
6 changes: 3 additions & 3 deletions dist/defunctr-dev.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*!
* Defunctr 1.3.0-beta2
* Defunctr 1.3.0
* https://github.com/cinecove/defunctr
*
* Copyright 2012 - 2017 Cinecove Digital, LLC and other contributors
* Released under the MIT license
* https://github.com/cinecove/defunctr/blob/master/LICENSE.md
*
* Build Date: 2017-02-10T06:43:11.040Z
* Build Date: 2017-02-10T07:58:02.681Z
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down Expand Up @@ -491,7 +491,7 @@ var tagger = function (detective) {
var Defunctr = function Defunctr() {
classCallCheck(this, Defunctr);

this.version = '1.3.0-beta2';
this.version = '1.3.0';
this.detective = new Detective();
};

Expand Down
6 changes: 3 additions & 3 deletions dist/defunctr.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*!
* Defunctr 1.3.0-beta2
* Defunctr 1.3.0
* https://github.com/cinecove/defunctr
*
* Copyright 2012 - 2017 Cinecove Digital, LLC and other contributors
* Released under the MIT license
* https://github.com/cinecove/defunctr/blob/master/LICENSE.md
*
* Build Date: 2017-02-10T06:43:11.040Z
* Build Date: 2017-02-10T07:58:02.681Z
*/
var browserWindow = window || null;
var browserDocument = browserWindow ? browserWindow.document || null : null;
Expand Down Expand Up @@ -485,7 +485,7 @@ var tagger = function (detective) {
var Defunctr = function Defunctr() {
classCallCheck(this, Defunctr);

this.version = '1.3.0-beta2';
this.version = '1.3.0';
this.detective = new Detective();
};

Expand Down
6 changes: 3 additions & 3 deletions docs/scripts/defunctr.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*!
* Defunctr 1.3.0-beta2
* Defunctr 1.3.0
* https://github.com/cinecove/defunctr
*
* Copyright 2012 - 2017 Cinecove Digital, LLC and other contributors
* Released under the MIT license
* https://github.com/cinecove/defunctr/blob/master/LICENSE.md
*
* Build Date: 2017-02-10T06:43:11.040Z
* Build Date: 2017-02-10T07:58:02.681Z
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down Expand Up @@ -491,7 +491,7 @@ var tagger = function (detective) {
var Defunctr = function Defunctr() {
classCallCheck(this, Defunctr);

this.version = '1.3.0-beta2';
this.version = '1.3.0';
this.detective = new Detective();
};

Expand Down
8 changes: 3 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ gulp.task('nuget-pack', function (callback) {
licenseUrl: pkg.licenseUrl,
copyright: '2013 - ' + (new Date()).getFullYear() + ' ' + pkg.author.name,
requireLicenseAcceptance: false,
dependencies: [
{ id: 'Modernizr', version: '[2,4)' }
],
dependencies: [],
tags: 'Modernizr, Browser Detection, HTML5, Shiv',
outputDir: 'nuget',
baseDir: '.'
Expand Down Expand Up @@ -114,9 +112,9 @@ gulp.task('build-npm', function () {
.pipe(gulp.dest('./dist'));
});

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


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

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

gulp.task('default', ['build']);
Binary file added nuget/Defunctr.1.3.0.nupkg
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "defunctr",
"title": "Defunctr",
"description": "JavaScript library for web browser detection by feature detection.",
"version": "1.3.0-beta2",
"version": "1.3.0",
"main": "dist/defunctr.js",
"module": "dist/index.js",
"jsnext:main": "dist/index.js",
Expand Down Expand Up @@ -31,7 +31,7 @@
"license": "MIT",
"licenseUrl": "https://github.com/cinecove/defunctr/blob/master/LICENSE.md",
"dependencies": {
"modernizr": "^3.3.0"
"modernizr": "^3.3.1"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
Expand Down
Loading

0 comments on commit cb73bf6

Please sign in to comment.