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

thingies

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thingies - npm Package Compare versions

Comparing version 1.11.1 to 1.12.0

es2020/loadCss.d.ts

2

es2020/codeMutex.d.ts

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

import type { Code } from "./types";
import type { Code } from './types';
/**

@@ -3,0 +3,0 @@ * Executes only one instance of give code at a time. If other calls come in in

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

import type { Code } from "./types";
import type { Code } from './types';
/** Limits concurrency of async code. */
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>;

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

import type { Code } from "./types";
import type { Code } from './types';
/** Executes code concurrently. */
export declare const go: <T>(code: Code<T>) => void;

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

/** Executes code concurrently. */
const go = (code) => { code().catch(() => { }); };
const go = (code) => {
code().catch(() => { });
};
exports.go = go;

@@ -8,2 +8,3 @@ export * from './base64';

export * from './hash';
export * from './loadCss';
export * from './LruMap';

@@ -10,0 +11,0 @@ export * from './LruTtlMap';

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

tslib_1.__exportStar(require("./hash"), exports);
tslib_1.__exportStar(require("./loadCss"), exports);
tslib_1.__exportStar(require("./LruMap"), exports);

@@ -13,0 +14,0 @@ tslib_1.__exportStar(require("./LruTtlMap"), exports);

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

import type { Code } from "./types";
import type { Code } from './types';
/**

@@ -3,0 +3,0 @@ * Executes only one instance of give code at a time. If other calls come in in

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

import type { Code } from "./types";
import type { Code } from './types';
/** Limits concurrency of async code. */
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>;

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

import type { Code } from "./types";
import type { Code } from './types';
/** Executes code concurrently. */
export declare const go: <T>(code: Code<T>) => void;

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

/** Executes code concurrently. */
const go = (code) => { code().catch(() => { }); };
const go = (code) => {
code().catch(() => { });
};
exports.go = go;

@@ -8,2 +8,3 @@ export * from './base64';

export * from './hash';
export * from './loadCss';
export * from './LruMap';

@@ -10,0 +11,0 @@ export * from './LruTtlMap';

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

tslib_1.__exportStar(require("./hash"), exports);
tslib_1.__exportStar(require("./loadCss"), exports);
tslib_1.__exportStar(require("./LruMap"), exports);

@@ -13,0 +14,0 @@ tslib_1.__exportStar(require("./LruTtlMap"), exports);

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

import type { Code } from "./types";
import type { Code } from './types';
/**

@@ -3,0 +3,0 @@ * Executes only one instance of give code at a time. If other calls come in in

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

import type { Code } from "./types";
import type { Code } from './types';
/** Limits concurrency of async code. */
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>;

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

import type { Code } from "./types";
import type { Code } from './types';
/** Executes code concurrently. */
export declare const go: <T>(code: Code<T>) => void;

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

/** Executes code concurrently. */
const go = (code) => { code().catch(() => { }); };
const go = (code) => {
code().catch(() => { });
};
exports.go = go;

@@ -8,2 +8,3 @@ export * from './base64';

export * from './hash';
export * from './loadCss';
export * from './LruMap';

@@ -10,0 +11,0 @@ export * from './LruTtlMap';

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

tslib_1.__exportStar(require("./hash"), exports);
tslib_1.__exportStar(require("./loadCss"), exports);
tslib_1.__exportStar(require("./LruMap"), exports);

@@ -13,0 +14,0 @@ tslib_1.__exportStar(require("./LruTtlMap"), exports);

{
"name": "thingies",
"version": "1.11.1",
"version": "1.12.0",
"description": "",

@@ -5,0 +5,0 @@ "author": {

@@ -92,5 +92,10 @@ # thingies

---
- `loadCss` &mdash; loads a CSS file into the DOM, given a URL. Does nothing on the
server.
## License
[MIT © Vadim Dalecky](LICENSE).
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