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

lanurite

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lanurite - npm Package Compare versions

Comparing version 1.0.41 to 1.0.42

2

package.json

@@ -40,3 +40,3 @@ {

"typings": "src/lanurite.d.ts",
"version": "1.0.41",
"version": "1.0.42",
"license": "MIT",

@@ -43,0 +43,0 @@ "repository": {

@@ -6,6 +6,5 @@ /// <reference types="lodash" />

import { Event } from "./Event";
import { Model } from "./Model";
declare class Collection<T extends Model> extends Event implements ICollection<T> {
declare class Collection<T extends IModel> extends Event implements ICollection<T> {
private _models;
constructor(array?: Array<T>);
constructor(array?: Array<any>);
private _init(array);

@@ -87,3 +86,3 @@ private _isModel(object);

*/
reset(array?: Array<T>): void;
reset(array?: Array<any>): void;
/**

@@ -90,0 +89,0 @@ * Get collection length

@@ -8,7 +8,7 @@ import * as _ from "lodash"

class Collection<T extends Model> extends Event implements ICollection<T> {
class Collection<T extends IModel> extends Event implements ICollection<T> {
private _models: any = {}
constructor(array: Array<T> = []) {
constructor(array: Array<any> = []) {
super()

@@ -185,3 +185,3 @@ this._init(array)

*/
public reset(array: Array<T> = []) {
public reset(array: Array<any> = []) {
this._clearCollection()

@@ -188,0 +188,0 @@ this._init(array)

@@ -10,3 +10,3 @@ /// <reference types="lodash" />

getAll(): Array<T>;
merge(collection: Array<T> | ICollection<T>): void;
merge(collection: Array<any> | ICollection<T>): void;
filter(predicate: any): Array<T>;

@@ -17,3 +17,3 @@ map(predicate: any): Array<T>;

find(predicate: any, start: number): T | undefined;
reset(array: Array<T>): void;
reset(array: Array<any>): void;
getLength(): number;

@@ -20,0 +20,0 @@ each(predicate: any): void;

@@ -11,3 +11,3 @@ import {Dictionary} from "lodash"

getAll(): Array<T>
merge(collection: Array<T> | ICollection<T>): void
merge(collection: Array<any> | ICollection<T>): void
filter(predicate: any): Array<T>

@@ -18,3 +18,3 @@ map(predicate: any): Array<T>

find(predicate: any, start: number): T | undefined
reset(array: Array<T>): void
reset(array: Array<any>): void
getLength(): number

@@ -21,0 +21,0 @@ each(predicate: any): void

Sorry, the diff of this file is too big to display

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

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