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

@types/callsite

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/callsite - npm Package Compare versions

Comparing version 1.0.30 to 1.0.31

callsite/LICENSE

2

callsite/index.d.ts
// Type definitions for callsite 1.0.0
// Project: https://github.com/tj/callsite
// Definitions by: newclear <https://github.com/newclear>
// Definitions: https://github.com/newclear/DefinitelyTyped
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -6,0 +6,0 @@

{
"name": "@types/callsite",
"version": "1.0.30",
"description": "TypeScript definitions for callsite 1.0.0",
"version": "1.0.31",
"description": "TypeScript definitions for callsite",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/callsite",
"license": "MIT",
"author": "newclear <https://github.com/newclear>",
"contributors": [
{
"name": "newclear",
"url": "https://github.com/newclear",
"githubUsername": "newclear"
}
],
"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/callsite"
},
"scripts": {},
"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "aedd4462ebd1537408744cb76c7e8060bc1fe4285b1b2cbbc5da2f314c41b6f9"
"typesPublisherContentHash": "86332a666a8912e23840fba6512d52ea7a344ac0057b970652b58fc7d48353dc",
"typeScriptVersion": "3.6"
}

@@ -5,15 +5,46 @@ # Installation

# Summary
This package contains type definitions for callsite 1.0.0 (https://github.com/tj/callsite).
This package contains type definitions for callsite (https://github.com/tj/callsite).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/callsite
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/callsite.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/callsite/index.d.ts)
````ts
// Type definitions for callsite 1.0.0
// Project: https://github.com/tj/callsite
// Definitions by: newclear <https://github.com/newclear>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Mon, 19 Sep 2016 16:15:23 GMT
* File structure: ProperModule
* Library Dependencies: none
* Module Dependencies: none
* Global values: Callsite
declare namespace Callsite {
interface CallSite {
getThis(): any;
getTypeName(): string;
getFunctionName(): string;
getMethodName(): string;
getFileName(): string;
getLineNumber(): number;
getColumnNumber(): number;
getFunction(): Function;
getEvalOrigin(): string;
isNative(): boolean;
isToplevel(): boolean;
isEval(): boolean;
isConstructor(): boolean;
}
}
declare function Callsite(): Callsite.CallSite[];
export = Callsite;
````
### Additional Details
* Last updated: Fri, 09 Jul 2021 02:32:22 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by newclear <https://github.com/newclear>.
These definitions were written by [newclear](https://github.com/newclear).
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