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

table-js

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

table-js - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

4

lib/core/Sheet.js

@@ -189,2 +189,6 @@ export default class Sheet {

resized() {
this._eventBus.fire('sheet.resized');
}
}

@@ -191,0 +195,0 @@

2

package.json
{
"name": "table-js",
"version": "1.4.2",
"version": "1.5.0",
"scripts": {

@@ -5,0 +5,0 @@ "all": "npm run lint && npm run test",

@@ -387,2 +387,23 @@ /* global sinon */

describe('resized', function() {
it('should emit <sheet.resized> event', inject(function(eventBus, sheet) {
let listenerCalled = false;
// given
eventBus.on('sheet.resized', function() {
listenerCalled = true;
});
// when
sheet.resized();
// then
expect(listenerCalled).to.be.true;
}));
});
});
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