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

@compiled/babel-plugin-css-in-js

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compiled/babel-plugin-css-in-js - npm Package Compare versions

Comparing version 0.2.9-2b456e29bfd10be027a5b36b4c98a99f1440b5bc.0 to 0.2.9

2

dist/__tests__/index.test.js

@@ -22,3 +22,3 @@ "use strict";

var output = core_1.transformSync("\n import { styled } from '@compiled/css-in-js';\n\n styled.div`\n font-size: 12px;\n `;\n ", babelOpts);
expect((_a = output) === null || _a === void 0 ? void 0 : _a.code).toMatchInlineSnapshot("\n \"import React from \\\"react\\\";\n import { Style } from '@compiled/css-in-js';\n React.forwardRef((props, ref) => <><Style hash=\\\"css-1x3e11p\\\">{[\\\".css-1x3e11p{font-size:12px;}\\\"]}</Style><div {...props} ref={ref} className={\\\"css-1x3e11p\\\" + (props.className ? \\\" \\\" + props.className : \\\"\\\")} /></>);\"\n ");
expect((_a = output) === null || _a === void 0 ? void 0 : _a.code).toMatchInlineSnapshot("\n \"import React from \\\"react\\\";\n import { Style } from '@compiled/css-in-js';\n React.forwardRef(({\n as: C = \\\"div\\\",\n ...props\n }, ref) => <><Style hash=\\\"css-1x3e11p\\\">{[\\\".css-1x3e11p{font-size:12px;}\\\"]}</Style><C {...props} ref={ref} className={\\\"css-1x3e11p\\\" + (props.className ? \\\" \\\" + props.className : \\\"\\\")} /></>);\"\n ");
});

@@ -25,0 +25,0 @@ it('should transform css prop', function () {

@@ -1,1 +0,30 @@

{"name":"@compiled/babel-plugin-css-in-js","version":"0.2.9-2b456e29bfd10be027a5b36b4c98a99f1440b5bc.0","description":"The CSS in JS authoring experience you love without the runtime cost","author":"Michael Dougall","license":"Apache-2.0","homepage":"https://compiledcssinjs.com","bugs":"https://github.com/atlassian-labs/compiled-css-in-js/issues/new?assignees=&labels=bug&template=bug_report.md","repository":{"type":"git","url":"https://github.com/atlassian-labs/compiled-css-in-js.git","directory":"packages/babel-plugin"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","files":["dist","src"],"dependencies":{"@babel/core":"^7.9.0","@compiled/ts-transform-css-in-js":"0.2.9-2b456e29bfd10be027a5b36b4c98a99f1440b5bc.0","typescript":"^3.7.3"},"devDependencies":{"@babel/plugin-syntax-jsx":"^7.8.3","@types/babel__core":"^7.1.6"}}
{
"name": "@compiled/babel-plugin-css-in-js",
"version": "0.2.9",
"description": "The CSS in JS authoring experience you love without the runtime cost",
"author": "Michael Dougall",
"license": "Apache-2.0",
"homepage": "https://compiledcssinjs.com",
"bugs": "https://github.com/atlassian-labs/compiled-css-in-js/issues/new?assignees=&labels=bug&template=bug_report.md",
"repository": {
"type": "git",
"url": "https://github.com/atlassian-labs/compiled-css-in-js.git",
"directory": "packages/babel-plugin"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"dependencies": {
"@babel/core": "^7.9.0",
"@compiled/ts-transform-css-in-js": "0.2.9",
"typescript": "^3.7.3"
},
"devDependencies": {
"@babel/plugin-syntax-jsx": "^7.8.3",
"@types/babel__core": "^7.1.6"
}
}

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