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.20 to 3.0.21

lib/main/ts/ephox/polaris/api/Arrays.d.ts.map

1

lib/main/ts/ephox/polaris/api/Arrays.d.ts

@@ -11,1 +11,2 @@ import { Splitting } from './Main';

export { splitby, splitbyAdv, sliceby, boundAt };
//# sourceMappingURL=Arrays.d.ts.map

@@ -12,1 +12,2 @@ import { PRange, PRegExp } from '../pattern/Types';

export { Arrays, Pattern, PositionArray, PRange, PRegExp, Regexes, Search, Splitting, Strings, Words, WordOptions };
//# sourceMappingURL=Main.d.ts.map

@@ -22,1 +22,2 @@ import { Option } from '@ephox/katamari';

export { safeword, safetoken, custom, unsafeword, unsafetoken, sanitise, chars, wordbreak, wordchar };
//# sourceMappingURL=Pattern.d.ts.map

@@ -18,1 +18,2 @@ import { Arr, Option } from '@ephox/katamari';

export { generate, get, find, splits, translate, sublist };
//# sourceMappingURL=PositionArray.d.ts.map

@@ -8,1 +8,2 @@ declare type LinkApi = () => RegExp;

export { tokens, link, autolink };
//# sourceMappingURL=Regexes.d.ts.map

@@ -9,1 +9,2 @@ import { PRange, PRegExp } from '../pattern/Types';

export { findall, findmany };
//# sourceMappingURL=Search.d.ts.map

@@ -18,1 +18,2 @@ declare type SplittingHandler<T, U> = (item: T) => U;

export {};
//# sourceMappingURL=Splitting.d.ts.map

@@ -6,1 +6,2 @@ declare type SplitsApi = (value: string, indices: number[]) => string[];

export { cssSanitise, splits };
//# sourceMappingURL=Strings.d.ts.map

@@ -5,1 +5,2 @@ import { WordOptions } from '../words/Words';

export { getWords };
//# sourceMappingURL=Words.d.ts.map
declare const boundAt: <T, T2>(xs: T[], left: T2, right: T2, comparator: (a: T2, b: T) => boolean) => T[];
export { boundAt };
//# sourceMappingURL=Boundaries.d.ts.map

@@ -6,1 +6,2 @@ /**

export { sliceby };
//# sourceMappingURL=Slice.d.ts.map

@@ -11,1 +11,2 @@ import { Splitting } from '../api/Splitting';

export { splitby, splitbyAdv };
//# sourceMappingURL=Split.d.ts.map

@@ -13,1 +13,2 @@ import { Option } from '@ephox/katamari';

export { make };
//# sourceMappingURL=Generator.d.ts.map

@@ -17,1 +17,2 @@ import { Arr, Option } from '@ephox/katamari';

export { get, find, inUnit, sublist };
//# sourceMappingURL=Query.d.ts.map

@@ -7,1 +7,2 @@ import { PRange } from '../pattern/Types';

export { splits };
//# sourceMappingURL=Split.d.ts.map

@@ -5,1 +5,2 @@ import { PRange } from '../pattern/Types';

export { translate };
//# sourceMappingURL=Translate.d.ts.map

@@ -5,1 +5,2 @@ declare const chars: () => string;

export { chars, wordbreak, wordchar };
//# sourceMappingURL=Chars.d.ts.map
import { Option } from '@ephox/katamari';
import { PRegExp } from './Types';
export declare const Custom: (regex: string, prefix: (match: RegExpExecArray) => number, suffix: (match: RegExpExecArray) => number, flags: Option<string>) => PRegExp;
//# sourceMappingURL=Custom.d.ts.map

@@ -6,1 +6,2 @@ /** Escapes regex characters in a string */

export { sanitise, word, token };
//# sourceMappingURL=Safe.d.ts.map

@@ -10,1 +10,2 @@ export interface PRegExp {

}
//# sourceMappingURL=Types.d.ts.map

