Socket
Socket
Sign inDemoInstall

@atlaskit/tokens

Package Overview
Dependencies
Maintainers
0
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tokens - npm Package Compare versions

Comparing version 1.56.3 to 1.57.0

2

dist/cjs/babel-plugin/plugin.js

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

// Handle fallbacks
var fallback = path.node.arguments[1];
var fallback = state.opts.shouldForceAutoFallback ? t.stringLiteral(getDefaultFallback(tokenName, state.opts.defaultTheme)) : path.node.arguments[1];
if (t.isStringLiteral(fallback)) {

@@ -112,0 +112,0 @@ // String literals can be concatenated into css variable call

@@ -91,3 +91,3 @@ import * as t from '@babel/types';

// Handle fallbacks
const fallback = path.node.arguments[1];
const fallback = state.opts.shouldForceAutoFallback ? t.stringLiteral(getDefaultFallback(tokenName, state.opts.defaultTheme)) : path.node.arguments[1];
if (t.isStringLiteral(fallback)) {

@@ -94,0 +94,0 @@ // String literals can be concatenated into css variable call

@@ -99,3 +99,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

// Handle fallbacks
var fallback = path.node.arguments[1];
var fallback = state.opts.shouldForceAutoFallback ? t.stringLiteral(getDefaultFallback(tokenName, state.opts.defaultTheme)) : path.node.arguments[1];
if (t.isStringLiteral(fallback)) {

@@ -102,0 +102,0 @@ // String literals can be concatenated into css variable call

@@ -10,2 +10,3 @@ import { type NodePath } from '@babel/traverse';

shouldUseAutoFallback?: boolean;
shouldForceAutoFallback?: boolean;
defaultTheme?: DefaultColorTheme;

@@ -12,0 +13,0 @@ };

@@ -10,2 +10,3 @@ import { type NodePath } from '@babel/traverse';

shouldUseAutoFallback?: boolean;
shouldForceAutoFallback?: boolean;
defaultTheme?: DefaultColorTheme;

@@ -12,0 +13,0 @@ };

{
"name": "@atlaskit/tokens",
"version": "1.56.3",
"version": "1.57.0",
"description": "Design tokens are the single source of truth to name and store design decisions.",

@@ -5,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is too big to display

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