Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@evo/mobile-region-selector
Advanced tools
Readme
Пример:
// Отдельно импортировать стили в зависимости от проекта
// Пример на uaprom и сms-ui:
import '@evo/mobile-region-selector/dist/style.css?global';
const columnIds = [194009, 194003000, 194004000, 194013000, 194015001, 194000000, 194020000];
const regionsMap = require('./fakeData/regionsMap.json');
const regionsTree = require('./fakeData/regionsTree.json');
const MobileView = require('./helper/MobileView').default;
const Overlay = require('./Overlay').default;
<MobileView>
<Overlay title='Выбор региона' visible onClose={() => console.log('Close overlay')}>
<MobileRegionSelector
columnIds={columnIds}
regionsMap={regionsMap}
regionsTree={regionsTree}
currentRegionId={194}
countryId={194}
onRegionSelect={() => console.log('Region selected')}
onDeliveryChange={() => console.log('Delivery changed')}
regionDelivery
/>
</Overlay>
</MobileView>
В проекте, который будет использовать данный компонент, должны быть установлены следующие зависимости:
"peerDependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.6.1",
"react": "^16.3.2",
"react-dom": "^16.3.2"
}
FAQs
Reusable mobile region selector
The npm package @evo/mobile-region-selector receives a total of 418 weekly downloads. As such, @evo/mobile-region-selector popularity was classified as not popular.
We found that @evo/mobile-region-selector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.