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

lincd

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lincd - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

14

lib/index.js

@@ -107,3 +107,9 @@ "use strict";

const LINCD = __importStar(require("./LINCD"));
_a = LINCD_1.linkedModule('lincd'), exports.linkedComponent = _a.linkedComponent, exports.linkedShape = _a.linkedShape;
if (typeof window !== 'undefined') {
window['lincd'] = { _modules: {} };
}
else if (typeof global !== 'undefined') {
global['lincd'] = { _modules: {} };
}
_a = (0, LINCD_1.linkedModule)('lincd'), exports.linkedComponent = _a.linkedComponent, exports.linkedShape = _a.linkedShape;
//we do not export all the classes directly, because we don't want people to import {NamedNode} from '@dacore/core' for example

@@ -161,8 +167,6 @@ //because these sort of imports do not work well with tree shaking

if (typeof window !== 'undefined') {
window['lincd'] = lincdExport;
window['lincd']._modules = {};
Object.assign(window['lincd'], lincdExport);
}
else if (typeof global !== 'undefined') {
global['lincd'] = lincdExport;
global['lincd']._modules = {};
Object.assign(global['lincd'], lincdExport);
}

@@ -112,3 +112,3 @@ "use strict";

//register the component and its shape
Component_1.registerComponent(constructor);
(0, Component_1.registerComponent)(constructor);
//return the original class without modifications

@@ -115,0 +115,0 @@ return constructor;

@@ -7,7 +7,7 @@ "use strict";

const literalProperty = (config) => {
return exports.linkedProperty(config);
return (0, exports.linkedProperty)(config);
};
exports.literalProperty = literalProperty;
const objectProperty = (config) => {
return exports.linkedProperty(config);
return (0, exports.linkedProperty)(config);
};

@@ -14,0 +14,0 @@ exports.objectProperty = objectProperty;

{
"name": "lincd",
"license": "MPL-2.0",
"version": "0.1.3",
"version": "0.1.4",
"description": "Linked Interoperable Code & Data - A javascript library for interoperability & collaboration based on W3C's Linked Data standards",

@@ -12,4 +12,4 @@ "main": "lib/index.js",

"dev": "npm exec lincd dev",
"prepare": "npm exec lincd build production",
"postpublish": "npm exec lincd publish"
"prepardde": "npm exec lincd build production",
"ddpostpublish": "npm exec lincd publish"
},

@@ -16,0 +16,0 @@ "keywords": [

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