Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
jquery.uniform
Advanced tools
A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes!
A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes!
Works well with jQuery 1.6+, but we've received patches and heard that this works with jQuery 1.3.
Version 4.3.x uses jQuery 3.3.1+ and so far, things look promising.
Packaging of Uniform comes with source SASS files and minified CSS files, ready for consumption in live/production environment. You can install Uniform via one of two methods listed below:
Simply run:
npm install --save @audithsoftworks/jquery.uniform
To create minified file, run (though this isn't necessary, as the minified file is already included in the package):
npm run build
Minified source file will be built inside dist/
folder.
bower install --save jquery.uniform
For your own development purposes, to get human-readable, un-minified CSS outputs, you will need to install Uniform via NPM (as shown above), install the necessary dependencies through npm install
and then run gulp
. Doing so will recreate readable CSS files in dist/css
folder. Invoking gulp --production
however, will recreate minified CSS files (which is default behavior, what we already have in the dist
folder).
There are two ways to go with this:
Basically, you can use the final assets provided in dist
folder out of the box.
Stylesheets and Javascript files should be linked in the <header>
of your markup (the latter, coming after jQuery):
<!-- Make sure your CSS file is listed before Javascript sources -->
<link rel="stylesheet" href="/path-to-my-assets/uniform/dist/css/default.css" media="screen">
<script src="/path-to-my-assets/jquery/dist/jquery.min.js"></script>
<script src="/path-to-my-assets/uniform/dist/js/jquery.uniform.standalone.js"></script>
Or if you are using our bundled version - jquery.uniform.bundled.js
file - which already comes with jQuery (beware not to include jQuery twice):
<!-- Make sure your CSS file is listed before Javascript sources -->
<link rel="stylesheet" href="/path-to-my-assets/uniform/dist/css/default.css" media="screen">
<script src="/path-to-my-assets/uniform/dist/js/jquery.uniform.bundled.js"></script>
To have more control over your web assets, you can directly work with our SCSS and JS files, by importing them into or bundling with your own assets. Please be advised that our Gulp configuration (via Laravel-Elixir package) includes Auto-prefixer, i.e. browser prefixes are automatically added to CSS during the post-processing of SCSS files. Whatever your post-processing solution will be (Gulp-based or Compass), you need to make sure to include Auto-prefixer in that workflow. Our SCSS source files do not include browser prefixes out of the box!
See our Wiki page for documentation.
It sure would be handy if you could create a test page to help illustrate bugs. When you use the GitHub Issue Tracker, you could use this jsfiddle to help illustrate your point. Additionally, we have provided some demo pages in /demo
folder for you to use.
Even if you don't use these assets, all sorts of feedback is welcome, but narrowing down your problem or providing an example would immediately help narrow down the problem quickly.
We have created a Docker container to help our contributors with development of Uniform.
Additionally, /dev
folder contains following assets, to further enhance our capabilities:
docker
folder contains necessary Dockerfile
to build the container.theme-kit
contains assets to help you create new themes.build.sh
script, which basically spins a Docker container up and builds the package, using that instance.FAQs
A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes!
The npm package jquery.uniform receives a total of 1,790 weekly downloads. As such, jquery.uniform popularity was classified as popular.
We found that jquery.uniform demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.