can-symbol
Advanced tools
Comparing version 1.4.2 to 1.5.0
@@ -30,3 +30,3 @@ var namespace = require("can-namespace"); | ||
* @function can-symbol.for for | ||
* @parent can-symbol | ||
* @parent can-symbol/methods | ||
* @description Get a symbol based on a known string identifier, or create it if it doesn't exist. | ||
@@ -63,3 +63,3 @@ * | ||
"toPrimitive","toStringTag","unscopables"].forEach(function(name){ | ||
CanSymbol[name] = CanSymbol.for(name); | ||
CanSymbol[name] = CanSymbol("Symbol."+name); | ||
}); | ||
@@ -112,3 +112,4 @@ } | ||
"onKeysAdded", | ||
"onKeysRemoved" | ||
"onKeysRemoved", | ||
"onPatches" | ||
].forEach(function(name){ | ||
@@ -115,0 +116,0 @@ CanSymbol.for("can."+name); |
@@ -5,7 +5,9 @@ @page can-symbol | ||
@package ./package.json | ||
@group can-symbol/symbols/type Type Symbols | ||
@group can-symbol/symbols/shape Shape Symbols | ||
@group can-symbol/symbols/get-set Get/Set Symbols | ||
@group can-symbol/symbols/call Call Symbols | ||
@group can-symbol/symbols/observe Observe Symbols | ||
@group can-symbol/methods 0 Methods | ||
@group can-symbol/symbols/type 1 Type Symbols | ||
@group can-symbol/symbols/get-set 2 Get/Set Symbols | ||
@group can-symbol/symbols/shape 3 Shape Symbols | ||
@group can-symbol/symbols/call 4 Call Symbols | ||
@group can-symbol/symbols/observe 5 Observe Symbols | ||
@group can-symbol/types 6 Types | ||
@description Symbols used to detail how CanJS may operate on different objects | ||
@@ -12,0 +14,0 @@ |
{ | ||
"name": "can-symbol", | ||
"version": "1.4.2", | ||
"version": "1.5.0", | ||
"description": "Well known symbols used to detail how to operate on different objects", | ||
@@ -5,0 +5,0 @@ "homepage": "http://canjs.com", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
49707
51
189