Socket
Socket
Sign inDemoInstall

lin-npm-study

Package Overview
Dependencies
2
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.22 to 1.0.24

dist/area-data.d.ts

3

dist/index.d.ts

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

declare const sayHellow: Function;
export default sayHellow;
export { default as AreaData } from './area-data';
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var sayHellow = function () {
console.log('hello world');
};
exports.default = sayHellow;
exports.AreaData = void 0;
var area_data_1 = require("./area-data");
Object.defineProperty(exports, "AreaData", { enumerable: true, get: function () { return __importDefault(area_data_1).default; } });

@@ -1,5 +0,1 @@

const sayHellow:Function = function() {
console.log('hello world')
}
export default sayHellow;
export { default as AreaData } from './area-data'
{
"name": "lin-npm-study",
"version": "1.0.22",
"version": "1.0.24",
"description": "这是一个npm测试包",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {

@@ -15,3 +14,7 @@ "test": "echo \"Error: no test specified\" && exit 1"

"typescript": "^4.6.4"
},
"dependencies": {
"@types/store": "^2.0.2",
"store": "^2.0.12"
}
}

@@ -7,4 +7,5 @@ {

"outDir": "./dist",
"strict": true
"strict": true,
"esModuleInterop": true
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc