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

@stylable/node

Package Overview
Dependencies
Maintainers
6
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/node - npm Package Compare versions

Comparing version 5.8.0 to 5.9.0

dist/common.d.ts

4

dist/require-hook.js

@@ -10,5 +10,5 @@ "use strict";

const fs_1 = __importDefault(require("fs"));
const common_1 = require("./common");
const resolve_namespace_1 = require("./resolve-namespace");
const HOOK_EXTENSION = '.css';
const defaultStylableMatcher = (filename) => !!filename.match(/\.st\.css$/);
function attachHook({ matcher, afterCompile, stylableConfig, runtimePath, ignoreJSModules, configPath, } = {}) {

@@ -38,3 +38,3 @@ let options = {

if (!matcher) {
matcher = defaultStylableMatcher;
matcher = common_1.defaultStylableMatcher;
}

@@ -41,0 +41,0 @@ const prevHook = require.extensions[HOOK_EXTENSION];

{
"name": "@stylable/node",
"version": "5.8.0",
"version": "5.9.0",
"description": "Integrate Stylable into your node application",

@@ -10,4 +10,5 @@ "main": "dist/index.js",

"dependencies": {
"@stylable/core": "^5.8.0",
"@stylable/module-utils": "^5.8.0",
"@stylable/build-tools": "^5.9.0",
"@stylable/core": "^5.9.0",
"@stylable/module-utils": "^5.9.0",
"find-config": "^1.0.0"

@@ -20,2 +21,3 @@ },

"register.js",
"loader.js",
"!*/tsconfig.{json,tsbuildinfo}"

@@ -22,0 +24,0 @@ ],

@@ -5,2 +5,3 @@ import type { StylableConfig } from '@stylable/core';

import fs from 'fs';
import { defaultStylableMatcher } from './common';
import { resolveNamespace } from './resolve-namespace';

@@ -19,4 +20,2 @@

const defaultStylableMatcher = (filename: string) => !!filename.match(/\.st\.css$/);
export function attachHook({

@@ -23,0 +22,0 @@ matcher,

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