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

jsyg-stdconstruct

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsyg-stdconstruct - npm Package Compare versions

Comparing version 0.1.5 to 1.0.0

0

JSYG.StdConstruct.js

@@ -0,0 +0,0 @@ (function(root,factory) {

10

package.json
{
"name": "jsyg-stdconstruct",
"version": "0.1.5",
"version": "1.0.0",
"description": "Standard constructor for writing JSYG plugins",

@@ -29,5 +29,9 @@ "main": "JSYG.StdConstruct.js",

"dependencies": {
"jquery": "^2.2.3",
"jsyg-events": ""
"jsyg-events": "^1.0.0"
},
"devDependencies": {
"jquery": "^3.3.1",
"qunit": "^2.6.0",
"requirejs": "^2.3.5"
}
}

@@ -0,0 +0,0 @@ # JSYG.StdConstruct

@@ -13,5 +13,7 @@ if (typeof require!= "undefined") {

QUnit.config.autostart = false;
(function(factory) {
if (typeof define == 'function' && define.amd) define(["jsyg-stdconstruct"],factory);
if (typeof define == 'function' && define.amd) require(["jsyg-stdconstruct"],factory);
else factory(StdConstruct);

@@ -21,7 +23,10 @@

QUnit.start()
const { module, test } = QUnit
module("StdConstruct");
test("Gestion des fonction standard", function() {
test("Gestion des fonction standard", assert => {
var obj = new StdConstruct();

@@ -31,9 +36,9 @@

expect(2);
assert.expect(2);
equal(obj.enabled, true, "activation du plugin");
assert.equal(obj.enabled, true, "activation du plugin");
equal(typeof obj.on, "function", "héritage de Events");
assert.equal(typeof obj.on, "function", "héritage de Events");
});
}));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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