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

angular2-now

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-now - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

.npm/package/npm-shrinkwrap.json
{
"dependencies": {
"angular2-now": {
"version": "1.1.0"
"version": "1.1.3"
}
}
}

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

/*! angular2-now v1.1.2 */
/*! angular2-now v1.1.3 */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

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

/*! angular2-now v1.1.2 */
/*! angular2-now v1.1.3 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.angular2now=t():e.angular2now=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(){o.common.isCordova="undefined"!=typeof cordova,o.common.angularModule=angular.module}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),c=n(2),l=n(3),a=n(7),u=n(8),i=n(4),s=n(5),p=n(9),d=n(10),m=n(11),f=n(12),v=n(13),g=n(14),y=n(15),j=n(16),M=n(17),h={init:r,SetModule:c.SetModule,Component:l.Component,ScopeShared:a.ScopeShared,ScopeNew:u.ScopeNew,View:i.View,Inject:s.Inject,Controller:p.Controller,Service:d.Service,Filter:m.Filter,bootstrap:f.bootstrap,State:v.State,options:g.options,Options:g.Options,MeteorMethod:y.MeteorMethod,MeteorReactive:j.MeteorReactive,LocalInjectables:M.LocalInjectables,Directive:l.Component,Injectable:d.Service};"undefined"==typeof Meteor&&r(),"undefined"!=typeof window&&(window.angular2now=h),t["default"]=h,e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={angularModule:void 0,currentModule:void 0,currentNameSpace:void 0,isCordova:!1,ng2nOptions:{currentModule:function(){return n.currentModule}},controllerAs:void 0,$q:angular.injector(["ng"]).get("$q")};t.common=n},function(e,t,n){"use strict";function r(){return o.common.currentModule=arguments[0].split(":"),1===o.common.currentModule.length?o.common.currentModule=o.common.currentModule[0]:(o.common.currentNameSpace=o.common.currentModule[0],o.common.currentModule=o.common.currentModule[1],arguments[0]=o.common.currentModule),o.common.angularModule.apply(angular,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.SetModule=r;var o=n(1)},function(e,t,n){"use strict";function r(e){return e=e||{},"string"==typeof e&&(e={selector:e}),function(t){function n(){for(var e=this,n=[],r=arguments.length,o=Array(r),c=0;r>c;c++)o[c]=arguments[c];var l=o;if(t.meteorReactive){var a=l[0],u=l[1];a(e).attach(u),n=l.slice(0,2),l=l.slice(2),t.$inject=t.$inject.slice(2)}t.localInjectables&&t.$inject.forEach(function(t,n){e[t]=l[n]}),this.$$init.apply(this,l),n.length>0&&(t.$inject=["$reactive","$scope"].concat(t.$inject),l.unshift(n[1]),l.unshift(n[0]))}function r(e,t){var n=e.prototype,r=e.prototype.constructor,o={};for(var c in e)e.hasOwnProperty(c)&&(o[c]=e[c]);e=t,e.prototype=n;for(var c in o)e[c]=o[c];return e.prototype.$$init=r,e}function u(e,t,n,r){r[0].$dependson&&r[0].$dependson.apply(r[0],r.slice(1))}var i=!1;t=r(t,n),e.injectables&&e.injectables instanceof Array&&(t=(0,c.Inject)(e.injectables)(t)),e.services&&e.services instanceof Array&&(t=(0,c.Inject)(e.services)(t)),e.providers&&e.providers instanceof Array&&(t=(0,c.Inject)(e.providers)(t)),e.selector=(0,a.camelCase)(e.selector||"")+"","."===e.selector[0]&&(i=!0,e.selector=e.selector.slice(1)),t.selector=(0,a.unCamelCase)(e.selector),(e.template||e.templateUrl||e.transclude||e.directives)&&(0,o.View)(e)(t),e.template=t.template||void 0,e.templateUrl=t.templateUrl||void 0;var s=[e.selector];t.$inject=t.$inject||[],t.$inject=t.$inject.map(function(e){return/^@[^]{0,2}/.test(e[0])&&(s.push("?"+e.slice(1)),e="delete-me"),e}),t.$inject=t.$inject.filter(function(e){return"delete-me"!==e}),t.meteorReactive&&(t.$inject.unshift("$scope"),t.$inject.unshift("$reactive")),t.$injectDefer=t.$inject||[];var p={controllerAs:e.controllerAs||l.common.controllerAs||t.controllerAs||e.selector,bindToController:"boolean"==typeof t.bindToController?t.bindToController:!0,restrict:e.template+e.templateUrl?"EA":i?"C":"A",scope:{},template:e.template,templateUrl:e.templateUrl,controller:t,replace:e.replace||!1,transclude:/ng-transclude/i.test(e.template)||t.transclude,require:e.require||t.require||s,link:e.link||t.link||u};e.restrict&&(p.restrict=e.restrict),t.hasOwnProperty("scope")?p.scope=t.scope:e.hasOwnProperty("scope")?p.scope=e.scope:e.bind&&(p.scope=e.bind);try{angular.module(l.common.currentModule).directive(e.selector,function(){return p})}catch(d){throw new Error('Does module "'+l.common.currentModule+'" exist? You may need to use SetModule("youModuleName").')}return t}}Object.defineProperty(t,"__esModule",{value:!0}),t.Component=r;var o=n(4),c=n(5),l=n(1),a=n(6)},function(e,t){"use strict";function n(e){function t(e){var t=(e||"").match(/\<content[ >]([^\>]+)/i);return t&&-1===t[1].toLowerCase().indexOf("ng-transclude")&&(e=e.replace(/\<content/i,"<content ng-transclude")),e}return e=e||{},"string"==typeof e&&(e={templateUrl:e}),function(n){return n.template=e.template||n.template,n.templateUrl=e.templateUrl||n.templateUrl,n.transclude=e.transclude||n.transclude,n.directives=e.directives||n.directives,n.template&&(n.template=t(n.template)),n}}Object.defineProperty(t,"__esModule",{value:!0}),t.View=n},function(e,t,n){"use strict";function r(){for(var e=void 0,t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];if(e=n[0]instanceof Array?n[0]:n,0===e.length)throw new Error("@Inject: No dependencies passed in");return function(t,n,r){var c=t;if(r&&(c=r.value),!c)throw new TypeError("@Inject can only be used with classes or class methods.");var l=c.$inject;return c.$inject=[],e.forEach(function(e){"$"!==e[0]&&"@"!==e[0]&&-1===e.indexOf("_")&&(e=(0,o.nameSpace)(e)),-1===c.$inject.indexOf(e)&&c.$inject.push(e)}),l&&(c.$inject=c.$inject.concat(l)),r||t}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inject=r;var o=n(6)},function(e,t,n){"use strict";function r(e){return u.common.currentNameSpace?u.common.currentNameSpace+"_"+e:e}function o(e,t){return angular.module(t||u.common.currentModule)._invokeQueue.filter(function(t){return"$provide"===t[0]&&t[2][0]===e})[0]}function c(e){return!!o(e)}function l(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function a(e){var t=e.replace(/([A-Z])/g,"-$1").replace(/--/g,"-").toLowerCase();return"-"===t[0]?t.slice(1):t}Object.defineProperty(t,"__esModule",{value:!0}),t.nameSpace=r,t.getService=o,t.serviceExists=c,t.camelCase=l,t.unCamelCase=a;var u=n(1)},function(e,t){"use strict";function n(e){return e.scope=void 0,e}Object.defineProperty(t,"__esModule",{value:!0}),t.ScopeShared=n},function(e,t){"use strict";function n(e){return e.scope=!0,e}Object.defineProperty(t,"__esModule",{value:!0}),t.ScopeNew=n},function(e,t,n){"use strict";function r(e){return e=e||{},"string"==typeof e&&(e={name:e}),function(t){return angular.module(o.common.currentModule).controller((0,c.nameSpace)(e.name),t),t}}Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=r;var o=n(1),c=n(6)},function(e,t,n){"use strict";function r(e){return e=e||{},"string"==typeof e&&(e={name:e}),function(t){return angular.module(o.common.currentModule).service((0,c.nameSpace)(e.name),t),t}}Object.defineProperty(t,"__esModule",{value:!0}),t.Service=r;var o=n(1),c=n(6)},function(e,t,n){"use strict";function r(e){return e=e||{},"string"==typeof e&&(e={name:e}),function(t){function n(){var e=Array.prototype.slice.call(arguments),n=new(Function.prototype.bind.apply(t,[null].concat(e)));return n}return n.$inject=t.$inject,angular.module(o.common.currentModule).filter((0,c.nameSpace)(e.name),n),t}}Object.defineProperty(t,"__esModule",{value:!0}),t.Filter=r;var o=n(1),c=n(6)},function(e,t,n){"use strict";function r(e,t){function n(){var n=void 0;n=r?document.body:document.querySelector(e.selector),angular.bootstrap(n,[c],t)}var r=!1;(!e||e&&!e.selector&&"function"==typeof e)&&(e={selector:o.common.currentModule},r=!0),"string"==typeof e&&(e={selector:e}),e.bootstrap=!0;var c=e.selector||o.common.currentModule;c!==o.common.currentModule&&angular.module(c),t||(t={strictDi:!1}),o.common.isCordova?angular.element(document).on("deviceready",n):angular.element(document).ready(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.bootstrap=r;var o=n(1)},function(e,t,n){"use strict";function r(e){if(!(e&&e instanceof Object&&void 0!==e.name))throw new Error("@State: Valid options are: name, url, defaultRoute, template, templateUrl, templateProvider, resolve, abstract, parent, data.");return function(t){var n=void 0,r=(0,c.nameSpace)((0,c.camelCase)(t.selector||(e.name+"").replace(".","-"))),l=!1,a=e.resolve||t.resolve;return a&&a instanceof Object&&(n=Object.keys(a),n.length&&(l=!0)),l&&((0,c.serviceExists)(r)||angular.module(o.common.currentModule).value(r,{})),angular.module(o.common.currentModule).config(["$urlRouterProvider","$stateProvider","$locationProvider",function(c,u,i){function s(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];var o=t[0];t=t.slice(1),n.slice(1).forEach(function(e,n){o[e]=t[n]})}e.defaultRoute&&c.otherwise("string"==typeof e.defaultRoute?e.defaultRoute:e.url),"undefined"!=typeof e.html5Mode&&i.html5Mode(e.html5Mode);var p=e.controller||(t.selector?void 0:t);p&&p.$inject&&p.$inject.length&&n&&n.length&&n.forEach(function(e){var t=p.$inject.indexOf(o.common.currentNameSpace+"_"+e);-1!==t&&(p.$inject[t]=e)});var d={url:e.url,params:e.params,"abstract":e["abstract"],templateUrl:e.templateUrl,template:(t.template||t.templateUrl)&&!t.bootstrap&&t.selector?t.selector.replace(/^(.*)$/,"<$1></$1>"):'<div ui-view=""></div>',templateProvider:e.templateProvider,resolve:a,controller:l?s:void 0,controllerAs:o.common.ng2nOptions.hasOwnProperty("controllerAs")&&!t.hasOwnProperty("selector")?o.common.ng2nOptions.controllerAs:void 0,onEnter:e.onEnter,onExit:e.onExit,parent:e.parent,data:e.data};e.templateUrl?d.template=e.templateUrl:e.templateProvider?d.template=void 0:e.template&&(d.template=e.templateUrl),p&&(d.controller=p),t.controllerAs?d.controllerAs=t.controllerAs:e.controllerAs&&(d.controllerAs=e.controllerAs),u.state(e.name,d),l&&(n.unshift(r),s.$inject=n)}]),t}}Object.defineProperty(t,"__esModule",{value:!0}),t.State=r;var o=n(1),c=n(6)},function(e,t,n){"use strict";function r(e){return e?("undefined"!=typeof e.controllerAs&&(c.common.controllerAs=e.controllerAs),c.common.ng2nOptions.spinner=e.spinner||{show:angular.noop,hide:angular.noop},c.common.ng2nOptions.events=e.events||{beforeCall:angular.noop,afterCall:angular.noop},void("undefined"!=typeof e.noConflict&&(angular.module=e.noConflict?c.common.angularModule:l.SetModule))):c.common.ng2nOptions}function o(e){return function(t){return angular.merge(c.common.ng2nOptions,e),t}}Object.defineProperty(t,"__esModule",{value:!0}),t.options=r,t.Options=o;var c=n(1),l=n(2)},function(e,t,n){"use strict";function r(e){var t=angular.merge({},o.common.ng2nOptions,e),n=t.spinner||{show:angular.noop,hide:angular.noop},r=t.events||{beforeCall:angular.noop,afterCall:angular.noop};return function(e,c,l){return l.value=function(){function e(e,t){e?a.reject(e):a.resolve(t)}var l=Array.prototype.slice.call(arguments),a=o.common.$q.defer();if("string"==typeof n){if(!angular.injector(["ng",o.common.currentModule]).has(t.spinner))throw new Error('Spinner "'+n+'" does not exist.');n=angular.injector(["ng",o.common.currentModule]).get(t.spinner),t.spinner=n}return l.unshift(c),l.push(e),n&&n.show(),r.beforeCall&&r.beforeCall(),Meteor.call.apply(this,l),a.promise["finally"](function(){n.hide(),r.afterCall&&r.afterCall()}),a.promise},l}}Object.defineProperty(t,"__esModule",{value:!0}),t.MeteorMethod=r;var o=n(1)},function(e,t){"use strict";function n(e){return e.meteorReactive=!0,e}Object.defineProperty(t,"__esModule",{value:!0}),t.MeteorReactive=n},function(e,t){"use strict";function n(e){return e.localInjectables=!0,e}Object.defineProperty(t,"__esModule",{value:!0}),t.LocalInjectables=n}])});
//# sourceMappingURL=angular2-now.min.js.map
Package.describe({
name: 'pbastowski:angular2-now',
version: '1.1.2',
version: '1.1.3',
summary: 'Angular 2 @Component syntax for Meteor 1.2 and AngularJS',

@@ -10,3 +10,3 @@ git: 'https://github.com/pbastowski/angular2-now/tree/meteor1.2',

Npm.depends({
'angular2-now': '1.1.2'
'angular2-now': '1.1.3'
});

@@ -16,4 +16,4 @@

api.versionsFrom('1.2.0.1');
api.use('angular@1.3.1', 'client');
api.imply('angular@1.3.1', 'client');
api.use('angular@1.3.4', 'client');
api.imply('angular@1.3.4', 'client');

@@ -20,0 +20,0 @@ // Make sure we load after pbastowski:systemjs, if it's used

{
"name": "angular2-now",
"version": "1.1.2",
"version": "1.1.3",
"description": "Angular 2 component syntax for Angular 1 apps",

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

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

# angular2-now [![Build Status](https://travis-ci.org/pbastowski/angular2-now.svg?branch=master)](https://travis-ci.org/pbastowski/angular2-now)
# angular2-now [![Build Status](https://travis-ci.org/pbastowski/angular2-now.svg?branch=master)](https://travis-ci.org/pbastowski/angular2-now) [![Coverage Status](https://coveralls.io/repos/pbastowski/angular2-now/badge.svg?branch=master&service=github)](https://coveralls.io/github/pbastowski/angular2-now?branch=master)

@@ -588,2 +588,8 @@ ## Angular 2.0 component syntax for Angular 1 apps

### 5 Jan 2016 - v1.1.3
- Added `providers` property to @Component as an alias for @Inject. An angular2-now component can now be fully defined with the @Component decorator, just like in Angular2.
- For Meteor users, updated Meteor package angular dependency to 1.3.4.
- Added coveralls code coverage badge to readme.
### 2 Jan 2016 - v1.1.0

@@ -590,0 +596,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