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

ngimport

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngimport - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

ngimport.d.ts
import * as angular from 'angular';
export declare let $animate: angular.animate.IAnimateService;
export declare let $animateCss: angular.animate.IAnimateCssService;
export declare let $anchorScroll: angular.IAnchorScrollService;

@@ -5,0 +3,0 @@ export declare let $cacheFactory: angular.ICacheFactoryService;

import * as angular from 'angular';
export let $animate = undefined;
export let $animateCss = undefined;
export let $anchorScroll = undefined;

@@ -34,4 +32,2 @@ export let $cacheFactory = undefined;

angular.module('bcherny/ngimport', []).run(function ($injector) {
$animate = $injector.get('$animate');
$animateCss = $injector.get('$animateCss');
$anchorScroll = $injector.get('$anchorScroll');

@@ -38,0 +34,0 @@ $cacheFactory = $injector.get('$cacheFactory');

"use strict";
const angular = require('angular');
exports.$animate = undefined;
exports.$animateCss = undefined;
exports.$anchorScroll = undefined;

@@ -35,4 +33,2 @@ exports.$cacheFactory = undefined;

angular.module('bcherny/ngimport', []).run(function ($injector) {
exports.$animate = $injector.get('$animate');
exports.$animateCss = $injector.get('$animateCss');
exports.$anchorScroll = $injector.get('$anchorScroll');

@@ -39,0 +35,0 @@ exports.$cacheFactory = $injector.get('$cacheFactory');

import * as angular from 'angular'
import * as animate from 'angular-animate'
export let $animate: angular.animate.IAnimateService = undefined
export let $animateCss: angular.animate.IAnimateCssService = undefined
export let $anchorScroll: angular.IAnchorScrollService = undefined

@@ -38,4 +35,2 @@ export let $cacheFactory: angular.ICacheFactoryService = undefined

angular.module('bcherny/ngimport', []).run(function($injector: angular.auto.IInjectorService) {
$animate = <angular.animate.IAnimateService>$injector.get('$animate')
$animateCss = <angular.animate.IAnimateCssService>$injector.get('$animateCss')
$anchorScroll = <angular.IAnchorScrollService>$injector.get('$anchorScroll')

@@ -42,0 +37,0 @@ $cacheFactory = <angular.ICacheFactoryService>$injector.get('$cacheFactory')

2

package.json
{
"name": "ngimport",
"version": "0.0.2",
"version": "0.0.3",
"description": "Finally, imports for Angular 1 builtins!",

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

@@ -92,2 +92,2 @@ # ngimport [![Circle CI](https://circleci.com/gh/bcherny/ngimport/tree/master.svg?style=svg)](https://circleci.com/gh/bcherny/ngimport/tree/master)

- Add support for $aria, $cookies, $provide, $resource, $rootRouter, $route, $routeParams, $routerRootComponent, $sanitize, $swipe, $touch
- Add support for $animate, $animateCss, $aria, $cookies, $provide, $resource, $rootRouter, $route, $routeParams, $routerRootComponent, $sanitize, $swipe, $touch
{
"ambientDependencies": {
"angular": "registry:dt/angular#1.5.0+20160328125810",
"angular-animate": "registry:dt/angular-animate#1.5.0+20160407085121",
"jquery": "registry:dt/jquery#1.10.0+20160316155526"
}
}
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