🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@material-design-icons/scripts

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material-design-icons/scripts - npm Package Compare versions

Comparing version
0.5.0
to
0.5.1
+1
-1
package.json
{
"name": "@material-design-icons/scripts",
"version": "0.5.0",
"version": "0.5.1",
"description": "Scripts to download latest Material Symbols and Material Icons.",

@@ -5,0 +5,0 @@ "bin": "index.js",

@@ -27,6 +27,10 @@ import * as fs from 'node:fs/promises';

// type = union of all icons/symbols
lines.push(`export type ${typeNames[1]} = ${typeNames[0]}[number];`);
lines.push(`type ${typeNames[1]} = ${typeNames[0]}[number];`);
lines.push('');
// explicit export to avoid the following issue: https://stackoverflow.com/q/61797149
lines.push(`export { ${typeNames[1]} };`);
lines.push('');
return lines.join('\n');
};