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

string-matches

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-matches - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

dist/index.d.ts
declare function stringMatches(str: string, regex: RegExp, maxMatches?: number): RegExpExecArray[];
declare const _default: typeof stringMatches & {
default: typeof stringMatches;
};
default: typeof stringMatches;
}
declare namespace _default {
export type type = stringMatches;
}
export = _default;

@@ -21,3 +21,6 @@ "use strict";

}
module.exports = Object.assign(stringMatches, { default: stringMatches });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLG9CQUFvQjtBQUVwQixTQUFTLGFBQWEsQ0FBRyxHQUFXLEVBQUUsS0FBYSxFQUFFLFVBQXFCO0lBQXJCLDJCQUFBLEVBQUEscUJBQXFCO0lBRXhFLElBQUssS0FBSyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUcsR0FBRyxDQUFFLElBQUksQ0FBQyxFQUFHO1FBRXRDLElBQU0sT0FBTyxHQUFzQixFQUFFLENBQUM7UUFFdEMsSUFBSSxLQUFLLFNBQUEsQ0FBQztRQUVWLEtBQUssQ0FBQyxTQUFTLEdBQUcsQ0FBQyxDQUFDO1FBRXBCLE9BQVEsS0FBSyxHQUFHLEtBQUssQ0FBQyxJQUFJLENBQUcsR0FBRyxDQUFFLEVBQUc7WUFFbkMsT0FBTyxDQUFDLElBQUksQ0FBRyxLQUFLLENBQUUsQ0FBQztZQUV2QixJQUFLLE9BQU8sQ0FBQyxNQUFNLEtBQUssVUFBVTtnQkFBRyxNQUFNO1NBRTVDO1FBRUQsT0FBTyxPQUFPLENBQUM7S0FFaEI7U0FBTTtRQUVMLElBQU0sS0FBSyxHQUFHLEtBQUssQ0FBQyxJQUFJLENBQUcsR0FBRyxDQUFFLENBQUM7UUFFakMsT0FBTyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQztLQUU3QjtBQUVILENBQUM7QUFJRCxpQkFBUyxNQUFNLENBQUMsTUFBTSxDQUFHLGFBQWEsRUFBRSxFQUFFLE9BQU8sRUFBRSxhQUFhLEVBQUUsQ0FBRSxDQUFDIn0=
/* EXPORT */
module.exports = stringMatches;
module.exports.default = stringMatches;
Object.defineProperty(module.exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLG9CQUFvQjs7QUFFcEIsU0FBUyxhQUFhLENBQUcsR0FBVyxFQUFFLEtBQWEsRUFBRSxVQUFxQjtJQUFyQiwyQkFBQSxFQUFBLHFCQUFxQjtJQUV4RSxJQUFLLEtBQUssQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFHLEdBQUcsQ0FBRSxJQUFJLENBQUMsRUFBRztRQUV0QyxJQUFNLE9BQU8sR0FBc0IsRUFBRSxDQUFDO1FBRXRDLElBQUksS0FBSyxTQUFBLENBQUM7UUFFVixLQUFLLENBQUMsU0FBUyxHQUFHLENBQUMsQ0FBQztRQUVwQixPQUFRLEtBQUssR0FBRyxLQUFLLENBQUMsSUFBSSxDQUFHLEdBQUcsQ0FBRSxFQUFHO1lBRW5DLE9BQU8sQ0FBQyxJQUFJLENBQUcsS0FBSyxDQUFFLENBQUM7WUFFdkIsSUFBSyxPQUFPLENBQUMsTUFBTSxLQUFLLFVBQVU7Z0JBQUcsTUFBTTtTQUU1QztRQUVELE9BQU8sT0FBTyxDQUFDO0tBRWhCO1NBQU07UUFFTCxJQUFNLEtBQUssR0FBRyxLQUFLLENBQUMsSUFBSSxDQUFHLEdBQUcsQ0FBRSxDQUFDO1FBRWpDLE9BQU8sS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7S0FFN0I7QUFFSCxDQUFDO0FBRUQsWUFBWTtBQUVaLGtCQUFlLGFBQWEsQ0FBQyJ9
{
"name": "string-matches",
"version": "1.1.1",
"version": "1.1.2",
"description": "Retrieves all the matches of a regex in a string.",

@@ -11,3 +11,3 @@ "main": "dist/index.js",

"clean": "npm run clean:dist && npm run clean:coverage",
"compile": "tsc --skipLibCheck",
"compile": "tsc --skipLibCheck && tstei",
"compile:watch": "tsc --skipLibCheck --watch",

@@ -19,3 +19,3 @@ "test": "ava",

"report:html": "open coverage/index.html",
"prepublish": "npm run clean && npm run compile && npm run coverage"
"prepublishOnly": "npm run clean && npm run compile && npm run coverage"
},

@@ -46,4 +46,5 @@ "ava": {

"rimraf": "^2.6.0",
"typescript": "~3.0.3"
"typescript": "~3.0.3",
"typescript-transform-export-interop": "^1.0.0"
}
}

@@ -36,2 +36,2 @@

export = Object.assign ( stringMatches, { default: stringMatches } );
export default stringMatches;
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