Socket
Socket
Sign inDemoInstall

@atlaskit/icon

Package Overview
Dependencies
3
Maintainers
1
Versions
249
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 21.6.0 to 21.6.1

6

CHANGELOG.md
# @atlaskit/icon
## 21.6.1
### Patch Changes
- [`9f5d6ed95f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f5d6ed95f0) - Added aria-hidden to icon wrapper when there is no label provided
## 21.6.0

@@ -4,0 +10,0 @@

12

codemods/21.2.0-metadata-entry.ts

@@ -61,3 +61,3 @@ import core, {

.find(j.ImportDeclaration)
.filter(path => path.node.source.value === importPath).length;
.filter((path) => path.node.source.value === importPath).length;
}

@@ -79,3 +79,3 @@

.find(j.ImportDeclaration)
.filter(path => path.value.source.value === packageName).length > 0;
.filter((path) => path.value.source.value === packageName).length > 0;

@@ -88,3 +88,3 @@ if (exists) {

.find(j.ImportDeclaration)
.filter(path => path.value.source.value === relativeToPackage)
.filter((path) => path.value.source.value === relativeToPackage)
.insertBefore(j.importDeclaration([], j.literal(packageName)));

@@ -106,4 +106,4 @@ }

.find(j.ImportDeclaration)
.filter(path => path.value.source.value === packageName)
.replaceWith(declaration => {
.filter((path) => path.value.source.value === packageName)
.replaceWith((declaration) => {
return j.importDeclaration(

@@ -115,3 +115,3 @@ [

...(declaration.value.specifiers || []).filter(
item => item.type === 'ImportSpecifier' && item.imported != null,
(item) => item.type === 'ImportSpecifier' && item.imported != null,
),

@@ -118,0 +118,0 @@ importSpecifier,

@@ -56,3 +56,4 @@ "use strict";

role: label ? 'img' : 'presentation',
"aria-label": label ? label : undefined
"aria-label": label ? label : undefined,
"aria-hidden": !label ? 'true' : undefined
}, glyphProps, {

@@ -59,0 +60,0 @@ /**

{
"name": "@atlaskit/icon",
"version": "21.6.0",
"version": "21.6.1",
"sideEffects": false
}

@@ -44,3 +44,4 @@ import _extends from "@babel/runtime/helpers/extends";

role: label ? 'img' : 'presentation',
"aria-label": label ? label : undefined
"aria-label": label ? label : undefined,
"aria-hidden": !label ? 'true' : undefined
}, glyphProps, {

@@ -47,0 +48,0 @@ /**

{
"name": "@atlaskit/icon",
"version": "21.6.0",
"version": "21.6.1",
"sideEffects": false
}

@@ -46,3 +46,4 @@ import _extends from "@babel/runtime/helpers/extends";

role: label ? 'img' : 'presentation',
"aria-label": label ? label : undefined
"aria-label": label ? label : undefined,
"aria-hidden": !label ? 'true' : undefined
}, glyphProps, {

@@ -49,0 +50,0 @@ /**

{
"name": "@atlaskit/icon",
"version": "21.6.0",
"version": "21.6.1",
"sideEffects": false
}
{
"name": "@atlaskit/icon",
"version": "21.6.0",
"version": "21.6.1",
"description": "An icon is used as a visual representation of common actions and commands to provide context.",

@@ -50,3 +50,3 @@ "publishConfig": {

"@atlaskit/docs": "*",
"@atlaskit/dynamic-table": "^14.2.0",
"@atlaskit/dynamic-table": "^14.3.0",
"@atlaskit/icon-file-type": "^6.3.0",

@@ -56,3 +56,3 @@ "@atlaskit/icon-object": "^6.2.0",

"@atlaskit/logo": "^13.1.0",
"@atlaskit/modal-dialog": "^11.6.0",
"@atlaskit/modal-dialog": "^11.7.0",
"@atlaskit/section-message": "^6.0.0",

@@ -63,3 +63,3 @@ "@atlaskit/ssr": "*",

"@atlaskit/visual-regression": "*",
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
"@babel/core": "^7.12.3",

@@ -76,3 +76,3 @@ "@emotion/babel-preset-css-prop": "^10.0.7",

"react-dom": "^16.8.0",
"ts-node": "^6.1.1",
"ts-node": "^10.0.0",
"wait-for-expect": "^1.2.0"

@@ -100,3 +100,3 @@ },

},
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc