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

@agconnect/core

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agconnect/core - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0-beta

6

dist/index.d.ts

@@ -8,1 +8,7 @@ export declare const DEFAULT_CATEGORY = "[DEFAULT_CATEGORY]";

}
export declare class InstanceMap<T> {
private factory;
private instanceMap;
constructor(creator: (args: any[]) => T);
get(args?: any): T;
}

2

dist/index.esm.js

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

var t="[DEFAULT_CATEGORY]",n=function(){function t(t){this.factory=t}return t.prototype.get=function(){return null==this.instance&&(this.instance=this.factory()),this.instance},t}();export{t as DEFAULT_CATEGORY,n as Singleton};
var t="[DEFAULT_CATEGORY]",n=function(){function t(t){this.factory=t}return t.prototype.get=function(){return null==this.instance&&(this.instance=this.factory()),this.instance},t}(),i=function(){function t(t){this.instanceMap={},this.factory=t}return t.prototype.get=function(t){if(t&&Array.isArray(t)&&t.length>=1)return this.instanceMap[t[0]]||(this.instanceMap[t[0]]=this.factory(t)),this.instanceMap[t[0]];var n=new Array;return n[0]="[DEFAULT_CATEGORY]",this.get(n)},t}();export{t as DEFAULT_CATEGORY,i as InstanceMap,n as Singleton};

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function t(t){this.factory=t}return t.prototype.get=function(){return null==this.instance&&(this.instance=this.factory()),this.instance},t}();exports.DEFAULT_CATEGORY="[DEFAULT_CATEGORY]",exports.Singleton=t;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function t(t){this.factory=t}return t.prototype.get=function(){return null==this.instance&&(this.instance=this.factory()),this.instance},t}(),n=function(){function t(t){this.instanceMap={},this.factory=t}return t.prototype.get=function(t){if(t&&Array.isArray(t)&&t.length>=1)return this.instanceMap[t[0]]||(this.instanceMap[t[0]]=this.factory(t)),this.instanceMap[t[0]];var n=new Array;return n[0]="[DEFAULT_CATEGORY]",this.get(n)},t}();exports.DEFAULT_CATEGORY="[DEFAULT_CATEGORY]",exports.InstanceMap=n,exports.Singleton=t;
{
"name": "@agconnect/core",
"version": "1.2.1",
"description": "@agconnect/core",
"version": "1.3.0-beta",
"description": "agconnect core",
"main": "./dist/index.node.cjs.js",

@@ -16,3 +16,3 @@ "module": "./dist/index.esm.js",

"rollup-plugin-terser": "^5.3.1",
"rollup-plugin-typescript2": "^0.29.0",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.0.5"

@@ -19,0 +19,0 @@ },

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