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

quick-methods

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quick-methods - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

index.js
if(process.env.NODE_ENV === 'production'){
module.exports = require('./dist/quick-model.min.js')
module.exports = require('./dist/quick-methods.min.js')
} else {
module.exports = require('./dist/quick-model.js')
module.exports = require('./dist/quick-methods.js')
}
function copy(string) {
if(typeof string !== 'string'){
if (typeof string !== 'string') {
console.error('Please enter a string parameter')

@@ -10,3 +10,3 @@ return false

input = document.getElementById('quick-input-select')
if (input === null) {

@@ -18,2 +18,5 @@ input = document.createElement('input')

input.style.left = "-1000px";
input.style.position = "absolute";
document.body.appendChild(input)

@@ -23,3 +26,3 @@

input.select()
if(document.execCommand){
if (document.execCommand) {
return document.execCommand('copy')

@@ -26,0 +29,0 @@ } else {

{
"name": "quick-methods",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -25,2 +25,3 @@ "main": "index.js",

"babel-preset-env": "^1.7.0",
"clean-webpack-plugin": "^3.0.0",
"html-webpack-plugin": "^3.2.0",

@@ -27,0 +28,0 @@ "jest": "^24.9.0",

@@ -5,2 +5,3 @@

const TerserPlugin = require('terser-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');

@@ -21,2 +22,5 @@

},
plugins: [
new CleanWebpackPlugin(),
],
optimization: {

@@ -23,0 +27,0 @@ minimize: true,

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