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

@plumier/reflect

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plumier/reflect - npm Package Compare versions

Comparing version 1.0.3-canary.3 to 1.0.3-canary.6

2

lib/parser.d.ts

@@ -21,3 +21,3 @@ import { Class, ClassReflection, FunctionReflection } from "./types";

declare function parseFunction(fn: Function): FunctionReflection;
declare function parseClass(fn: Class): ClassReflection;
declare const parseClass: (x: Class<any>) => ClassReflection;
export { parseClass, parseFunction, getMethodParameters, getConstructorParameters, getFunctionParameters, getClassMembers };

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

const acorn_1 = require("acorn");
const helpers_1 = require("./helpers");
const storage_1 = require("./storage");

@@ -169,3 +170,3 @@ const types_1 = require("./types");

}
function parseClass(fn) {
function parseClassNoCache(fn) {
const proto = Object.getPrototypeOf(fn);

@@ -180,2 +181,4 @@ return {

}
const cacheStore = new Map();
const parseClass = helpers_1.useCache(cacheStore, parseClassNoCache, x => x);
exports.parseClass = parseClass;
{
"name": "@plumier/reflect",
"version": "1.0.3-canary.3+bac445e",
"version": "1.0.3-canary.6+aca5751",
"description": "Plumier reflection module",

@@ -42,3 +42,3 @@ "main": "lib/index.js",

},
"gitHead": "bac445e8acee4c72e2c4096f74b6341549d80373"
"gitHead": "aca5751382bb81bf264df5fbc7dc27df15943874"
}
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