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

@ts-common/property-set

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-common/property-set - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

10

index.js

@@ -39,10 +39,16 @@ "use strict";

});
let changes = false;
forEach(factory, (k, propertyFactory) => {
// tslint:disable-next-line:strict-type-predicates
if (propertyFactory !== undefined) {
setProperty(result, k, propertyFactory(k, source[k]));
const sourceK = source[k];
const newProperty = propertyFactory(k, sourceK);
if (sourceK !== newProperty) {
setProperty(result, k, newProperty);
changes = true;
}
}
});
return fromMutableOptional(result);
return changes ? fromMutableOptional(result) : source;
}
exports.copyCreate = copyCreate;

4

package.json
{
"name": "@ts-common/property-set",
"version": "0.0.5",
"version": "0.0.6",
"description": "A set of properties",

@@ -41,5 +41,5 @@ "main": "index.js",

"tslint": "^5.11.0",
"typescript": "^3.0.0-rc"
"typescript": "^3.0.1"
},
"dependencies": {}
}
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