Socket
Socket
Sign inDemoInstall

@types/stylus

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/stylus - npm Package Compare versions

Comparing version 0.48.37 to 0.48.38

6

stylus/index.d.ts
// Type definitions for stylus 0.48
// Project: https://github.com/stylus/stylus
// Definitions by: Maxime LUCE <https://github.com/SomaticIT>
// Daniel Moore <https://github.com/STRd6>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -16,3 +17,3 @@ // TypeScript Version: 2.2

declare namespace stylus {
declare namespace stylus {
interface RenderOptions {

@@ -75,3 +76,6 @@ globals?: Stylus.Dictionary<any> | undefined;

* Render the given `str` with `options` and callback `fn(err, css)`.
* Returns the rendered string if no callback is given.
*/
render(str: string): string;
render(str: string, options: stylus.RenderOptions): string;
render(str: string, callback: stylus.RenderCallback): void;

@@ -78,0 +82,0 @@ render(str: string, options: stylus.RenderOptions, callback: stylus.RenderCallback): void;

9

stylus/package.json
{
"name": "@types/stylus",
"version": "0.48.37",
"version": "0.48.38",
"description": "TypeScript definitions for stylus",

@@ -12,2 +12,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stylus",

"githubUsername": "SomaticIT"
},
{
"name": "Daniel Moore",
"url": "https://github.com/STRd6",
"githubUsername": "STRd6"
}

@@ -26,4 +31,4 @@ ],

},
"typesPublisherContentHash": "ad1ce36487e3496de2663310026ff81ccdf489428287fa7a3347a7be56187af0",
"typesPublisherContentHash": "9857279c60d69b29be665c80cfb5f91619d82f9e3cb95348455081db06f59c8f",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 28 Mar 2022 16:01:45 GMT
* Last updated: Wed, 11 May 2022 00:01:38 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Maxime LUCE](https://github.com/SomaticIT).
These definitions were written by [Maxime LUCE](https://github.com/SomaticIT), and [Daniel Moore](https://github.com/STRd6).
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