Comparing version 0.0.14 to 0.1.0
@@ -11,6 +11,6 @@ export * from "./decorators/ng-module"; | ||
export declare function Inject(dependencyName: string | Ng1ShiftInjectableObject): ParameterDecorator; | ||
export declare class EventEmitter { | ||
export declare class EventEmitter<T = any> { | ||
private listeners; | ||
emit(event?: any): void; | ||
subscribe(callback: Function): void; | ||
emit(event?: T): void; | ||
subscribe(callback: (event?: T) => void): void; | ||
} |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global['ng1-shift'] = {})); | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ng1-shift'] = {})); | ||
}(this, (function (exports) { 'use strict'; | ||
@@ -136,14 +136,14 @@ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
Copyright (c) Microsoft Corporation. | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */ | ||
@@ -399,3 +399,2 @@ | ||
EventEmitter.prototype.emit = function (event) { | ||
if (event === void 0) { event = null; } | ||
this.listeners.forEach(function (callback) { return callback.call(null, event); }); | ||
@@ -402,0 +401,0 @@ }; |
{ | ||
"name": "ng1-shift", | ||
"version": "0.0.14", | ||
"version": "0.1.0", | ||
"description": "Angular 1.5+ decorators for writing Angular2 like.", | ||
@@ -50,24 +50,24 @@ "files": [ | ||
"angular": "^1.5.0", | ||
"typescript": "^3.8.3", | ||
"typescript": "^4.0.5", | ||
"tslib": "^1.11.1" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-typescript": "^4.0.0", | ||
"@types/angular": "^1.6.42", | ||
"@types/jest": "^23.3.2", | ||
"@rollup/plugin-typescript": "^6.1.0", | ||
"@types/angular": "^1.8.0", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^13.9.2", | ||
"fsevents": "^2.1.2", | ||
"jest": "^23.6.0", | ||
"jest": "^26.6.3", | ||
"onchange": "^5.0.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.1.0", | ||
"rollup": "^2.33.3", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-sourcemaps": "^0.5.0", | ||
"rollup-plugin-typescript2": "^0.26.0", | ||
"ts-jest": "^23.10.3", | ||
"rollup-plugin-sourcemaps": "^0.6.3", | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"ts-jest": "^26.4.4", | ||
"tslib": "^1.11.1", | ||
"tslint": "^5.9.1", | ||
"typescript": "^3.8.3" | ||
"typescript": "^4.0.5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
55561
548
1