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

@types/shimmer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/shimmer - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

shimmer/index.d.ts

@@ -9,3 +9,3 @@ // Type definitions for Shimmer 1.x

interface Function {
__wrapped?: boolean;
__wrapped?: boolean | undefined;
}

@@ -12,0 +12,0 @@ }

{
"name": "@types/shimmer",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for Shimmer",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer",
"license": "MIT",

@@ -14,10 +15,12 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/shimmer"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "a910c9df13d29060afe131feef552b68bde96d877b7499f4ce16a1ca7ba2558f",
"typeScriptVersion": "2.2"
"typesPublisherContentHash": "af00decad6659a07e970e65aadcf2890d274cd5b583eb4090f7e3ae8b324755a",
"typeScriptVersion": "3.6"
}

@@ -8,6 +8,45 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer/index.d.ts)
````ts
// Type definitions for Shimmer 1.x
// Project: https://github.com/othiym23/shimmer
// Definitions by: Kelvin Jin <https://github.com/kjin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
Additional Details
* Last updated: Thu, 01 Mar 2018 18:48:33 GMT
declare global {
interface Function {
__wrapped?: boolean | undefined;
}
}
declare const shimmer: {
(options: { logger?(msg: string): void }): void;
wrap<Nodule extends object, FieldName extends keyof Nodule>(
nodule: Nodule,
name: FieldName,
wrapper: (original: Nodule[FieldName]) => Nodule[FieldName]
): void;
massWrap<Nodule extends object, FieldName extends keyof Nodule>(
nodules: Nodule[],
names: FieldName[],
wrapper: (original: Nodule[FieldName]) => Nodule[FieldName]
): void;
unwrap<Nodule extends object>(
nodule: Nodule,
name: keyof Nodule
): void;
massUnwrap<Nodule extends object>(
nodules: Nodule[],
names: Array<keyof Nodule>
): void;
};
export = shimmer;
````
### Additional Details
* Last updated: Tue, 06 Jul 2021 16:34:43 GMT
* Dependencies: none

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

# Credits
These definitions were written by Kelvin Jin <https://github.com/kjin>.
These definitions were written by [Kelvin Jin](https://github.com/kjin).

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