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.11 to 0.4.12

11

CHANGELOG.md

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

## [0.4.12](https://github.com/tpluscode/rdfine/compare/@tpluscode/rdfine@0.4.11...@tpluscode/rdfine@0.4.12) (2020-04-29)
### Features
* add option to resource decorator to add assert implied types ([90f1b7a](https://github.com/tpluscode/rdfine/commit/90f1b7a2431e751e6d9b247f8f4562305c57926b))
## [0.4.11](https://github.com/tpluscode/rdfine/compare/@tpluscode/rdfine@0.4.10...@tpluscode/rdfine@0.4.11) (2020-04-28)

@@ -8,0 +19,0 @@

2

lib/decorators/property/resource.d.ts

@@ -0,1 +1,2 @@

import { NamedNode } from 'rdf-js';
import { SingleContextClownface } from 'clownface';

@@ -8,2 +9,3 @@ import { RdfResource, ResourceIdentifier } from '../../../RdfResource';

as?: Mixin[] | [Constructor, ...Mixin[]];
implicitTypes?: NamedNode[];
initial?: ObjectOrFactory<R, InitialValue | RdfResource, ResourceIdentifier>;

@@ -10,0 +12,0 @@ }

@@ -8,2 +8,5 @@ import { rdf } from '@tpluscode/rdf-ns-builders';

fromTerm(obj) {
if (options.implicitTypes) {
obj.addOut(rdf.type, options.implicitTypes);
}
return this._create(obj, options.as, { parent: this });

@@ -10,0 +13,0 @@ },

4

package.json
{
"name": "@tpluscode/rdfine",
"version": "0.4.11",
"version": "0.4.12",
"description": "RDF/JS idiomatic, native, effective",

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

},
"gitHead": "091d91fb72c8e4b1c54f50f4130e94f5f8c5f133"
"gitHead": "6ae062a8a60be8f880e447c59686394c718cc40b"
}
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