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

@stylable/core

Package Overview
Dependencies
Maintainers
6
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/core - npm Package Compare versions

Comparing version 3.6.2 to 3.6.3

2

cjs/index.js

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

var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);

@@ -23,0 +23,0 @@ return result;

@@ -1,7 +0,8 @@

/// <reference types="node" />
import * as nodePath from 'path';
import { processNamespace } from './stylable-processor';
export declare function packageNamespaceFactory(findConfig: (fileName: string, options: {
cwd: string;
}) => string | null, loadConfig: (filePath: string) => object, { dirname, relative }: Pick<typeof nodePath, 'relative' | 'dirname'>, hashSalt?: string, prefix?: string, normalizeVersion?: (semver: string) => string): typeof processNamespace;
}) => string | null, loadConfig: (filePath: string) => object, { dirname, relative, }: {
dirname(path: string): string;
relative(from: string, to: string): string;
}, hashSalt?: string, prefix?: string, normalizeVersion?: (semver: string) => string): typeof processNamespace;
export declare function noCollisionNamespace({ prefix, used: usedNamespaces, }?: {

@@ -8,0 +9,0 @@ prefix?: string | undefined;

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

const murmurhash_1 = __importDefault(require("murmurhash"));
function packageNamespaceFactory(findConfig, loadConfig, { dirname, relative }, hashSalt = '', prefix = '', normalizeVersion = (semver) => semver) {
function packageNamespaceFactory(findConfig, loadConfig, { dirname, relative, }, hashSalt = '', prefix = '', normalizeVersion = (semver) => semver) {
return (namespace, stylesheetPath) => {

@@ -11,0 +11,0 @@ const configPath = findConfig('package.json', { cwd: dirname(stylesheetPath) });

{
"name": "@stylable/core",
"version": "3.6.2",
"version": "3.6.3",
"description": "CSS for Components",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

import hash from 'murmurhash';
import * as nodePath from 'path'; /* type */
import { processNamespace } from './stylable-processor';

@@ -8,3 +7,6 @@

loadConfig: (filePath: string) => object,
{ dirname, relative }: Pick<typeof nodePath, 'relative' | 'dirname'>,
{
dirname,
relative,
}: { dirname(path: string): string; relative(from: string, to: string): string },
hashSalt = '',

@@ -11,0 +13,0 @@ prefix = '',

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