
Research
6 Malicious Packagist Themes Ship Trojanized jQuery and FUNNULL Redirect Payloads
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.
@ionic-enterprise/cs-demo-weather-widgets
Advanced tools
Weather related components used to demonstrate Stencil component library tooling
This is a sample custom element library that contains some simple weather related elements. This library contains the following custom elements:
If you are using Angular, React, or Vue, please see the framework specific version of this package instead:
If you are using another framework, or no framework at all, please refer to the Stencil integration docs for hints on how to directly consume Stencil built web components.
This library does not include its own images. In order to inform the library how to get the images to use, you need to set up a mapping object that specifies the image file to use for each of the weather conditions.
Here is an example:
export class IconMap {
sunny = 'assets/images/sunny.png';
cloudy = 'assets/images/cloudy.png';
lightRain = 'assets/images/light-rain.png';
shower = 'assets/images/shower.png';
sunnyThunderstorm = 'assets/images/sunny-tstorm.png';
thunderstorm = 'assets/images/tstorm.png';
fog = 'assets/images/fog.png';
snow = 'assets/images/snow.png';
unknown = 'assets/images/unknown.png';
}
Any component that take a condition assumes that the condition is one of the condition codes used by OpenWeatherMap.org.
Examples shown below are using Angular property bindings. Use whatever is appropriate for the architecture of your application.
csdemo-temperatureDisplays the temperature, given in Kelvin, in the given scale (C or F).
<csdemo-temperature scale="F" temperature="297"></csdemo-temperature>
csdemo-conditionDisplays the current condition in both text and icon form.
<csdemo-condition [condition]="200" [iconPaths]="iconMap"></csdemo-condition>
csdemo-daily-forecastDisplays the forecast for a given day.
<csdemo-daily-forecast scale="F" [forecast]="forecastData" [iconPaths]="iconMap"></csdemo-daily-forecast>
The forecast property is a forecast data object in the following format:
export interface Forecast {
date: Date;
condition: number;
low: number;
high: number;
}
The low and high temperatures are specified in Kelvin.
csdemo-uv-indexDisplays the UV index along with a risk level, in a color appropriate for the level of risk.
<csdemo-uv-index [uvIndex]="value"></csdemo-uv-index>
FAQs
Weather related components used to demonstrate Stencil component library tooling
We found that @ionic-enterprise/cs-demo-weather-widgets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 open source maintainers 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
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.

Security News
The GCVE initiative operated by CIRCL has officially opened its publishing ecosystem, letting organizations issue and share vulnerability identifiers without routing through a central authority.

Security News
The project is retiring its odd/even release model in favor of a simpler annual cadence where every major version becomes LTS.