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

@navita/engine

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@navita/engine - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

1

index.d.ts

@@ -14,2 +14,3 @@ import { StyleRule, FontFaceRule, CSSKeyframes } from '@navita/types';

type Options = {
context?: string;
enableSourceMaps?: boolean;

@@ -16,0 +17,0 @@ enableDebugIdentifiers?: boolean;

10

index.js

@@ -157,3 +157,4 @@ 'use strict';

const sourceMap$1 = new sourceMap.SourceMapGenerator({
file: "navita.css"
file: "navita.css",
skipValidation: true
});

@@ -756,6 +757,7 @@ const references = entries.flatMap(([filePath, references])=>references.map((reference)=>({

const selector = '.' + classList.toString().split(' ').concat(extraClass).filter(Boolean).join('.');
if (index === 0 || !this.sourceMapReferences[filePath]) {
this.sourceMapReferences[filePath] = [];
const newFilePath = path.relative(this.options.context || process.cwd(), filePath);
if (index === 0 || !this.sourceMapReferences[newFilePath]) {
this.sourceMapReferences[newFilePath] = [];
}
this.sourceMapReferences[filePath][index] = {
this.sourceMapReferences[newFilePath][index] = {
selector,

@@ -762,0 +764,0 @@ line,

{
"name": "@navita/engine",
"version": "0.0.8",
"version": "0.0.9",
"description": "Navitas CSS-in-JS engine",

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

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