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

ember-block-slots

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-block-slots - npm Package Compare versions

Comparing version

to
1.1.6

2

addon/components/yield-slot.js

@@ -63,3 +63,3 @@ import Ember from 'ember'

isActive: computed('_parentView._slots.[]', '_name', function () {
return this.get('_parentView._slots').contains(this.get('_name'))
return this.get('_parentView._slots').includes(this.get('_name'))
})

@@ -66,0 +66,0 @@ })

@@ -0,1 +1,10 @@

# 1.1.6
* Forgot one instance where contains was used. Converting that to includes fixes the deprecations in 2.8.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/ciena-blueplanet/ember-block-slots/42)
<!-- Reviewable:end -->
# 1.1.5

@@ -2,0 +11,0 @@ * Use includes method over contains to fix deprecation in Ember 2.8

{
"name": "ember-block-slots",
"version": "1.1.5",
"version": "1.1.6",
"description": "Support for targeted yield slots within a component block",

@@ -5,0 +5,0 @@ "homepage": "http://ciena-blueplanet.github.io/ember-block-slots",