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

tiny1z

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny1z - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

index.ts

14

package.json
{
"name": "tiny1z",
"version": "1.0.6",
"version": "1.0.7",
"description": "The Tiny1z API Client is a convenient and lightweight npm package that allows developers to seamlessly integrate the Tiny1z URL Shortener API into their applications. Simplify URL shortening, retrieval, and management with just a few lines of code.",
"main": "index.js",
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "webpack --watch",
"build": "webpack",
"build": "webpack --config webpack.config.js",
"prepublishOnly": "npm run build"

@@ -22,2 +22,3 @@ },

"dependencies": {
"@types/node-fetch": "^2.6.11",
"react": "^18.2.0",

@@ -31,6 +32,7 @@ "react-dom": "^18.2.0"

"babel-loader": "^9.1.3",
"ts-loader": "^9.5.1",
"typescript": "^5.4.2",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
}
,
},
"repository": {

@@ -42,4 +44,2 @@ "type": "git",

"types": "typings/tiny1z.d.ts"
}

@@ -5,3 +5,4 @@ // webpack.config.js

module.exports = {
entry: './index.js',
mode: 'production', // or 'development'
entry: './index.ts',
output: {

@@ -13,9 +14,12 @@ path: path.resolve(__dirname, 'dist'),

},
resolve: {
extensions: ['.ts', '.tsx', '.js'],
},
module: {
rules: [
{
test: /\.js$/,
test: /\.ts$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
loader: 'ts-loader',
},

@@ -22,0 +26,0 @@ },

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