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

@stylable/node

Package Overview
Dependencies
Maintainers
7
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 4.6.0 to 4.7.0

6

dist/index.d.ts

@@ -1,4 +0,4 @@

export * from './require-hook';
export * from './resolve-namespace';
export * from './find-files';
export { Options, attachHook } from './require-hook';
export { resolveNamespace, resolveNamespaceFactory } from './resolve-namespace';
export { FileSystem, findFiles } from './find-files';
//# sourceMappingURL=index.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./require-hook"), exports);
__exportStar(require("./resolve-namespace"), exports);
__exportStar(require("./find-files"), exports);
exports.findFiles = exports.resolveNamespaceFactory = exports.resolveNamespace = exports.attachHook = void 0;
var require_hook_1 = require("./require-hook");
Object.defineProperty(exports, "attachHook", { enumerable: true, get: function () { return require_hook_1.attachHook; } });
var resolve_namespace_1 = require("./resolve-namespace");
Object.defineProperty(exports, "resolveNamespace", { enumerable: true, get: function () { return resolve_namespace_1.resolveNamespace; } });
Object.defineProperty(exports, "resolveNamespaceFactory", { enumerable: true, get: function () { return resolve_namespace_1.resolveNamespaceFactory; } });
var find_files_1 = require("./find-files");
Object.defineProperty(exports, "findFiles", { enumerable: true, get: function () { return find_files_1.findFiles; } });
//# sourceMappingURL=index.js.map

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

function attachHook({ matcher, afterCompile, stylableConfig, runtimePath, ignoreJSModules, } = {}) {
const stylableToModule = module_utils_1.stylableModuleFactory({
const stylableToModule = (0, module_utils_1.stylableModuleFactory)({
projectRoot: 'root',

@@ -19,2 +19,3 @@ fileSystem: fs_1.default,

resolveNamespace: resolve_namespace_1.resolveNamespace,
resolverCache: new Map(),
...stylableConfig,

@@ -21,0 +22,0 @@ }, { runtimePath });

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

function resolveNamespaceFactory(hashSalt = '', prefix = '') {
return core_1.packageNamespaceFactory(find_config_1.default, require, { dirname: path_1.dirname, relative: path_1.relative }, hashSalt, prefix);
return (0, core_1.packageNamespaceFactory)(find_config_1.default, require, { dirname: path_1.dirname, relative: path_1.relative }, hashSalt, prefix);
}

@@ -14,0 +14,0 @@ exports.resolveNamespaceFactory = resolveNamespaceFactory;

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

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

"dependencies": {
"@stylable/core": "^4.6.0",
"@stylable/module-utils": "^4.6.0",
"@stylable/core": "^4.7.0",
"@stylable/module-utils": "^4.7.0",
"find-config": "^1.0.0"

@@ -14,0 +14,0 @@ },

@@ -35,7 +35,7 @@ import type { IFileSystem } from '@file-services/types';

} catch (e) {
errors.push(e);
errors.push(e as Error);
}
});
} catch (e) {
errors.push(e);
errors.push(e as Error);
}

@@ -42,0 +42,0 @@ }

@@ -1,3 +0,3 @@

export * from './require-hook';
export * from './resolve-namespace';
export * from './find-files';
export { Options, attachHook } from './require-hook';
export { resolveNamespace, resolveNamespaceFactory } from './resolve-namespace';
export { FileSystem, findFiles } from './find-files';

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

resolveNamespace,
resolverCache: new Map(),
...stylableConfig,

@@ -33,0 +34,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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