
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
The jQuery Showcase Plugin makes it easy to display content in a modal window.
The jQuery Showcase Plugin makes it easy to display content in a modal window. The plugin attempts to intelligently guess the type of content that will be displayed by looking for images, media, links, or other general HTML content.
Requires jQuery 3.0+
Important: This Plugin uses features that are not supported by any Internet Explorer version.
See the example.html file for more details.
We can call the Showcase plugin on any jQuery object. See the example.html file for more information.
$('selector').showcase();
// OR
$('selector').showcase(callback);
// OR
$('selector').showcase(options, callback);
To control the Showcase, call one of the methods on the global Showcase object:
Showcase.disable();
| Key | Description | Default |
|---|---|---|
| width | The numerical width for the Showcase or 'auto' | 'auto' |
| height | The numerical height for the Showcase or 'auto' | 'auto' |
| currentIndex | The current index if showcasing a jQuery collection | 0 |
| infoContent | The html string or jQuery object to place in the info box (See note below) | null |
| scaleMedia | If <img> and <video> elements should be scaled based on aspect ratio | true |
| animate | If the Showcase elements should animate in | true |
| fade | If the Showcase elements should fade in and out | true |
| cloneData | If data and events should be copied from the target element to the cloned element | false |
| expire | The amount of seconds before the Showcase closes automatically (0 to disable) | 0 |
| imageRegExp | The image RegExp used to check for image content in links | (See imageRegExp variable below) |
| videoRegExp | The video RegExp used to check for video content in links | (See videoRegExp variable below) |
| controlText | The title texts for the navigation elements | (See controlText variable below) |
| promise | The Promise to fulfill before loading the content (if the Promise is rejected with a string, that string will be Showcased) | null |
let imageRegExp = /\.bmp|\.gif|\.jpe|\.jpeg|\.jpg|\.png|\.svg|\.tif|\.tiff|\.wbmp$/;
let videoRegExp = /\.mp4|\.ogg|\.webm$/;
let controlText = {
close: 'Close',
navLeft: 'Navigate Left',
navRight: 'Navigate Right',
},
infoContent Option: The Showcase plugin uses the Info Box to display information about the content within the Showcase window. By using a string of plain text or HTML, or a jQuery object, in the infoContent option, the Info Box will display that data. Alternatively, each element used with the jQuery showcase method can contain the 'showcaseInfo' property, either set with the jQuery data method or inline (e.g <img data-showcase-info="Image Description">).
These methods and properties are accessed from the Showcase instance on the window object (e.g. window.Showcase.container), or from within a callback (e.g. this.disable()). All methods will return the global Showcase object.
If the Showcase Plugin is busy loading content.
Get the current Showcase error string if there is one.
Get the Showcase Container jQuery object.
Get the current Showcase content jQuery object.
Set the default Showcase options
Reset the default Showcase options
Enable the Showcase if disabled. This method will leave all the Showcase content intact.
Disable the Showcase if enabled.
Resize the main Showcase content area.
Navigate to the next or previous Showcase element.
Add an event listener to the Showcase.
The handler receives the jQuery.Event object with the .data property that contains the data argument that was passed in the Showcase.on() method call
Remove an event listener from the Showcase
Display an alert Popup
The callback receives true if the button was clicked, or null if the Showcase was closed
Display a confirmation Popup
The callback receives true if the confirm button was clicked, false if the cancel button was clicked, or null if the Showcase was closed
Display a prompt Popup
The callback receives the trimmed string, or array of trimmed strings for multiple inputs, from the user input, or null if the Showcase was closed
FAQs
The jQuery Showcase Plugin makes it easy to display content in a modal window.
We found that jqshowcase 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.