New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

intl-segmenter-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intl-segmenter-polyfill - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

2

dist/index.js

@@ -63,3 +63,3 @@ "use strict";

if (WebAssembly.instantiateStreaming != null) {
return WebAssembly.instantiateStreaming(wasm, imports);
return wasm.then(function (response) { return WebAssembly.instantiateStreaming(response, imports); });
}

@@ -66,0 +66,0 @@ return wasm

{
"name": "intl-segmenter-polyfill",
"version": "0.2.6",
"version": "0.2.7",
"description": "This repo builds .wasm module using icu4c for breaking text into words, so that we can polyfill [Intl Segmenter Proposal](https://github.com/tc39/proposal-intl-segmenter) with full compatibility, even on browsers that do not expose v8BreakIterator api.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -23,3 +23,3 @@ const BREAK_TYPES = {

if (WebAssembly.instantiateStreaming != null) {
return WebAssembly.instantiateStreaming(wasm, imports)
return wasm.then(response => WebAssembly.instantiateStreaming(response, imports))
}

@@ -26,0 +26,0 @@

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