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

cursejs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cursejs - npm Package Compare versions

Comparing version 3.1.2 to 3.2.0

10

dist/curse.js

@@ -63,3 +63,3 @@ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Curse=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

this.reset();
return;
return { start: start, end: end };
}

@@ -93,2 +93,4 @@

this.end = end;
return { start: start, end: end };
},

@@ -111,2 +113,5 @@ writable: true,

var onlyActive = arguments[0] === undefined ? true : arguments[0];
var _ref2 = arguments[1] === undefined ? this : arguments[1];
var start = _ref2.start;
var end = _ref2.end;
if (onlyActive && document.activeElement !== this.element) {

@@ -122,5 +127,2 @@ return;

var idx = 0;
var _ref2 = this;
var start = _ref2.start;
var end = _ref2.end;
var iter = this.getIterator(this.element);

@@ -127,0 +129,0 @@ var node = undefined,

2

package.json
{
"name": "cursejs",
"description": "A user selection caching utility",
"version": "3.1.2",
"version": "3.2.0",
"author": "Jonathan Clem",

@@ -6,0 +6,0 @@ "bugs": {

@@ -44,3 +44,3 @@ /**

this.reset();
return;
return { start, end };
}

@@ -74,2 +74,4 @@

this.end = end;
return { start, end };
}

@@ -85,3 +87,3 @@

*/
restore(onlyActive = true) {
restore(onlyActive = true, { start, end } = this) {
if (onlyActive && document.activeElement !== this.element) {

@@ -97,3 +99,2 @@ return;

let idx = 0;
let { start, end } = this;
let iter = this.getIterator(this.element);

@@ -100,0 +101,0 @@ let node, setStart, setEnd;

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