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

@neoskop/annotation-factory

Package Overview
Dependencies
Maintainers
12
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neoskop/annotation-factory - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

bundle/annotation-factory.bundle.js

@@ -91,8 +91,13 @@ (function (global, factory) {

var metaCtor = makeMetadataCtor(props);
function DecoratorFactory(objOrType) {
function DecoratorFactory() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var _a;
if (this instanceof DecoratorFactory) {
metaCtor.call(this, objOrType);
metaCtor.apply(this, args);
return this;
}
var instance = new DecoratorFactory(objOrType);
var instance = new ((_a = DecoratorFactory).bind.apply(_a, __spread([void 0], args)))();
var TypeDecorator = function TypeDecorator(cls) {

@@ -99,0 +104,0 @@ var annotations = cls.hasOwnProperty(ANNOTATIONS) ?

@@ -48,8 +48,13 @@ /**

var metaCtor = makeMetadataCtor(props);
function DecoratorFactory(objOrType) {
function DecoratorFactory() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var _a;
if (this instanceof DecoratorFactory) {
metaCtor.call(this, objOrType);
metaCtor.apply(this, args);
return this;
}
var instance = new DecoratorFactory(objOrType);
var instance = new ((_a = DecoratorFactory).bind.apply(_a, tslib_1.__spread([void 0], args)))();
var TypeDecorator = function TypeDecorator(cls) {

@@ -56,0 +61,0 @@ var annotations = cls.hasOwnProperty(ANNOTATIONS) ?

{
"name": "@neoskop/annotation-factory",
"version": "1.0.0",
"version": "1.0.1",
"description": "Factories for Typescript Annotations",

@@ -5,0 +5,0 @@ "main": "bundle/annotation-factory.bundle.js",

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