Socket
Socket
Sign inDemoInstall

blueflag-record

Package Overview
Dependencies
5
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.1 to 0.4.2

16

lib/Record.js

@@ -18,4 +18,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));

@@ -77,5 +75,2 @@

(0, _classCallCheck2.default)(this, Record);
(0, _defineProperty2.default)(this, "inspect", function () {
return "Record ".concat(JSON.stringify(_this.toObject(), null, 2));
});

@@ -164,3 +159,9 @@ var setter = function setter(key, value) {

(0, _createClass2.default)(Record, null, [{
(0, _createClass2.default)(Record, [{
key: "inspect",
// for printing records with console.log() in node
value: function inspect() {
return "Record ".concat(JSON.stringify(this.toObject(), null, 2));
}
}], [{
key: "fromUnknown",

@@ -181,4 +182,3 @@ value: function fromUnknown(unknown) {

});
} // for printing records with console.log() in node
}
}]);

@@ -185,0 +185,0 @@ return Record;

{
"main": "lib/index.js",
"name": "blueflag-record",
"version": "0.4.1",
"version": "0.4.2",
"description": "An Unmutable compatible record",

@@ -6,0 +6,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc