Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@linaria/core

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linaria/core - npm Package Compare versions

Comparing version 3.0.0-beta.18 to 3.0.0-beta.19

esm/cx.js

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [3.0.0-beta.19](https://github.com/callstack/linaria/compare/v3.0.0-beta.18...v3.0.0-beta.19) (2022-06-03)
### Features
* **babel:** api for custom tags ([#976](https://github.com/callstack/linaria/issues/976)) ([3285ccc](https://github.com/callstack/linaria/commit/3285ccc1d00449b78b3fc74087528cd38cbdd116))
* **babel:** new way for detecting tag imports ([#974](https://github.com/callstack/linaria/issues/974)) ([3305cfb](https://github.com/callstack/linaria/commit/3305cfb0c0f65abdacceeb7e6bad118c59f7d551))
# [3.0.0-beta.18](https://github.com/callstack/linaria/compare/v3.0.0-beta.17...v3.0.0-beta.18) (2022-04-01)

@@ -8,0 +20,0 @@

2

esm/index.js
export { default as css } from './css';
export { cx } from '@linaria/utils';
export { default as cx } from './cx';
//# sourceMappingURL=index.js.map

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

var css = function css() {
const css = () => {
throw new Error('Using the "css" tag in runtime is not supported. Make sure you have set up the Babel plugin correctly.');

@@ -9,0 +9,0 @@ };

@@ -10,7 +10,7 @@ "use strict";

var _utils = require("@linaria/utils");
var _cx = _interopRequireDefault(require("./cx"));
exports.cx = _utils.cx;
exports.cx = _cx.default;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//# sourceMappingURL=index.js.map
{
"name": "@linaria/core",
"version": "3.0.0-beta.18",
"version": "3.0.0-beta.19",
"publishConfig": {

@@ -17,4 +17,12 @@ "access": "public"

],
"linaria": {
"tags": {
"css": "./lib/processors/css.js"
}
},
"license": "MIT",
"repository": "git@github.com:callstack/linaria.git",
"engines": {
"node": "^12.16.0 || >=13.7.0"
},
"bugs": {

@@ -33,2 +41,3 @@ "url": "https://github.com/callstack/linaria/issues"

"build:lib": "cross-env NODE_ENV=legacy babel src --out-dir lib --extensions '.js,.jsx,.ts,.tsx' --source-maps --delete-dir-on-start",
"build:corejs-test": "cross-env NODE_ENV=legacy babel src --out-dir lib --extensions '.js,.jsx,.ts,.tsx' --ignore \"src/processors/**/*\"",
"build:esm": "babel src --out-dir esm --extensions '.js,.jsx,.ts,.tsx' --source-maps --delete-dir-on-start",

@@ -43,5 +52,30 @@ "build": "yarn build:lib && yarn build:esm",

"dependencies": {
"@linaria/utils": "^3.0.0-beta.18"
"@linaria/logger": "^3.0.0-beta.19",
"@linaria/utils": "^3.0.0-beta.19"
},
"gitHead": "c3f093a3a7fb4e7c82d23e44adb19a94438da68c"
"devDependencies": {
"@babel/traverse": ">=7",
"@babel/types": ">=7"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./types/index.d.ts",
"import": "./esm/index.js",
"default": "./lib/index.js"
},
"./*": {
"types": "./types/*.d.ts",
"import": "./esm/*.js",
"default": "./lib/*.js"
}
},
"typesVersions": {
"*": {
"processors/*": [
"./types/processors/*.d.ts"
]
}
},
"gitHead": "73aab0a3908325333e452b9cbd5e438a0f1de463"
}

@@ -1,6 +0,6 @@

import type { LinariaClassName } from '@linaria/utils';
import type { CSSProperties } from './CSSProperties';
import type { StyledMeta } from './StyledMeta';
import type { LinariaClassName } from './cx';
declare type CSS = (strings: TemplateStringsArray, ...exprs: Array<string | number | CSSProperties | StyledMeta>) => LinariaClassName;
declare const css: CSS;
export default css;
export { default as css } from './css';
export { cx } from '@linaria/utils';
export { default as cx } from './cx';
export type { CSSProperties } from './CSSProperties';
export type { StyledMeta } from './StyledMeta';
export type { LinariaClassName } from '@linaria/utils';
export type { LinariaClassName } from './cx';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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