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

@linaria/utils

Package Overview
Dependencies
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linaria/utils - npm Package Compare versions

Comparing version 3.0.0-beta.18 to 3.0.0-beta.19

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [3.0.0-beta.19](https://github.com/callstack/linaria/compare/v3.0.0-beta.18...v3.0.0-beta.19) (2022-06-03)
### Features
* **babel:** api for custom tags ([#976](https://github.com/callstack/linaria/issues/976)) ([3285ccc](https://github.com/callstack/linaria/commit/3285ccc1d00449b78b3fc74087528cd38cbdd116))
* **babel:** new way for detecting tag imports ([#974](https://github.com/callstack/linaria/issues/974)) ([3305cfb](https://github.com/callstack/linaria/commit/3305cfb0c0f65abdacceeb7e6bad118c59f7d551))
# [3.0.0-beta.18](https://github.com/callstack/linaria/compare/v3.0.0-beta.17...v3.0.0-beta.18) (2022-04-01)

@@ -8,0 +20,0 @@

1

esm/index.js

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

export { default as cx } from './cx';
export { default as slugify } from './slugify';
//# sourceMappingURL=index.js.map

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

/* eslint-disable no-plusplus */
/**

@@ -10,2 +12,18 @@ * This file contains a utility to generate hashes to be used as generated class names

*/
function UInt32(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8) + (str.charCodeAt(pos++) << 16) + (str.charCodeAt(pos) << 24);
}
function UInt16(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8);
}
function Umul32(n, m) {
n |= 0;
m |= 0;
const nlo = n & 0xffff;
const nhi = n >>> 16;
return nlo * m + ((nhi * m & 0xffff) << 16) | 0;
}
function doHash(str, seed = 0) {

@@ -53,19 +71,2 @@ const m = 0x5bd1e995;

function UInt32(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8) + (str.charCodeAt(pos++) << 16) + (str.charCodeAt(pos) << 24);
}
function UInt16(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8);
}
function Umul32(n, m) {
n |= 0;
m |= 0;
const nlo = n & 0xffff;
const nhi = n >>> 16;
const res = nlo * m + ((nhi * m & 0xffff) << 16) | 0;
return res;
}
function slugify(code) {

@@ -72,0 +73,0 @@ return doHash(code).toString(36);

@@ -6,8 +6,2 @@ "use strict";

});
Object.defineProperty(exports, "cx", {
enumerable: true,
get: function () {
return _cx.default;
}
});
Object.defineProperty(exports, "slugify", {

@@ -20,4 +14,2 @@ enumerable: true,

var _cx = _interopRequireDefault(require("./cx"));
var _slugify = _interopRequireDefault(require("./slugify"));

@@ -24,0 +16,0 @@

@@ -8,2 +8,4 @@ "use strict";

/* eslint-disable no-plusplus */
/**

@@ -18,2 +20,18 @@ * This file contains a utility to generate hashes to be used as generated class names

*/
function UInt32(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8) + (str.charCodeAt(pos++) << 16) + (str.charCodeAt(pos) << 24);
}
function UInt16(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8);
}
function Umul32(n, m) {
n |= 0;
m |= 0;
const nlo = n & 0xffff;
const nhi = n >>> 16;
return nlo * m + ((nhi * m & 0xffff) << 16) | 0;
}
function doHash(str, seed = 0) {

@@ -61,19 +79,2 @@ const m = 0x5bd1e995;

function UInt32(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8) + (str.charCodeAt(pos++) << 16) + (str.charCodeAt(pos) << 24);
}
function UInt16(str, pos) {
return str.charCodeAt(pos++) + (str.charCodeAt(pos++) << 8);
}
function Umul32(n, m) {
n |= 0;
m |= 0;
const nlo = n & 0xffff;
const nhi = n >>> 16;
const res = nlo * m + ((nhi * m & 0xffff) << 16) | 0;
return res;
}
function slugify(code) {

@@ -80,0 +81,0 @@ return doHash(code).toString(36);

{
"name": "@linaria/utils",
"version": "3.0.0-beta.18",
"version": "3.0.0-beta.19",
"publishConfig": {

@@ -19,2 +19,5 @@ "access": "public"

"repository": "git@github.com:callstack/linaria.git",
"engines": {
"node": "^12.16.0 || >=13.7.0"
},
"bugs": {

@@ -37,7 +40,6 @@ "url": "https://github.com/callstack/linaria/issues"

"prepare": "yarn build && yarn build:declarations",
"test": "jest --config ../../jest.config.js --rootDir .",
"typecheck": "tsc --noEmit --composite false",
"watch": "yarn build --watch"
},
"gitHead": "c3f093a3a7fb4e7c82d23e44adb19a94438da68c"
"gitHead": "73aab0a3908325333e452b9cbd5e438a0f1de463"
}

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

export { default as cx } from './cx';
export { default as slugify } from './slugify';
export type { LinariaClassName } from './cx';

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