@@ -12,1 +12,2 @@ /**

export { token, word };
//# sourceMappingURL=Unsafe.d.ts.map

@@ -7,1 +7,2 @@ import { PRegExp, PRange } from '../pattern/Types';

export { all };
//# sourceMappingURL=Find.d.ts.map

@@ -11,1 +11,2 @@ import { PRegExp, PRange } from '../pattern/Types';

export { search };
//# sourceMappingURL=Sleuth.d.ts.map

@@ -6,1 +6,2 @@ /**

export { css };
//# sourceMappingURL=Sanitise.d.ts.map

@@ -6,1 +6,2 @@ /**

export { splits };
//# sourceMappingURL=Split.d.ts.map
export declare type CharacterMap = number[];
declare const classify: (characters: string[]) => number[];
export { classify };
//# sourceMappingURL=StringMapper.d.ts.map

@@ -22,1 +22,2 @@ declare const characterIndices: {

export { characterIndices, SETS, EMPTY_STRING, PUNCTUATION, WHITESPACE };
//# sourceMappingURL=UnicodeData.d.ts.map
declare const isWordBoundary: (map: number[], index: number) => boolean;
export { isWordBoundary };
//# sourceMappingURL=WordBoundary.d.ts.map

@@ -7,1 +7,2 @@ export interface WordOptions {

export { getWords };
//# sourceMappingURL=Words.d.ts.map
export {};
//# sourceMappingURL=ArrayBoundariesTest.d.ts.map
export {};
//# sourceMappingURL=ArraySliceTest.d.ts.map
export {};
//# sourceMappingURL=ArraySplitTest.d.ts.map
export {};
//# sourceMappingURL=ParrayFindTest.d.ts.map
export {};
//# sourceMappingURL=ParrayGenerateTest.d.ts.map
export {};
//# sourceMappingURL=ParrayGetTest.d.ts.map
export {};
//# sourceMappingURL=ParraySplitTest.d.ts.map
export {};
//# sourceMappingURL=ParraySublistTest.d.ts.map
export {};
//# sourceMappingURL=ParrayTranslateTest.d.ts.map
export {};
//# sourceMappingURL=RegexesTest.d.ts.map
export {};
//# sourceMappingURL=SanitiseCssTest.d.ts.map
export {};
//# sourceMappingURL=SearchFindTest.d.ts.map
export {};
//# sourceMappingURL=StringSplitTest.d.ts.map
export {};
//# sourceMappingURL=WordsTest.d.ts.map
export {};
//# sourceMappingURL=CharsTest.d.ts.map
export {};
//# sourceMappingURL=StringMapperTest.d.ts.map
export {};
//# sourceMappingURL=WordBoundaryTest.d.ts.map

@@ -9,1 +9,2 @@ export interface PArrayTestItem {

export { make, dump };
//# sourceMappingURL=Parrays.d.ts.map

23

package.json
{
"name": "@ephox/polaris",
"description": "This project does data manipulation on arrays and strings.",
"version": "3.0.20",
"version": "3.0.21",
"repository": {

@@ -21,23 +21,11 @@ "type": "git",

"dependencies": {
"@ephox/dom-globals": "latest",
"@ephox/katamari": "latest",
"@ephox/dom-globals": "^1.1.2",
"@ephox/katamari": "^2.4.17",
"tslib": "^1.9.3"
},
"devDependencies": {
"@ephox/bedrock": "latest",
"@ephox/tslint-rules": "latest",
"awesome-typescript-loader": "^5.2.1",
"source-map-loader": "^0.2.3",
"tslint": "^5.12.1",
"typescript": "^3.1.6",
"webpack": "^3.10.0"
},
"scripts": {
"prepublishOnly": "tsc",
"prepublishOnly": "tsc -b",
"test": "bedrock-auto -b phantomjs -d src/test/ts",
"test-manual": "bedrock -d src/test/ts"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Ephox Corporation",

@@ -47,3 +35,4 @@ "license": "Apache-2.0",

"module": "./lib/main/ts/ephox/polaris/api/Main.js",
"types": "./lib/main/ts/ephox/polaris/api/Main.d.ts"
"types": "./lib/main/ts/ephox/polaris/api/Main.d.ts",
"gitHead": "8a4db7a4aff74f3a858d9125c7ab674954b8a33a"
}

@@ -20,2 +20,2 @@ # Description

## Running Tests
`$ npm test`
`$ yarn test`
{
"extends": "../../tsconfig.shared.json",
"compilerOptions": {
"importHelpers": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noImplicitAny": true,
"noImplicitThis": true,
"alwaysStrict": true,
"strictNullChecks": true,
"strict": true,
"moduleResolution": "node",
"target": "es5",
"module": "es2015",
"lib": ["es2015"],
"declaration": true,
"sourceMap": true,
"outDir": "lib",
"rootDir": "src",
"baseUrl": ".",
"types": [],
"paths": {

@@ -32,4 +18,6 @@ "ephox/polaris/test/*": ["src/test/ts/module/ephox/polaris/test/*"],

"src/test/ts",
"node_modules/@ephox/**/*/api/Main.d.ts"
],
"references": [
{ "path": "../katamari" },
]
}
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