Skip to content

Commit

Permalink
Release v1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg committed Dec 24, 2024
1 parent acae772 commit 22ee2a4
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 23 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
- Zoom to Area
- Make callback data structures consistent

## Version 1.9.0 - 2024.12.24

- chore: update dependencies
- chore: migrate to eslint v9 flat config
- chore (website): update to Astro v5

## Version 1.8.1 - 2024.12.21

- [Issue 424](https://github.com/jamietre/ImageMapster/issues/424) ✨ Support configurable scale boundaries during resize
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ImageMapster",
"version": "1.8.1",
"version": "1.9.0",
"homepage": "https://jamietre.github.io/ImageMapster",
"description": "jQuery plugin that activates areas in HTML image maps with support for highlighting, selecting, tooltips, resizing and more",
"main": "dist/jquery.imagemapster.min.js",
Expand Down
7 changes: 4 additions & 3 deletions dist/jquery.imagemapster.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.8.1 - 2024-12-21
* imagemapster - v1.9.0 - 2024-12-24
* https://jamietre.github.io/ImageMapster
* Copyright (c) 2011 - 2024 James Treworgy
* License: MIT
Expand Down Expand Up @@ -51,6 +51,7 @@
});
window.addEventListener('testPassive.mapster', function () {}, opts);
window.removeEventListener('testPassive.mapster', function () {}, opts);
// eslint-disable-next-line no-unused-vars
} catch (e) {
// intentionally ignored
}
Expand Down Expand Up @@ -101,7 +102,7 @@
/*
When autoresize is enabled, we obtain the width of the wrapper element and resize to that, however when we're hidden because of
one of our ancenstors, jQuery width function returns 0. Ideally, we could use ResizeObserver/MutationObserver to detect
when we hide/show and resize on that event instead of resizing while we are not visible but until official support of older
when we hide/show and resize on that event instead of resizing while we are not visible but until official support of older
browsers is dropped, we need to go this route. The plugin below will provide the actual width even when we're not visible.
Source: https://raw.githubusercontent.com/dreamerslab/jquery.actual/master/jquery.actual.js
Expand Down Expand Up @@ -222,7 +223,7 @@
(function ($) {
'use strict';

var mapster_version = '1.8.1';
var mapster_version = '1.9.0';

// all public functions in $.mapster.impl are methods
$.fn.mapster = function (method) {
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.min.mjs.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/jquery.imagemapster.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.8.1 - 2024-12-21
* imagemapster - v1.9.0 - 2024-12-24
* https://jamietre.github.io/ImageMapster
* Copyright (c) 2011 - 2024 James Treworgy
* License: MIT
Expand Down Expand Up @@ -27,6 +27,7 @@ function imagemapsterFactory(jQuery) {
});
window.addEventListener('testPassive.mapster', function () {}, opts);
window.removeEventListener('testPassive.mapster', function () {}, opts);
// eslint-disable-next-line no-unused-vars
} catch (e) {
// intentionally ignored
}
Expand Down Expand Up @@ -77,7 +78,7 @@ function imagemapsterFactory(jQuery) {
/*
When autoresize is enabled, we obtain the width of the wrapper element and resize to that, however when we're hidden because of
one of our ancenstors, jQuery width function returns 0. Ideally, we could use ResizeObserver/MutationObserver to detect
when we hide/show and resize on that event instead of resizing while we are not visible but until official support of older
when we hide/show and resize on that event instead of resizing while we are not visible but until official support of older
browsers is dropped, we need to go this route. The plugin below will provide the actual width even when we're not visible.
Source: https://raw.githubusercontent.com/dreamerslab/jquery.actual/master/jquery.actual.js
Expand Down Expand Up @@ -198,7 +199,7 @@ function imagemapsterFactory(jQuery) {
(function ($) {
'use strict';

var mapster_version = '1.8.1';
var mapster_version = '1.9.0';

// all public functions in $.mapster.impl are methods
$.fn.mapster = function (method) {
Expand Down
7 changes: 4 additions & 3 deletions dist/jquery.imagemapster.zepto.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.8.1 - 2024-12-21
* imagemapster - v1.9.0 - 2024-12-24
* https://jamietre.github.io/ImageMapster
* Copyright (c) 2011 - 2024 James Treworgy
* License: MIT
Expand Down Expand Up @@ -118,6 +118,7 @@
});
window.addEventListener('testPassive.mapster', function () {}, opts);
window.removeEventListener('testPassive.mapster', function () {}, opts);
// eslint-disable-next-line no-unused-vars
} catch (e) {
// intentionally ignored
}
Expand Down Expand Up @@ -168,7 +169,7 @@
/*
When autoresize is enabled, we obtain the width of the wrapper element and resize to that, however when we're hidden because of
one of our ancenstors, jQuery width function returns 0. Ideally, we could use ResizeObserver/MutationObserver to detect
when we hide/show and resize on that event instead of resizing while we are not visible but until official support of older
when we hide/show and resize on that event instead of resizing while we are not visible but until official support of older
browsers is dropped, we need to go this route. The plugin below will provide the actual width even when we're not visible.
Source: https://raw.githubusercontent.com/dreamerslab/jquery.actual/master/jquery.actual.js
Expand Down Expand Up @@ -289,7 +290,7 @@
(function ($) {
'use strict';

var mapster_version = '1.8.1';
var mapster_version = '1.9.0';

// all public functions in $.mapster.impl are methods
$.fn.mapster = function (method) {
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.zepto.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.zepto.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ module.exports = function (grunt) {
failOnError: true
},
npmpublish: {
command: 'npm publish'
command: 'npm publish --otp 697464'
},
npmpublishpre: {
command: 'npm publish --tag next'
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imagemapster",
"version": "1.8.1",
"version": "1.9.0",
"description": "jQuery plugin that activates areas in HTML image maps with support for highlighting, selecting, tooltips, resizing and more",
"main": "dist/jquery.imagemapster.min.js",
"module": "dist/jquery.imagemapster.min.mjs",
Expand Down

0 comments on commit 22ee2a4

Please sign in to comment.