Socket
Socket
Sign inDemoInstall

@ofjansen/pcre2-wasm

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ofjansen/pcre2-wasm - npm Package Compare versions

Comparing version 1.2.13 to 1.3.0

6

package.json
{
"name": "@ofjansen/pcre2-wasm",
"version": "1.2.13",
"description": "PCRE2 (Perl Compatible Regular Expressions 2) compiled to WebAssembly",
"version": "1.3.0",
"description": "PCRE2 (Perl Compatible Regular Expressions 2) compiled to WebAssembly for use in the browser",
"main": "dist/libpcre2.js",

@@ -13,3 +13,3 @@ "files": [

"lightclean": "rimraf dist",
"clean": "rimraf dist coverage .nyc_output deps/build",
"clean": "rimraf dist coverage deps/build",
"lint": "eslint src test",

@@ -16,0 +16,0 @@ "prepare": "npm run build",

# pcre2-wasm
PCRE2 (Perl Compatible Regular Expressions) compiled to WebAssembly
PCRE2 (Perl Compatible Regular Expressions) compiled to WebAssembly for use in the browser.

@@ -8,3 +8,3 @@ ## Installation

```bash
npm install @stephen-riley/pcre2-wasm
npm install @ofjansen/pcre2-wasm
```

@@ -23,6 +23,7 @@

```javascript
import PCRE from '@stephen-riley/pcre2-wasm'
import libpcre2 from '@ofjansen/pcre2-wasm';
async function main () {
await PCRE.init()
const lib = libpcre2();
lib.PCRE.init();
// make other PCRE calls...

@@ -46,3 +47,5 @@ }

```javascript
import PCRE from '@stephen-riley/pcre2-wasm'
import libpcre2 from '@ofjansen/pcre2-wasm';
const lib = libpcre2();
```

@@ -156,2 +159,2 @@

This is a fork of [desertnet/pcre](https://github.com/desertnet/pcre), which provided the emscripten framework and initial API exposure of PCRE2. Many thanks!
This is a fork of [stephen-riley/pcre2-wasm](https://github.com/stephen-riley/pcre2-wasm), with minor adjustments to make it work in a browser application I'm working on.

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