From 8fade3385558d0bec9f0433a9694b65f19da4767 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Thu, 29 Mar 2018 11:52:40 -0400 Subject: [PATCH] 2.2.1 --- .travis.yml | 2 +- CHANGELOG.md | 4 ++++ component.json | 2 +- docker-compose.yml | 4 ++-- jquery.once.js | 2 +- jquery.once.min.js | 4 ++-- jquery.once.min.js.map | 2 +- once.jquery.json | 2 +- package.json | 2 +- 9 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0eb705e..3b042d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,9 @@ language: node_js sudo: false node_js: - - "6" - "7" - "8" + - "9" cache: directories: diff --git a/CHANGELOG.md b/CHANGELOG.md index f8eb929..def057b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [2.2.1] - March 29th, 2018 +### Changed +- Updated dependencies + ## [2.2.0] - June 15th, 2017 ### Fixed - Fixed throwing `Error` to `TypeError` when passing an incorrect `string` parameter diff --git a/component.json b/component.json index 0260f1b..125329d 100644 --- a/component.json +++ b/component.json @@ -4,7 +4,7 @@ "homepage": "http://github.com/robloach/jquery-once", "description": "Act on jQuery elements only once.", "license": "GPL-2.0", - "version": "2.1.3", + "version": "2.2.1", "keywords": [ "jquery", "jquery-plugin" diff --git a/docker-compose.yml b/docker-compose.yml index e3aa760..35e4b2f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,9 +12,9 @@ # docker-compose up # node: - # Build off of the Node:6 container: + # Build off of the Node:7 container: # https://hub.docker.com/r/_/node/ - image: node:6-slim + image: node:7-slim # Run the tests through npm command: npm test # Mount the current working to /app diff --git a/jquery.once.js b/jquery.once.js index f0ed4d0..68a8f08 100644 --- a/jquery.once.js +++ b/jquery.once.js @@ -1,5 +1,5 @@ /*! - * jQuery Once v2.2.0 - http://github.com/robloach/jquery-once + * jQuery Once v2.2.1 - http://github.com/robloach/jquery-once * @license MIT, GPL-2.0 * http://opensource.org/licenses/MIT * http://opensource.org/licenses/GPL-2.0 diff --git a/jquery.once.min.js b/jquery.once.min.js index 56c4ba1..5643f8c 100644 --- a/jquery.once.min.js +++ b/jquery.once.min.js @@ -1,8 +1,8 @@ /*! - * jQuery Once v2.2.0 - http://github.com/robloach/jquery-once + * jQuery Once v2.2.1 - http://github.com/robloach/jquery-once * @license MIT, GPL-2.0 * http://opensource.org/licenses/MIT * http://opensource.org/licenses/GPL-2.0 */ -(function(e){"use strict";if(typeof exports==="object"){e(require("jquery"))}else if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){"use strict";var n=function(e){e=e||"once";if(typeof e!=="string"){throw new TypeError("The jQuery Once id parameter must be a string")}return e};e.fn.once=function(t){var r="jquery-once-"+n(t);return this.filter(function(){return e(this).data(r)!==true}).data(r,true)};e.fn.removeOnce=function(e){return this.findOnce(e).removeData("jquery-once-"+n(e))};e.fn.findOnce=function(t){var r="jquery-once-"+n(t);return this.filter(function(){return e(this).data(r)===true})}}); +(function(e){"use strict";if(typeof exports==="object"){e(require("jquery"))}else if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(t){"use strict";var r=function(e){e=e||"once";if(typeof e!=="string"){throw new TypeError("The jQuery Once id parameter must be a string")}return e};t.fn.once=function(e){var n="jquery-once-"+r(e);return this.filter(function(){return t(this).data(n)!==true}).data(n,true)};t.fn.removeOnce=function(e){return this.findOnce(e).removeData("jquery-once-"+r(e))};t.fn.findOnce=function(e){var n="jquery-once-"+r(e);return this.filter(function(){return t(this).data(n)===true})}}); //# sourceMappingURL=jquery.once.min.js.map \ No newline at end of file diff --git a/jquery.once.min.js.map b/jquery.once.min.js.map index 2d48c5c..5a44d86 100644 --- a/jquery.once.min.js.map +++ b/jquery.once.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["jquery.once.js"],"names":["factory","exports","require","define","amd","jQuery","$","checkId","id","TypeError","fn","once","name","this","filter","data","removeOnce","findOnce","removeData"],"mappings":";;;;;;CAgBA,SAAWA,GACT,aAEA,UAAWC,UAAY,SAAU,CAE/BD,EAAQE,QAAQ,gBACX,UAAWC,SAAW,YAAcA,OAAOC,IAAK,CAGrDD,QAAQ,UAAWH,OACd,CAGLA,EAAQK,WAET,SAAUC,GACX,aAaA,IAAIC,EAAU,SAAUC,GACtBA,EAAKA,GAAM,OACX,UAAWA,IAAO,SAAU,CAC1B,MAAM,IAAIC,UAAU,iDAEtB,OAAOD,GAyCTF,EAAEI,GAAGC,KAAO,SAAUH,GAEpB,IAAII,EAAO,eAAiBL,EAAQC,GAGpC,OAAOK,KAAKC,OAAO,WACjB,OAAOR,EAAEO,MAAME,KAAKH,KAAU,OAC7BG,KAAKH,EAAM,OAiChBN,EAAEI,GAAGM,WAAa,SAAUR,GAE1B,OAAOK,KAAKI,SAAST,GAAIU,WAAW,eAAiBX,EAAQC,KAkC/DF,EAAEI,GAAGO,SAAW,SAAUT,GAExB,IAAII,EAAO,eAAiBL,EAAQC,GAEpC,OAAOK,KAAKC,OAAO,WACjB,OAAOR,EAAEO,MAAME,KAAKH,KAAU","file":"jquery.once.min.js"} \ No newline at end of file +{"version":3,"sources":["jquery.once.js"],"names":["factory","exports","require","define","amd","jQuery","$","checkId","id","TypeError","fn","once","name","this","filter","data","removeOnce","findOnce","removeData"],"mappings":";;;;;;CAgBA,SAAWA,GACT,aAEA,UAAWC,UAAY,SAAU,CAE/BD,EAAQE,QAAQ,gBACX,UAAWC,SAAW,YAAcA,OAAOC,IAAK,CAGrDD,QAAQ,UAAWH,OACd,CAGLA,EAAQK,UAbZ,CAeG,SAAUC,GACX,aAaA,IAAIC,EAAU,SAAUC,GACtBA,EAAKA,GAAM,OACX,UAAWA,IAAO,SAAU,CAC1B,MAAM,IAAIC,UAAU,iDAEtB,OAAOD,GAyCTF,EAAEI,GAAGC,KAAO,SAAUH,GAEpB,IAAII,EAAO,eAAiBL,EAAQC,GAGpC,OAAOK,KAAKC,OAAO,WACjB,OAAOR,EAAEO,MAAME,KAAKH,KAAU,OAC7BG,KAAKH,EAAM,OAiChBN,EAAEI,GAAGM,WAAa,SAAUR,GAE1B,OAAOK,KAAKI,SAAST,GAAIU,WAAW,eAAiBX,EAAQC,KAkC/DF,EAAEI,GAAGO,SAAW,SAAUT,GAExB,IAAII,EAAO,eAAiBL,EAAQC,GAEpC,OAAOK,KAAKC,OAAO,WACjB,OAAOR,EAAEO,MAAME,KAAKH,KAAU","file":"jquery.once.min.js"} \ No newline at end of file diff --git a/once.jquery.json b/once.jquery.json index 88aa048..ffb2af7 100644 --- a/once.jquery.json +++ b/once.jquery.json @@ -6,7 +6,7 @@ "jquery", "once" ], - "version": "2.1.3", + "version": "2.2.1", "author": { "name": "Rob Loach", "url": "http://robloach.net" diff --git a/package.json b/package.json index bf94545..85800ec 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jquery-once", "title": "jQuery Once", "description": "Act on jQuery elements only once.", - "version": "2.2.0", + "version": "2.2.1", "keywords": [ "jquery", "jquery-plugin"