Skip to content

Releases: joeleisner/purejs-mousetip

Security Vulnerability Fixes

27 Jul 01:15
cbb0e73
Compare
Choose a tag to compare

This patch includes updates dependencies due to security vulnerabilities:

  • Updated @babel/core and @babel/preset-env to their latest versions
  • Updated gulp-header to its latest version

Minor upgrades

08 Jul 22:51
2090f0e
Compare
Choose a tag to compare

This patch update includes updated dependencies and a new setting for MouseTip:

  • Added npm scripts to alleviate the need for Gulp CLI to be installed globally
  • Updated Babel core/preset-env and Gulp to their latest versions
  • Replaced gulp-uglifyes with gulp-terser
  • Added the ability to set a default message within MouseTip's constructor function

Security Vulnerability Fixes

08 Feb 03:08
0d9f82f
Compare
Choose a tag to compare

This patch update includes updated dependencies due to isses with Lodash < 4.17.11. Here's the details:

  • Updated gulp-babel, gulp-header, gulp-inject-string, gulp-rename, gulp-uglify, and gulp-uglifyes to their latest versions
  • Swapped babel-core and babel-preset-env with @babel/core @babel/preset-env, which required updating the Babel RC file

Gulp Watch Fix

13 Aug 01:38
a30c075
Compare
Choose a tag to compare

Another minor update in the same day? Yeah, I made a mistake; Here's what I fixed:

  • The build-system's gulp watch task is now working

Security Vulnerability Fixes

12 Aug 22:13
174f40c
Compare
Choose a tag to compare

This minor update includes some fixes related to security vulnerabilities! Here's the details:

  • Gulp was updated to 4.0 to fix security vulnerabilities
  • The build-system was restructured to work with the new version of Gulp

CommonJS & ES2015 Modules

14 May 00:31
1d9fe0e
Compare
Choose a tag to compare

This version now includes CommonJS & ES2015 modules to more easily include Pure JS MouseTip into your projects! Here's the details:

  • Modules can be found in the dist/modules directory
  • The CommonJS module exports the class as: module.exports = MouseTip;
  • The ES2015 module exports the class as: export default MouseTip;

Bug Fixes & Optimizations

19 Jan 03:11
848ec44
Compare
Choose a tag to compare

This version is a minor update to fix/optimize a few things:

  • Fixed a bug that would break mousetip positions set in element attributes when hovering over a child element of the target.
  • Changed the constructor's mousetip state to store a DOM reference to the mousetip itself, removing two document.getElementById(this.selector) calls.

ES2015 Rebuild & New Features

19 Jan 00:22
6d0e6b9
Compare
Choose a tag to compare

Version 2.0.0 was rebuilt from the ground up to add new features. Here's some of the changes:

  • The main MouseTip constructor function is now an ES2015 class, making for easier code management and shifting towards more modern JS engines. While the default scripts (mousetip.js and mousetip.min.js) are still compatible with older browsers (using Babel.js), the ES2015 versions (mousetip.es2015.js and mousetip.es2015.min.js) will become the default in a later release.
  • A bug was fixed where certain user-set CSS settings were not mapped properly to the constructor's settings.
  • The run() method was renamed to start() to make more sense with the new method addition below
  • A new stop() method was added to stop all mousetip functionality at any time
  • A new stylesheet constructor setting was added (false by default). This allows you to specify not to include inline styles on the mousetip element, and instead expect the styling to be included in a stylesheet on the page. Element attributes will still work in this mode.
  • The build system has been reworked, include upgraded/new dependencies and a change of structure. The most noticeable change is that the default scripts are now built with Babel.js; While this leads to larger file sizes, it allows for future-proofing our script and ensures more browser support with less testing.

NPM Publish Issues

06 Feb 04:21
Compare
Choose a tag to compare

This release is exactly the same as 1.2.2, except with the version number incremented up by one. Unfortunately, I had mistakenly published a version 1.2.2 a while back and cannot overwrite this unpublished version. Instead of letting release versions get out of sync between the repo and the NPM package, I'm pushing this change to set things straight again.

Build System Improvements

06 Feb 04:11
Compare
Choose a tag to compare

This update includes some build-system improvements:

  • All build-system javascript now utilizes ES2015 (ES6) syntax
  • Removed the clean task from Gulp