benjaminkott / benjaminkott/bootstrap_package

[Request] Update Dependencies

Open
#883 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

I would like to request to update some frontend libraries.

jQuery 3.4.1 > 3.5.1
Bootstrap 4.4.1 > 4.5.0
hammer.js 2.0.7 > 2.0.8

### additional:

1. Maybe even using **jQuery slim** (as its smaller) if it statisfies all functions, or make it changeable via settings/constants so everyone can chose which one he wants to use.
jQuery slim excludes the [ajax ](https://api.jquery.com/category/ajax/) and [effects](https://api.jquery.com/category/effects/) modules. Never needed them in bootstrap_package.
@gilbertsoft are these functions even getting used?

2. replacing hammer.js (7.34 kB gzipped) with jquery.hammer.js (414 bytes gzipped) which is a jquery plugin to add hammer.js functions if you already do have jQuery, which is the case here.

.

.

Also (maybe this is another Feature Request) it would be good not to expose the libraries versions to the outer world.

I would like it this way:

- if(debug) it will not anonymize the libraries
- if(!debug) it will anonymize the libraries

That both things would be very cool.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the frontend dependency declarations and every use of jQuery, Bootstrap, and Hammer.js. Check whether the requested versions and jQuery slim preserve current behavior, then verify the dependency updates and any version-hiding behavior; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, javascript, jquery
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.