New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@figma-export/transform-svg-with-svgo

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma-export/transform-svg-with-svgo - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

8

dist/index.js

@@ -13,4 +13,10 @@ "use strict";

module.exports = (options) => {
return (svg) => __awaiter(void 0, void 0, void 0, function* () { return (0, svgo_1.optimize)(svg, options).data; });
return (svg) => __awaiter(void 0, void 0, void 0, function* () {
const result = (0, svgo_1.optimize)(svg, options);
if (!('data' in result)) {
return undefined;
}
return result.data;
});
};
//# sourceMappingURL=index.js.map

8

package.json
{
"name": "@figma-export/transform-svg-with-svgo",
"version": "4.0.0",
"version": "4.0.1",
"description": "Transformer for @figma-export that optimizes svgs using svgo tool",

@@ -27,4 +27,4 @@ "main": "dist/index.js",

"dependencies": {
"@figma-export/types": "^4.0.0",
"@types/svgo": "~2.6.0",
"@figma-export/types": "^4.0.1",
"@types/svgo": "~2.6.1",
"svgo": "~2.8.0"

@@ -35,3 +35,3 @@ },

},
"gitHead": "a1b41e37b7770030d526f65d992b54fd0d75badd"
"gitHead": "f0f6b98b885ee5a8bd1f5b9e61f06f19c6fc2396"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc