Comparing version 1.0.6 to 1.0.7
{ | ||
"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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
11918
9
138
1
3
8
+ Added@types/node-fetch@^2.6.11
+ Added@types/node@22.9.3(transitive)
+ Added@types/node-fetch@2.6.12(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedundici-types@6.19.8(transitive)