
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@imwebme/oms-token
Advanced tools
@imwebme/token은 아임웹의 피그마에서 디자인한 디자인 시스템을 토큰화해 손쉽게 가져와서 사용할 수 있도록 여러 설정들로 내보냅니다.
현재 token은 아임웹 foundation을 기본으로 지원합니다.
사용하는데 불편했던점 dark-semantic-* 토큰을 나눌 필요가없었다. 모두 css 변수로 받다보니까 이 토큰은 진짜 특정생상으 토큰이면 됐었다.
피그마에 토큰은 엔지니어의 구조대로 변경하지 않을 예정입니다. 토큰 프로젝트에 token안쪽에 token-studio json설정들이있습니다. 엔지니어는 이 값을 수정하고 모든 설정들에 맞추게될겁니다.
시뮬레이션
현재 @imwebme/token@0.2.13버전에서는 다크모드와 라이트 모드 모두 지원하게 제작되어있습니다. 피그마에서 시멘틱-라이트-text-sub 시멘틱-다크-text-sub 둘다 이름만 라이트, 다크이고 모드에 상관없이 사용가능합니다.
tailwindcss로 예제 (진행예정)
디자인상 색상이 semantic/dark/text-sub이라면
<button class="text-semantic-dark-text-sub">버튼</button>
위처럼 사용하시면됩니다.
추가 개발할때 좀더 편리하게 작업하기위해서 저 네이밍을 alias 추가하겠습니다.
<button class="text-semantic-dark-text-sub">버튼</button>
<button class="text-sd-text-sub">버튼</button> << alias
<button class="text-s6c-text-sub">버튼</button> << alias
<button class="bg-semantic-dark-text-sub">버튼</button>
<button class="bg-sd-text-sub">버튼</button> << alias
<button class="bg-s6c-text-sub">버튼</button> << alias
<button class="border-semantic-dark-text-sub">버튼</button>
<button class="border-sd-text-sub">버튼</button> << alias
<button class="border-s6c-text-sub">버튼</button> << alias
new set 이름은 semanticlib/tailwindcss/tokens/semantic.json으로 가져갑니다.🏁 Semantic 객체 key를 제거토큰 빌드
yarn build-sd

import token from '@imwebme/token'
token.core['im-blue'][500]
// #1A6DFF
/** @type {import('tailwindcss').Config} */
module.exports = {
plugins: [require('@imwebme/token/tailwindcss')],
}
Inspired by tailwindcss-animate
import { styled } from '@imwebme/token/stitches'
const Button = styled('button', {
backgroundColor: '$core-im-blue-500',
borderRadius: '9999px',
fontSize: '13px',
padding: '10px 15px',
'&:hover': {
backgroundColor: 'lightgray',
},
});
FAQs
Unknown package
We found that @imwebme/oms-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.