New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

parsegraph-method

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parsegraph-method - npm Package Compare versions

Comparing version 1.4.22 to 1.4.23-dev

parsegraph-method/dist/src/demo.d.ts

105

parsegraph-method/dist/src/index.js

@@ -1,1 +0,104 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.parsegraph_method=e():t.parsegraph_method=e()}(this,(function(){return(()=>{"use strict";var t={d:(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>n});var o=function(){function t(t,e){this.set(t,e)}return t.prototype.canCall=function(){return null!=this._func},t.prototype.clear=function(){this.set(null,null)},t.prototype.set=function(t,e){this._func=t,this._funcThisArg=e},t.prototype.call=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.canCall())return this._func.apply(this._funcThisArg,t)},t.prototype.apply=function(t){if(this.canCall())return this._func.apply(this._funcThisArg,t)},t}();const n=o;return e})()}));
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["parsegraph_method"] = factory();
else
root["parsegraph_method"] = factory();
})(this, function() {
return /******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
/*!**********************!*\
!*** ./src/index.ts ***!
\**********************/
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
var Method =
/** @class */
function () {
function Method(func, funcThisArg) {
this.set(func, funcThisArg);
}
Method.prototype.canCall = function () {
return this._func != null;
};
Method.prototype.clear = function () {
this.set(null, null);
};
Method.prototype.set = function (func, funcThisArg) {
this._func = func;
this._funcThisArg = funcThisArg;
};
Method.prototype.call = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
if (!this.canCall()) {
return;
}
return this._func.apply(this._funcThisArg, args);
};
Method.prototype.apply = function (args) {
if (!this.canCall()) {
return;
}
return this._func.apply(this._funcThisArg, args);
};
return Method;
}();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Method);
/******/ return __webpack_exports__;
/******/ })()
;
});
//# sourceMappingURL=index.js.map

2

parsegraph-method/package.json
{
"name": "parsegraph-method",
"version": "1.4.22",
"version": "1.4.23-dev",
"description": "An object that holds a function",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

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