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

is-reference

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-reference - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

types/index.d.ts.map

5

package.json
{
"name": "is-reference",
"version": "3.0.1",
"version": "3.0.2",
"description": "Determine whether an AST node is a reference",

@@ -18,3 +18,3 @@ "type": "module",

"test": "uvu",
"prepublishOnly": "npm test && tsc"
"prepublishOnly": "npm test && dts-buddy"
},

@@ -44,2 +44,3 @@ "repository": {

"acorn-static-class-features": "^1.0.0",
"dts-buddy": "^0.2.4",
"estree-walker": "^3.0.0",

@@ -46,0 +47,0 @@ "typescript": "^4.1.5",

30

types/index.d.ts

@@ -1,19 +0,11 @@

/** @typedef { import('estree').Node} Node */
/** @typedef {Node | {
* type: 'PropertyDefinition';
* computed: boolean;
* value: Node
* }} NodeWithPropertyDefinition */
/**
*
* @param {NodeWithPropertyDefinition} node
* @param {NodeWithPropertyDefinition} parent
* @returns {boolean}
*/
export default function is_reference(node: NodeWithPropertyDefinition, parent: NodeWithPropertyDefinition): boolean;
export type Node = import('estree').Node;
export type NodeWithPropertyDefinition = Node | {
type: 'PropertyDefinition';
computed: boolean;
value: Node;
};
declare module 'is-reference' {
export default function is_reference(node: NodeWithPropertyDefinition, parent: NodeWithPropertyDefinition): boolean;
export type Node = import('estree').Node;
export type NodeWithPropertyDefinition = Node | {
type: 'PropertyDefinition';
computed: boolean;
value: Node;
};
}
//# sourceMappingURL=index.d.ts.map
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