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

node-css-require

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-css-require - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

dist/src/nodeCssRequire.js

@@ -12,3 +12,2 @@ "use strict";

const register_1 = require("@swc-node/register/register");
const read_default_tsconfig_1 = require("@swc-node/register/read-default-tsconfig");
function compileCss(code, filename) {

@@ -46,4 +45,3 @@ let exportedTokens = {};

});
let tsConfig = (0, read_default_tsconfig_1.readDefaultTsConfig)();
tsConfig = {};
const tsConfig = {};
(0, register_1.register)({ ...tsConfig });

@@ -50,0 +48,0 @@ };

{
"name": "node-css-require",
"version": "0.1.2",
"version": "0.1.3",
"description": "Load CSS modules when running Node.js CLI and server applications",

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

@@ -47,3 +47,3 @@ [![npm version](https://badge.fury.io/js/node-css-require.svg)](https://badge.fury.io/js/node-css-require)

Note that the value of the imported variable from a CSS file will be map of class names defined in the CSS file mapped to dynamically generated names using [`css-modes`](https://github.com/css-modules/css-modules).
Note that the value of the imported variable from a CSS file will be map of class names defined in the CSS file mapped to dynamically generated names using [`css-modules`](https://github.com/css-modules/css-modules).

@@ -50,0 +50,0 @@ In order to avoid any errors during TypeScript compilation declare a file `typings.d.ts` with the following contents:

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