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

ng-current

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-current - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

ng-current.js

@@ -35,3 +35,3 @@ ;(function(angular) {

service.constructor.prototype = this.constructor.prototype
service.$$hasContext = true

@@ -56,3 +56,3 @@ $rootScope.current[name] = {}

if (generator instanceof Function) {
generator().then(function(data) {
generator.call(service).then(function(data) {
andThen(

@@ -84,3 +84,3 @@ data instanceof Array ? data.map(service.model) : service.model(data)

// method is subscribed and refreshed w/ future updates to the service
if (service.constructor.prototype === this.constructor.prototype) {
if (service.$$hasContext) {
service.refresh(method, andThen)

@@ -87,0 +87,0 @@

{
"name": "ng-current",
"version": "1.0.4",
"version": "1.0.5",
"description": "Relational context manager for Angular",

@@ -5,0 +5,0 @@ "main": "ng-current.js",

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