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

@lskjs/utils2

Package Overview
Dependencies
Maintainers
11
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lskjs/utils2 - npm Package Compare versions

Comparing version 3.0.0-alpha.8 to 3.0.0-alpha.10

2

lib/importFn.d.ts
declare const importFn: (fn: any) => Promise<any>;
export { importFn as default };
export { importFn as default, importFn };

@@ -1,2 +0,2 @@

"use strict";var n=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var y=(t,a)=>{for(var o in a)n(t,o,{get:a[o],enumerable:!0})},p=(t,a,o,r)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of c(a))!f.call(t,e)&&e!==o&&n(t,e,{get:()=>a[e],enumerable:!(r=l(a,e))||r.enumerable});return t};var d=t=>p(n({},"__esModule",{value:!0}),t);var x={};y(x,{default:()=>m});module.exports=d(x);var s=t=>typeof t=="function"&&(t.toString().indexOf("_classCallCheck")!==-1||/^\s*class\s+/.test(t.toString()));var i=async t=>{let a=await t;return a.__esModule?a.default:a};var u=async t=>{let a=await(typeof t=="function"&&!s(t)?t():t);if(!Array.isArray(a))return i(a);let[o,...r]=a;return[await u(o),...r]},m=u;0&&(module.exports={});
"use strict";var n=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var p=(t,a)=>{for(var o in a)n(t,o,{get:a[o],enumerable:!0})},y=(t,a,o,r)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of c(a))!f.call(t,e)&&e!==o&&n(t,e,{get:()=>a[e],enumerable:!(r=l(a,e))||r.enumerable});return t};var d=t=>y(n({},"__esModule",{value:!0}),t);var x={};p(x,{default:()=>m,importFn:()=>s});module.exports=d(x);var i=t=>typeof t=="function"&&(t.toString().indexOf("_classCallCheck")!==-1||/^\s*class\s+/.test(t.toString()));var u=async t=>{let a=await t;return a.__esModule?a.default:a};var s=async t=>{let a=await(typeof t=="function"&&!i(t)?t():t);if(!Array.isArray(a))return u(a);let[o,...r]=a;return[await s(o),...r]},m=s;0&&(module.exports={importFn});
//# sourceMappingURL=importFn.js.map
export { map as asyncMap } from 'fishbird';
export { asyncMapValues } from './asyncMapValues.js';
export { default as asyncProps } from './asyncProps.js';
export { default as importFn } from './importFn.js';
export { default as isClass } from './isClass.js';
export { default as undefault } from './undefault.js';
import 'fishbird/lib/props';

@@ -1,2 +0,2 @@

"use strict";var a=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var x=(o,t)=>{for(var e in t)a(o,e,{get:t[e],enumerable:!0})},y=(o,t,e,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!l.call(o,r)&&r!==e&&a(o,r,{get:()=>t[r],enumerable:!(p=c(t,r))||p.enumerable});return o};var d=o=>y(a({},"__esModule",{value:!0}),o);var M={};x(M,{asyncMap:()=>n.map,asyncMapValues:()=>C,asyncProps:()=>s,isClass:()=>i,undefault:()=>m});module.exports=d(M);var n=require("fishbird");var f=require("fishbird"),s=f.props;var C=s;var i=o=>typeof o=="function"&&(o.toString().indexOf("_classCallCheck")!==-1||/^\s*class\s+/.test(o.toString()));var m=async o=>{let t=await o;return t.__esModule?t.default:t};0&&(module.exports={asyncMap,asyncMapValues,asyncProps,isClass,undefault});
"use strict";var s=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var y=(o,t)=>{for(var r in t)s(o,r,{get:t[r],enumerable:!0})},d=(o,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of l(t))!x.call(o,e)&&e!==r&&s(o,e,{get:()=>t[e],enumerable:!(a=u(t,e))||a.enumerable});return o};var C=o=>d(s({},"__esModule",{value:!0}),o);var P={};y(P,{asyncMap:()=>i.map,asyncMapValues:()=>M,asyncProps:()=>p,importFn:()=>c,isClass:()=>n,undefault:()=>f});module.exports=C(P);var i=require("fishbird");var m=require("fishbird"),p=m.props;var M=p;var n=o=>typeof o=="function"&&(o.toString().indexOf("_classCallCheck")!==-1||/^\s*class\s+/.test(o.toString()));var f=async o=>{let t=await o;return t.__esModule?t.default:t};var c=async o=>{let t=await(typeof o=="function"&&!n(o)?o():o);if(!Array.isArray(t))return f(t);let[r,...a]=t;return[await c(r),...a]};0&&(module.exports={asyncMap,asyncMapValues,asyncProps,importFn,isClass,undefault});
//# sourceMappingURL=index.js.map
{
"name": "@lskjs/utils2",
"version": "3.0.0-alpha.8",
"version": "3.0.0-alpha.10",
"description": "LSK.js – utils – helpers and functions",

@@ -14,3 +14,3 @@ "author": "Igor Suvorov <hi@isuvorov.com>",

"dependencies": {
"@lskjs/lodash": "^3.0.0-alpha.8",
"@lskjs/lodash": "^3.0.0-alpha.10",
"fishbird": "^0.19.0"

@@ -26,14 +26,10 @@ },

".": {
"default": "./lib/index.js",
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"node": "./lib/index.js",
"types": "./lib/index.d.ts"
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./*": {
"default": "./lib/*.js",
"require": "./lib/*.js",
"import": "./lib/*.mjs",
"node": "./lib/*.js",
"types": "./lib/*.d.ts"
"types": "./lib/*.d.ts",
"default": "./lib/*.js"
}

@@ -54,6 +50,6 @@ },

"path": "lib/index.js",
"limit": "1.5kb"
"limit": "1.6kb"
}
],
"gitHead": "5f9efd957da88f515074b7c05111d711d3128b0f"
"gitHead": "7a41ea3b5002b384dfe95b5fe4f1fbb104a0c145"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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