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

@ephox/polaris

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ephox/polaris - npm Package Compare versions

Comparing version 3.0.16 to 3.0.17

6

lib/main/ts/ephox/polaris/search/Find.js

@@ -11,8 +11,8 @@ import { Fun } from '@ephox/katamari';

var start = match.index + pattern.prefix(match);
var length_1 = match[0].length - pattern.prefix(match) - pattern.suffix(match);
var length = match[0].length - pattern.prefix(match) - pattern.suffix(match);
r.push({
start: Fun.constant(start),
finish: Fun.constant(start + length_1)
finish: Fun.constant(start + length)
});
term.lastIndex = start + length_1;
term.lastIndex = start + length;
match = term.exec(input);

@@ -19,0 +19,0 @@ }

import { assert, UnitTest } from '@ephox/bedrock';
import { Arr, Obj } from '@ephox/katamari';
import * as Regexes from 'ephox/polaris/api/Regexes';
import { console } from '@ephox/dom-globals';
// tslint:disable no-console

@@ -5,0 +6,0 @@ UnitTest.test('RegexesTest', function () {

{
"name": "@ephox/polaris",
"description": "This project does data manipulation on arrays and strings.",
"version": "3.0.16",
"version": "3.0.17",
"repository": {

@@ -21,2 +21,3 @@ "type": "git",

"dependencies": {
"@ephox/dom-globals": "latest",
"@ephox/katamari": "latest",

@@ -23,0 +24,0 @@ "tslib": "^1.9.3"

import { assert, UnitTest } from '@ephox/bedrock';
import { Arr, Obj } from '@ephox/katamari';
import * as Regexes from 'ephox/polaris/api/Regexes';
import { console } from '@ephox/dom-globals';

@@ -5,0 +6,0 @@ // tslint:disable no-console

@@ -15,3 +15,3 @@ {

"module": "es2015",
"lib": ["es2015", "dom"],
"lib": ["es2015"],
"declaration": true,

@@ -21,2 +21,3 @@ "sourceMap": true,

"baseUrl": ".",
"types": [],
"paths": {

@@ -23,0 +24,0 @@ "ephox/polaris/test/*": ["src/test/ts/module/ephox/polaris/test/*"],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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