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

angular-sortablejs

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-sortablejs - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

8

dist/src/sortablejs.directive.js

@@ -31,3 +31,2 @@ import { Directive, ElementRef, Input, NgZone } from '@angular/core';

if (currentOptions_1[optionName] !== previousOptions_1[optionName]) {
// use low-level option setter
_this._sortable.option(optionName, currentOptions_1[optionName]);

@@ -54,3 +53,2 @@ }

Object.defineProperty(SortablejsDirective.prototype, "bindingEnabled", {
// returns whether the items are currently set
get: function () {

@@ -63,6 +61,3 @@ return !!this.items;

Object.defineProperty(SortablejsDirective.prototype, "isItemsFormArray", {
// we need this to identify that the input is a FormArray
// we don't want to have a dependency on @angular/forms just for that
get: function () {
// just checking for random FormArray methods not available on a standard array
return !!this.items.at && !!this.items.insert && !!this.items.reset;

@@ -76,4 +71,2 @@ },

var _this = this;
// always intercept standard events but act only in case items are set (bindingEnabled)
// allows to forget about tracking this.items changes
return {

@@ -134,3 +127,2 @@ onAdd: function (event) {

];
/** @nocollapse */
SortablejsDirective.ctorParameters = function () { return [

@@ -137,0 +129,0 @@ { type: SortablejsService, },

1

dist/src/sortablejs.module.js

@@ -27,4 +27,3 @@ import { NgModule } from '@angular/core';

];
/** @nocollapse */
SortablejsModule.ctorParameters = function () { return []; };
//# sourceMappingURL=sortablejs.module.js.map
export declare class SortablejsService {
constructor();
onremove: (item: any) => void;
}

3

dist/src/sortablejs.service.js

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

import { Injectable } from "@angular/core";
import { Injectable } from '@angular/core';
var SortablejsService = (function () {

@@ -11,4 +11,3 @@ function SortablejsService() {

];
/** @nocollapse */
SortablejsService.ctorParameters = function () { return []; };
//# sourceMappingURL=sortablejs.service.js.map

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

[{"__symbolic":"module","version":3,"metadata":{"SortablejsService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}}}},{"__symbolic":"module","version":1,"metadata":{"SortablejsService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"SortablejsService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]}}},{"__symbolic":"module","version":1,"metadata":{"SortablejsService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]}}}]
{
"name": "angular-sortablejs",
"version": "2.0.3",
"version": "2.0.4",
"description": "SortableJS for Angular",

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

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