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

dt-web-utils

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

dt-web-utils - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/bundle.js

42

index.js

@@ -1,3 +0,39 @@

exports.printMsg = function() {
console.log("This is a message from the demo package");
}
!function (e) {
var t = {};
function n(r) {
if (t[r]) return t[r].exports;
var o = t[r] = {i: r, l: !1, exports: {}};
return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports
}
n.m = e, n.c = t, n.d = function (e, t, r) {
n.o(e, t) || Object.defineProperty(e, t, {enumerable: !0, get: r})
}, n.r = function (e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
}, n.t = function (e, t) {
if (1 & t && (e = n(e)), 8 & t) return e;
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
var r = Object.create(null);
if (n.r(r), Object.defineProperty(r, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e) for (var o in e) n.d(r, o, function (t) {
return e[t]
}.bind(null, o));
return r
}, n.n = function (e) {
var t = e && e.__esModule ? function () {
return e.default
} : function () {
return e
};
return n.d(t, "a", t), t
}, n.o = function (e, t) {
return Object.prototype.hasOwnProperty.call(e, t)
}, n.p = "", n(n.s = 0)
}([function (e, t) {
t.printMsg = function () {
console.log("123")
}
}]);
{
"name": "dt-web-utils",
"version": "1.0.0",
"version": "1.0.1",
"description": "some utils for web project",

@@ -8,3 +8,14 @@ "main": "index.js",

"author": "linzixiong <lzxil00@gmail.com>",
"license": "MIT"
"license": "MIT",
"dependencies": {
"dt-web-utils": "^1.0.0",
"lodash": "^4.17.11",
"webpack": "^4.33.0"
},
"scripts": {
"build": "webpack --config webpack.config.js --mode=production"
},
"devDependencies": {
"webpack-cli": "^3.3.4"
}
}

3

test/test.js

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

const func = require('dt-')
const utils = require('dt-web-utils');
utils.printMsg();
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