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

@fluentui/make-styles

Package Overview
Dependencies
Maintainers
12
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/make-styles - npm Package Compare versions

Comparing version 9.0.0-alpha.14 to 9.0.0-alpha.15

lib-amd/runtime/utils/hashSequence.d.ts

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Fri, 23 Apr 2021 07:30:56 GMT",
"date": "Mon, 26 Apr 2021 07:31:31 GMT",
"tag": "@fluentui/make-styles_v9.0.0-alpha.15",
"version": "9.0.0-alpha.15",
"comments": {
"prerelease": [
{
"comment": "Add quick fix to bug on direction collision",
"author": "bsunderhus@microsoft.com",
"commit": "76e2027d772bc9d19d3d217c449c5965262f73c4",
"package": "@fluentui/make-styles"
}
]
}
},
{
"date": "Fri, 23 Apr 2021 07:37:10 GMT",
"tag": "@fluentui/make-styles_v9.0.0-alpha.14",

@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.14",

# Change Log - @fluentui/make-styles
This log was last generated on Fri, 23 Apr 2021 07:30:56 GMT and should not be manually modified.
This log was last generated on Mon, 26 Apr 2021 07:31:31 GMT and should not be manually modified.
<!-- Start content -->
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/make-styles_v9.0.0-alpha.15)
Mon, 26 Apr 2021 07:31:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/make-styles_v9.0.0-alpha.14..@fluentui/make-styles_v9.0.0-alpha.15)
### Changes
- Add quick fix to bug on direction collision ([PR #17936](https://github.com/microsoft/fluentui/pull/17936) by bsunderhus@microsoft.com)
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/make-styles_v9.0.0-alpha.14)
Fri, 23 Apr 2021 07:30:56 GMT
Fri, 23 Apr 2021 07:37:10 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/make-styles_v9.0.0-alpha.13..@fluentui/make-styles_v9.0.0-alpha.14)

@@ -11,0 +20,0 @@

4

lib-amd/mergeClasses.js

@@ -1,2 +0,2 @@

define(["require", "exports", "./constants", "./runtime/utils/hashString"], function (require, exports, constants_1, hashString_1) {
define(["require", "exports", "./constants", "./runtime/utils/hashSequence"], function (require, exports, constants_1, hashSequence_1) {
"use strict";

@@ -76,3 +76,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

// Each merge of classes generates a new sequence of atomic classes that needs to be registered
var newSequenceHash = constants_1.SEQUENCE_PREFIX + hashString_1.hashString(atomicClassNames);
var newSequenceHash = hashSequence_1.hashSequence(atomicClassNames, dir);
atomicClassNames = newSequenceHash + ' ' + atomicClassNames;

@@ -79,0 +79,0 @@ mergeClassesCachedResults[sequenceMatch] = atomicClassNames;

@@ -1,2 +0,2 @@

define(["require", "exports", "../constants", "./utils/hashString"], function (require, exports, constants_1, hashString_1) {
define(["require", "exports", "../constants", "./utils/hashSequence"], function (require, exports, constants_1, hashSequence_1) {
"use strict";

@@ -9,3 +9,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

var slotClasses = renderer.insertDefinitions(dir, resolvedStyles[slotName]);
var sequenceHash = constants_1.SEQUENCE_PREFIX + hashString_1.hashString(slotClasses);
var sequenceHash = hashSequence_1.hashSequence(slotClasses, dir);
var resultSlotClasses = sequenceHash + ' ' + slotClasses;

@@ -12,0 +12,0 @@ constants_1.DEFINITION_LOOKUP_TABLE[sequenceHash] = [resolvedStyles[slotName], dir];

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var constants_1 = require("./constants");
var hashString_1 = require("./runtime/utils/hashString");
var hashSequence_1 = require("./runtime/utils/hashSequence");
// Contains a mapping of previously resolved sequences of atomic classnames

@@ -95,3 +95,3 @@ var mergeClassesCachedResults = {};

// Each merge of classes generates a new sequence of atomic classes that needs to be registered
var newSequenceHash = constants_1.SEQUENCE_PREFIX + hashString_1.hashString(atomicClassNames);
var newSequenceHash = hashSequence_1.hashSequence(atomicClassNames, dir);
atomicClassNames = newSequenceHash + ' ' + atomicClassNames;

@@ -98,0 +98,0 @@ mergeClassesCachedResults[sequenceMatch] = atomicClassNames;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var constants_1 = require("../constants");
var hashString_1 = require("./utils/hashString");
var hashSequence_1 = require("./utils/hashSequence");
function resolveClassesBySlots(resolvedStyles, dir, renderer) {

@@ -10,3 +10,3 @@ var resolvedClasses = {};

var slotClasses = renderer.insertDefinitions(dir, resolvedStyles[slotName]);
var sequenceHash = constants_1.SEQUENCE_PREFIX + hashString_1.hashString(slotClasses);
var sequenceHash = hashSequence_1.hashSequence(slotClasses, dir);
var resultSlotClasses = sequenceHash + ' ' + slotClasses;

@@ -13,0 +13,0 @@ constants_1.DEFINITION_LOOKUP_TABLE[sequenceHash] = [resolvedStyles[slotName], dir];

import { DEFINITION_LOOKUP_TABLE, LOOKUP_DEFINITIONS_INDEX, LOOKUP_DIR_INDEX, HASH_LENGTH, RTL_PREFIX, RULE_CLASSNAME_INDEX, RULE_RTL_CSS_INDEX, SEQUENCE_PREFIX, } from './constants';
import { hashString } from './runtime/utils/hashString';
import { hashSequence } from './runtime/utils/hashSequence';
// Contains a mapping of previously resolved sequences of atomic classnames

@@ -93,3 +93,3 @@ var mergeClassesCachedResults = {};

// Each merge of classes generates a new sequence of atomic classes that needs to be registered
var newSequenceHash = SEQUENCE_PREFIX + hashString(atomicClassNames);
var newSequenceHash = hashSequence(atomicClassNames, dir);
atomicClassNames = newSequenceHash + ' ' + atomicClassNames;

@@ -96,0 +96,0 @@ mergeClassesCachedResults[sequenceMatch] = atomicClassNames;

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

import { DEFINITION_LOOKUP_TABLE, SEQUENCE_PREFIX } from '../constants';
import { hashString } from './utils/hashString';
import { DEFINITION_LOOKUP_TABLE } from '../constants';
import { hashSequence } from './utils/hashSequence';
export function resolveClassesBySlots(resolvedStyles, dir, renderer) {

@@ -8,3 +8,3 @@ var resolvedClasses = {};

var slotClasses = renderer.insertDefinitions(dir, resolvedStyles[slotName]);
var sequenceHash = SEQUENCE_PREFIX + hashString(slotClasses);
var sequenceHash = hashSequence(slotClasses, dir);
var resultSlotClasses = sequenceHash + ' ' + slotClasses;

@@ -11,0 +11,0 @@ DEFINITION_LOOKUP_TABLE[sequenceHash] = [resolvedStyles[slotName], dir];

{
"name": "@fluentui/make-styles",
"version": "9.0.0-alpha.14",
"version": "9.0.0-alpha.15",
"description": "Experimental utility for creating css styles/classes.",

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

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