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

opensource-test

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opensource-test - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

doc/use/README.md

@@ -20,2 +20,8 @@ # 使用文档

test.get('a')
```
## 清空
```js
test.clear()
```

9

package.json
{
"name": "opensource-test",
"version": "0.0.1",
"version": "0.0.2",
"description": "开源项目开发流程测试",

@@ -9,3 +9,3 @@ "main": "src/index.js",

"dev": "webpack --mode development",
"bulid": "webpack --mode production",
"build": "webpack --mode production",
"example": "live-server"

@@ -52,6 +52,7 @@ },

"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-env": "^1.7.0",
"webpack": "^4.26.0",
"webpack-cli": "^3.1.2"
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
},

@@ -58,0 +59,0 @@ "dependencies": {

@@ -10,4 +10,4 @@ # openSource-test

- [github](https://github.com/liuyib/openSource-test/releases)
- npm: `npm i xxx`
- [CDN](http://unpkg.com/xxx/release/bundle.js)
- npm: `npm i opensource-test`
- [CDN](http://unpkg.com/opensource-test/release/bundle.js)

@@ -14,0 +14,0 @@ ## 快速使用

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

!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.test={}}return r(e,[{key:"set",value:function(e,t){this.test[e]=t}},{key:"get",value:function(e){return this.test[e]}}]),e}();window.OpenSourceTest=o}]);
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.test={}}return r(e,[{key:"set",value:function(e,t){this.test[e]=t}},{key:"get",value:function(e){return this.test[e]}},{key:"example",value:function(){this.test={arr:[0,1,2,3,4,5,6]}}},{key:"clear",value:function(){this.test={}}}]),e}();window.OpenSourceTest=o}]);

@@ -13,4 +13,14 @@ class OpenSourceTest {

}
example() {
this.test = {
'arr': [0, 1, 2, 3, 4, 5, 6]
};
}
clear() {
this.test = {};
}
}
window.OpenSourceTest = OpenSourceTest;

Sorry, the diff of this file is not supported yet

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