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

@tpluscode/rdfine

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tpluscode/rdfine - npm Package Compare versions

Comparing version 0.4.13 to 0.4.14

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [0.4.14](https://github.com/tpluscode/rdfine/compare/@tpluscode/rdfine@0.4.13...@tpluscode/rdfine@0.4.14) (2020-05-06)
### Bug Fixes
* **core:** slight perf boost by skipping unnecessary mixins ([101f7a3](https://github.com/tpluscode/rdfine/commit/101f7a3c8bfd186d082dee117ea7d9a37d707de5))
* **core:** type cache incorrectly created ([21e16e6](https://github.com/tpluscode/rdfine/commit/21e16e6fac15a9adfa43a429bc65bbe5ab5e4d89))
## [0.4.13](https://github.com/tpluscode/rdfine/compare/@tpluscode/rdfine@0.4.12...@tpluscode/rdfine@0.4.13) (2020-05-05)

@@ -8,0 +20,0 @@

6

lib/ResourceFactory.js

@@ -38,3 +38,3 @@ import cf from 'clownface';

}
BaseClass = this.__getBaseClass(BaseClass, graphPointer.out(rdf.type).terms);
BaseClass = this.__getBaseClass(BaseClass, graphPointer.out(rdf.type).values);
const entity = new BaseClass(term);

@@ -46,3 +46,3 @@ const mixins = [...this.__mixins].reduce((selected, next) => {

return selected;
}, new Set([...explicitMixins, ...BaseClass.__mixins]));
}, new Set(explicitMixins));
const Type = this.__extend(BaseClass, [...mixins]);

@@ -58,3 +58,3 @@ return createProxy(new Type(term, {}, options.parent));

const rdfTypeMixins = types.reduce((mixins, type) => {
const typeMixins = this.__typeMixins.get(type.value);
const typeMixins = this.__typeMixins.get(type);
if (typeMixins) {

@@ -61,0 +61,0 @@ typeMixins.forEach(m => mixins.add(m));

{
"name": "@tpluscode/rdfine",
"version": "0.4.13",
"version": "0.4.14",
"description": "RDF/JS idiomatic, native, effective",

@@ -72,3 +72,3 @@ "main": "main.js",

},
"gitHead": "4b9f401967395d735089c936ee913d67101f7acb"
"gitHead": "e616534d9c1ba9d69eb179013141afaa09bd403f"
}
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