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

restruct-data

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restruct-data - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "restruct-data",
"version": "0.3.0",
"version": "0.3.1",
"description": "ERROR: No README data found!",

@@ -5,0 +5,0 @@ "main": "restruct.js",

@@ -18,2 +18,3 @@

restruct.rescopeTrigger = '.rescope';
restruct.keyKey = '$key';
restruct.indexKey = '$index';

@@ -35,2 +36,3 @@ restruct.parentKey = '$parent';

}
restruct.lastDynamicKey;
restruct.prototype.extend = function (data, struct, result) {

@@ -77,2 +79,4 @@ if (Array.isArray(data))

}
data[restruct.keyKey] = restruct.lastDynamicKey;

@@ -79,0 +83,0 @@ if (result[k] === undefined) {

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