@figma-export/core
Advanced tools
Comparing version 1.0.0 to 1.1.0
const svg = { | ||
domain: 'https://s3-us-west-2.amazonaws.com', | ||
path: '/figma-alpha-api/img/7d80/9a7f/49ce9d382e188bc37b1fa83f83ff7c3f', | ||
content: '<svg width="40" height="60" viewBox="0 0 40 60" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>', | ||
get url() { | ||
return `${this.domain}${this.path}`; | ||
}, | ||
}; | ||
const componentWithNumber = { | ||
@@ -12,2 +21,3 @@ id: '12:3', | ||
type: 'COMPONENT', | ||
svg: svg.content, | ||
}; | ||
@@ -19,2 +29,3 @@ | ||
type: 'COMPONENT', | ||
svg: '<svg id="c2"></svg>', | ||
}; | ||
@@ -26,2 +37,3 @@ | ||
type: 'COMPONENT', | ||
svg: '<svg id="c3"></svg>', | ||
}; | ||
@@ -55,11 +67,2 @@ | ||
const svg = { | ||
domain: 'https://s3-us-west-2.amazonaws.com', | ||
path: '/figma-alpha-api/img/7d80/9a7f/49ce9d382e188bc37b1fa83f83ff7c3f', | ||
content: '<svg width="40" height="60" viewBox="0 0 40 60" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>', | ||
get url() { | ||
return `${this.domain}${this.path}`; | ||
}, | ||
}; | ||
module.exports = { | ||
@@ -66,0 +69,0 @@ componentWithNumber, |
{ | ||
"name": "@figma-export/core", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "@figma-export core functionalities", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "1b1f340a6a11813997f7d3f5f2e8388632b927ee" | ||
"gitHead": "68483596c712eb479bf496180de823a5edb5d32d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15028
372