@exodus/asset-icons
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,14 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
## 3.0.1 (2024-02-19) | ||
**Note:** Version bump only for package @exodus/asset-icons | ||
## 3.0.0 | ||
@@ -2,0 +15,0 @@ |
{ | ||
"name": "@exodus/asset-icons", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Exodus assets icons generator helpers", | ||
"license": "ISC", | ||
"author": "Exodus", | ||
"author": "Exodus Movement Inc.", | ||
"main": "scripts/generate.web.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ExodusMovement/assets.git" | ||
"url": "git+https://github.com/ExodusMovement/assets.git" | ||
}, | ||
@@ -17,6 +17,4 @@ "engines": { | ||
"scripts": { | ||
"format": "prettier --write 'scripts/*.js'", | ||
"lint": "eslint --cache . && prettier --check **/*", | ||
"lint:fix": "eslint --cache --fix . && prettier --write '**/*'", | ||
"test": "yarn lint" | ||
"lint": "run -T eslint ./scripts", | ||
"lint:fix": "yarn lint --fix" | ||
}, | ||
@@ -28,16 +26,6 @@ "files": [ | ||
], | ||
"devDependencies": { | ||
"babel-eslint": "^10.0.1", | ||
"eslint": "^5.12.1", | ||
"eslint-config-prettier": "^4.0.0", | ||
"eslint-config-standard": "^12.0.0", | ||
"eslint-plugin-import": "^2.15.0", | ||
"eslint-plugin-jest": "^26.1.0", | ||
"eslint-plugin-node": "^8.0.1", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"eslint-plugin-promise": "^4.0.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"glob": "^8.0.3", | ||
"prettier": "^1.16.1" | ||
} | ||
"bugs": { | ||
"url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Aasset-icons" | ||
}, | ||
"gitHead": "9c7f10a93564d4752c3625833a43c00be5a45f0a" | ||
} |
@@ -51,2 +51,3 @@ const path = require('path') | ||
} | ||
const generate = ({ type = 'default' } = {}) => { | ||
@@ -68,2 +69,3 @@ const postfix = POSTFIX_BY_TYPE[type] | ||
} | ||
items = mergeAssetData(items, fallbackItems) | ||
@@ -92,3 +94,4 @@ | ||
relativeOutputDir.split('/').length - relativeNodeModulesDir.split('/').length + 1 | ||
const pathStart = new Array(relativeNodeModulesDepth).fill('../').join('') + 'node_modules' // use relative path to implicit `-meta` packages imported by assets-base to avoid disabling eslint import/no-extraneous-dependencies | ||
const pathStart = | ||
Array.from({ length: relativeNodeModulesDepth }).fill('../').join('') + 'node_modules' // use relative path to implicit `-meta` packages imported by assets-base to avoid disabling eslint import/no-extraneous-dependencies | ||
@@ -95,0 +98,0 @@ content = content + '\n' + `import ${assetNameSvg} from '${pathStart}/${d}/${f}'` |
@@ -11,6 +11,6 @@ const path = require('path') | ||
path.resolve(processDirectory, relativeNodeModulesDir, '@exodus/assets-base/package.json'), | ||
'utf-8' | ||
'utf8' | ||
) | ||
) | ||
return Object.keys(json.dependencies).filter((name) => name.match(/^@exodus[/][^/]+-meta$/)) | ||
return Object.keys(json.dependencies).filter((name) => name.match(/^@exodus\/[^/]+-meta$/)) | ||
} | ||
@@ -17,0 +17,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
0
147
10480