Socket
Socket
Sign inDemoInstall

@linaria/utils

Package Overview
Dependencies
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linaria/utils - npm Package Compare versions

Comparing version 4.5.2 to 4.5.3

6

esm/addIdentifierToLinariaPreval.js

@@ -5,7 +5,7 @@ import { createId } from './createId';

const rootScope = scope.getProgramParent();
let object = rootScope.getData('__linariaPreval');
const programPath = rootScope.path;
let object = programPath.getData('__linariaPreval');
if (object) {
return object;
}
const programPath = rootScope.path;
if (programPath.node.sourceType === 'script') {

@@ -53,3 +53,3 @@ // CJS exports.__linariaPreval = {};

}
rootScope.setData('__linariaPreval', object);
programPath.setData('__linariaPreval', object);
return object;

@@ -56,0 +56,0 @@ }

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

const rootScope = scope.getProgramParent();
let object = rootScope.getData('__linariaPreval');
const programPath = rootScope.path;
let object = programPath.getData('__linariaPreval');
if (object) {
return object;
}
const programPath = rootScope.path;
if (programPath.node.sourceType === 'script') {

@@ -60,3 +60,3 @@ // CJS exports.__linariaPreval = {};

}
rootScope.setData('__linariaPreval', object);
programPath.setData('__linariaPreval', object);
return object;

@@ -63,0 +63,0 @@ }

{
"name": "@linaria/utils",
"version": "4.5.2",
"version": "4.5.3",
"description": "Blazing fast zero-runtime CSS in JS library",

@@ -5,0 +5,0 @@ "keywords": [

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