@hookstate/labelled
Advanced tools
Comparing version 2.0.0 to 3.0.0-0
@@ -1,3 +0,1 @@ | ||
import { self } from '@hookstate/core'; | ||
var LabelledID = Symbol('Labelled'); | ||
@@ -17,3 +15,3 @@ function Labelled(labelOrLink) { | ||
var th = labelOrLink; | ||
var plugin = th[self].attach(LabelledID)[0]; | ||
var plugin = th.attach(LabelledID)[0]; | ||
if (plugin instanceof Error) { | ||
@@ -20,0 +18,0 @@ return undefined; |
@@ -5,4 +5,2 @@ 'use strict'; | ||
var core = require('@hookstate/core'); | ||
var LabelledID = Symbol('Labelled'); | ||
@@ -22,3 +20,3 @@ function Labelled(labelOrLink) { | ||
var th = labelOrLink; | ||
var plugin = th[core.self].attach(LabelledID)[0]; | ||
var plugin = th.attach(LabelledID)[0]; | ||
if (plugin instanceof Error) { | ||
@@ -25,0 +23,0 @@ return undefined; |
{ | ||
"name": "@hookstate/labelled", | ||
"version": "2.0.0", | ||
"version": "3.0.0-0", | ||
"description": "Plugin for @hookstate/core, which allows to assign a label / name / alias for a state.", | ||
@@ -37,18 +37,18 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@hookstate/core": "^2.0.0" | ||
"@hookstate/core": "^3.0.0-0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.10.1", | ||
"@babel/runtime": "7.10.1", | ||
"@hookstate/core": "2.0.0", | ||
"@rollup/plugin-babel": "5.0.2", | ||
"@rollup/plugin-commonjs": "12.0.0", | ||
"@rollup/plugin-node-resolve": "8.0.0", | ||
"@rollup/plugin-url": "5.0.0", | ||
"@testing-library/react": "10.0.4", | ||
"@testing-library/react-hooks": "3.2.1", | ||
"@types/jest": "25.2.3", | ||
"@babel/core": "7.10.5", | ||
"@babel/runtime": "7.10.5", | ||
"@hookstate/core": "3.0.0-0", | ||
"@rollup/plugin-babel": "5.1.0", | ||
"@rollup/plugin-commonjs": "14.0.0", | ||
"@rollup/plugin-node-resolve": "8.4.0", | ||
"@rollup/plugin-url": "5.0.1", | ||
"@testing-library/react": "10.4.6", | ||
"@testing-library/react-hooks": "3.3.0", | ||
"@types/jest": "26.0.4", | ||
"@types/lodash.clonedeep": "4.5.6", | ||
"@types/lodash.isequal": "4.5.5", | ||
"@types/react": "16.9.35", | ||
"@types/react": "16.9.43", | ||
"@types/react-dom": "16.9.8", | ||
@@ -58,3 +58,3 @@ "cross-env": "7.0.2", | ||
"lodash.isequal": "^4.5.0", | ||
"npm-check-updates": "6.0.1", | ||
"npm-check-updates": "7.0.1", | ||
"react": "16.13.1", | ||
@@ -65,8 +65,8 @@ "react-dom": "16.13.1", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.11.0", | ||
"rollup-plugin-peer-deps-external": "2.2.2", | ||
"rollup": "2.21.0", | ||
"rollup-plugin-peer-deps-external": "2.2.3", | ||
"rollup-plugin-typescript2": "0.27.1", | ||
"tslint": "6.1.2", | ||
"tslint-react": "5.0.0", | ||
"typescript": "3.9.3" | ||
"typescript": "3.9.6" | ||
}, | ||
@@ -73,0 +73,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9148
60
1