@ephox/polaris
Advanced tools
Comparing version 3.0.16 to 3.0.17
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
215509
3571
3
+ Added@ephox/dom-globals@latest
+ Added@ephox/dom-globals@3.9.5(transitive)