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

@graphy/core.class.scribable

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphy/core.class.scribable - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

32

main.js
// queueMicrotask shim
{
// not defined or not a function
if('function' !== typeof queueMicrotask) {
// create resolved promise
let dp_resolve = Promise.resolve();
// try to redefine
try {
// eslint-disable-next-line no-global-assign
queueMicrotask = fk => dp_resolve.then(fk)
.catch(e_callback => setTimeout(() => {
throw e_callback;
}, 0));
}
// oh well, at least we tried
catch(e_define) {}
}
}
const factory = require('@graphy/core.data.factory');

@@ -182,3 +203,3 @@ const stream = require('@graphy/core.iso.stream');

// do not worry about clearing timeouts
setTimeout(Scribable._flush_buffer, 0, this);
queueMicrotask(() => Scribable._flush_buffer(this));
}

@@ -201,3 +222,3 @@ }

// do not worry about clearing timeouts
setTimeout(Scribable._flush_buffer, 0, this);
queueMicrotask(() => Scribable._flush_buffer(this));
}

@@ -263,3 +284,2 @@ }

case 'comment': {
debugger;
return this._serialize_comment(g_event.value);

@@ -281,2 +301,8 @@ }

// rinse off buffer to writable
rinse() {
this._reset();
Scribable._flush_buffer(this);
}
_flush() {

@@ -283,0 +309,0 @@ // flush buffer

6

package.json
{
"name": "@graphy/core.class.scribable",
"version": "4.1.0",
"version": "4.2.0",
"description": "Serialize RDF fast",

@@ -26,4 +26,4 @@ "keywords": [

"dependencies": {
"@graphy/core.data.factory": "^4.1.0",
"@graphy/core.iso.stream": "^4.1.0"
"@graphy/core.data.factory": "^4.2.0",
"@graphy/core.iso.stream": "^4.2.0"
},

@@ -30,0 +30,0 @@ "engines": {

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