New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@db-ui/foundations

Package Overview
Dependencies
Maintainers
4
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@db-ui/foundations - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2-icon-export-2970210

build/all-icons.d.ts

10

assets/fonts/generate-eu-fonts.ts

@@ -5,2 +5,8 @@ import { exec } from 'node:child_process';

import { dirname } from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename).replaceAll('\\', '/');
const execAsync = promisify(exec);

@@ -19,3 +25,3 @@

try {
const files = await glob('**/*.ttf');
const files = await glob(`${__dirname}/*.ttf`);
const commands = files.map((file) =>

@@ -27,3 +33,3 @@ [

'--flavor=woff2',
'--unicodes-file=unicode-eu.txt',
`--unicodes-file=${__dirname}/unicode-eu.txt`,
`--output-file=${file.replace('.ttf', '-EU.woff2')}`

@@ -30,0 +36,0 @@ ].join(' ')

2

assets/fonts/README.md

@@ -20,5 +20,5 @@ # Generate fonts

```shell
node packages/foundations/assets/fonts/generate-eu-fonts.ts
tsx packages/foundations/assets/fonts/generate-eu-fonts.ts
```
To check if everything works fine you can check all glyphs with an [opentype.js.org glyph inspector tool](https://opentype.js.org/glyph-inspector.html).
{
"name": "@db-ui/foundations",
"version": "0.7.1",
"version": "0.7.2-icon-export-2970210",
"type": "module",

@@ -11,6 +11,5 @@ "description": "Provides basic tokens and assets based on DB UX Design System (Version 3).",

"license": "DB Design License",
"bin": {
"@db-ui/foundations": "build/index.js"
},
"main": "build.js",
"main": "./build/index.js",
"module": "./build/index.js",
"types": "./build/index.d.ts",
"files": [

@@ -28,3 +27,3 @@ "assets",

"build:06_ide": "cpr ide build/ide -o",
"build:06_ts": "cpr scripts/public build/ts -o",
"build:06_ts": "tsc",
"clean": "rm -rf build",

@@ -40,2 +39,3 @@ "copy-build": "npm-run-all copy-build:*",

"dev": "vite --open",
"generate:fonts": "tsx assets/fonts/generate-eu-fonts.ts",
"generate:icons": "tsx scripts/local/generate-icon-font.ts",

@@ -51,3 +51,3 @@ "prebuild": "npm-run-all copy-prepare:*",

"@csstools/normalize.css": "12.1.1",
"@db-ux/icon-font-tools": "0.3.0",
"@db-ux/icon-font-tools": "0.3.2",
"cpr": "3.0.1",

@@ -61,3 +61,4 @@ "cssnano": "^7.0.6",

"tsx": "^4.19.2",
"vite": "^6.0.7"
"typescript": "^5.4.5",
"vite": "^6.0.11"
},

@@ -64,0 +65,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc