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

lanurite

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lanurite - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

example/testNodejs.js

4

example/test.js

@@ -6,3 +6,3 @@ /**

let model = new lanurite.Models({name: "Yura"});
let model = new Lanurite.models({name: "Yura"});
document.getElementById("test").innerHTML = model.get("name");

@@ -19,3 +19,3 @@

let collection = new lanurite.Collections();
let collection = new Lanurite.collections();

@@ -22,0 +22,0 @@ collection.on("add", function (model) {

@@ -25,3 +25,4 @@ {

"main": "dist/lanurite.js",
"version": "1.0.14",
"typings": "src/lanurite.d.ts",
"version": "1.0.15",
"license": "MIT",

@@ -28,0 +29,0 @@ "repository": {

@@ -12,1 +12,14 @@ # Lanurite

`<script src="../dist/lanurite.js"></script>`
**For use in TypeScript**
```
import Lanurite = require("../src/lanurite")
console.log(Lanurite.version)
```
**For use in NodeJS**
```
var t = require("../dist/lanurite.js");
console.log(t.version)

@@ -5,19 +5,6 @@ import {Models} from "./type/Models";

declare const __VERSION__: string;
class Lanurite {
static Models: any = Models;
static Collections: any = Collections;
static version: string = __VERSION__;
constructor() {
}
}
export = Lanurite
if (typeof window != "undefined") {
((root) => {
root["lanurite"] = Lanurite;
})(window);
}
export = {
models: Models,
collections: Collections,
version: __VERSION__
};
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"sourceMap": true

@@ -10,4 +11,5 @@ },

"exclude": [
"node_modules"
"node_modules",
"dist"
]
}

@@ -6,11 +6,21 @@ let webpack = require("webpack");

output: {
libraryTarget: "umd",
library: "Lanurite",
filename: './dist/lanurite.js'
},
target: "node",
devtool: 'source-map',
resolve: {
extensions: ['.webpack.js', '.web.js', '.ts', '.js']
extensions: ['.webpack.js', '.web.js', '.ts', ".js"],
modules: ["src", "node_modules"]
},
module: {
loaders: [
{test: /\.ts$/, loader: 'ts-loader'}
{
test: /\.ts$/,
loader: 'ts-loader',
options:{
transpileOnly: true
}
}
]

@@ -17,0 +27,0 @@ },

Sorry, the diff of this file is too big to display

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