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

@compiled/eslint-plugin

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compiled/eslint-plugin - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

dist/rules/no-invalid-css-map/index.js

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

const createCssMapRule = (context) => {
const { text } = context.sourceCode;
const { text } = context.getSourceCode();
if (!text.includes(constants_1.COMPILED_IMPORT)) {

@@ -38,0 +38,0 @@ return {};

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

const getStack = (context, node) => {
const { scopeManager } = context.sourceCode;
const { scopeManager } = context.getSourceCode();
const stack = {

@@ -9,0 +9,0 @@ nodes: [],

{
"name": "@compiled/eslint-plugin",
"version": "0.9.0",
"version": "0.9.1",
"description": "A familiar and performant compile time CSS-in-JS library for React.",

@@ -5,0 +5,0 @@ "homepage": "https://compiledcssinjs.com/docs/pkg-eslint-plugin",

@@ -42,3 +42,3 @@ import type { Rule } from 'eslint';

const createCssMapRule = (context: Rule.RuleContext): Rule.RuleListener => {
const { text } = context.sourceCode;
const { text } = context.getSourceCode();
if (!text.includes(COMPILED_IMPORT)) {

@@ -45,0 +45,0 @@ return {};

@@ -16,3 +16,3 @@ import type { Rule, Scope as ScopeNamespace } from 'eslint';

const getStack = (context: RuleContext, node: Node) => {
const { scopeManager } = context.sourceCode;
const { scopeManager } = context.getSourceCode();
const stack: Omit<Stack, 'scope'> = {

@@ -19,0 +19,0 @@ nodes: [],

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