@preply/ds-media-icons
Advanced tools
Comparing version 0.97.4 to 0.97.5-beta.53320e315fff69e4b35c23aaad263982cdd7ef90.0
@@ -1509,2 +1509,7 @@ [ | ||
"type": "icon", | ||
"name": "TokyoUIPractice", | ||
"description": "keywords: exercise" | ||
}, | ||
{ | ||
"type": "icon", | ||
"name": "TokyoUIPracticeLightning", | ||
@@ -1511,0 +1516,0 @@ "description": "keywords: instant, flash, electricity, jolt, blitz, spark, bold, zap" |
{ | ||
"name": "@preply/ds-media-icons", | ||
"version": "0.97.4", | ||
"version": "0.97.5-beta.53320e315fff69e4b35c23aaad263982cdd7ef90.0+53320e3", | ||
"publishConfig": { | ||
@@ -15,8 +15,8 @@ "access": "public" | ||
"devDependencies": { | ||
"node-fetch": "2.6.7", | ||
"svgo": "3.0.2", | ||
"node-fetch": "3.3.2", | ||
"svgo": "3.3.2", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.5" | ||
}, | ||
"gitHead": "251484f5af8a10366d791c624c7c08f2abee997d" | ||
"gitHead": "53320e315fff69e4b35c23aaad263982cdd7ef90" | ||
} |
@@ -29,3 +29,2 @@ import { mkdir, writeFile } from 'fs/promises'; | ||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types | ||
export const getIcons = async () => { | ||
@@ -32,0 +31,0 @@ const icons = await fetchFigmaAPI( |
@@ -23,5 +23,4 @@ import { RequestFunction } from './types'; | ||
for (let i = 0; i < fns.length; i += 1) { | ||
// eslint-disable-next-line no-await-in-loop | ||
await delay(fns[i], ms); | ||
} | ||
}; |
@@ -13,3 +13,3 @@ /* eslint-disable security/detect-non-literal-fs-filename */ | ||
return files; | ||
} catch (error) { | ||
} catch { | ||
throw new Error(`Error reading directory: ${sourceDir}`); | ||
@@ -16,0 +16,0 @@ } |
@@ -6,3 +6,3 @@ export type SvgPaths = { | ||
export type RequestFunction = () => Promise<any>; | ||
export type RequestFunction = () => Promise<unknown>; | ||
@@ -9,0 +9,0 @@ export type FigmaIcon = { |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
450370
796
2125
1