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

saddle

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saddle - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

17

index.js

@@ -1086,7 +1086,8 @@ if (typeof require === 'function') {

context.removeNode(node);
emitRemovedBinding(context, ignore, node.$bindNode);
emitRemovedBinding(context, ignore, node.$bindStart);
emitRemovedBinding(context, ignore, node.$bindItemStart);
emitRemovedBinding(context, ignore, node, '$bindNode');
emitRemovedBinding(context, ignore, node, '$bindStart');
emitRemovedBinding(context, ignore, node, '$bindItemStart');
var attributes = node.$bindAttributes;
if (attributes) {
node.$bindAttributes = null;
for (var key in attributes) {

@@ -1100,5 +1101,9 @@ context.removeBinding(attributes[key]);

}
function emitRemovedBinding(context, ignore, binding) {
if (binding && binding !== ignore) {
context.removeBinding(binding);
function emitRemovedBinding(context, ignore, node, property) {
var binding = node[property];
if (binding) {
node[property] = null;
if (binding !== ignore) {
context.removeBinding(binding);
}
}

@@ -1105,0 +1110,0 @@ }

@@ -9,3 +9,3 @@ {

},
"version": "0.9.4",
"version": "0.9.5",
"main": "./lib/index.js",

@@ -12,0 +12,0 @@ "scripts": {

@@ -1,3 +0,1 @@

[![browser support](https://ci.testling.com/derbyjs/saddle.png)](https://ci.testling.com/derbyjs/saddle)
# Saddle

@@ -4,0 +2,0 @@

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