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

@im-js/iot

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@im-js/iot - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

32

classes/resource-path-matcher.d.ts

@@ -9,3 +9,5 @@ /**

* @example
* ```
* 단순 경로 검사:
*
* ```js
* const matcher = new ResourcePathMatcher('foo/*');

@@ -16,2 +18,13 @@ * console.log(matcher.test('foo/1')); // true

* ```
*
* 발생 장치 대상 `this` 검사:
* ```js
* const matcher = new ResourcePathMatcher('this/{foo, bar}');
* console.log(matcher.test('a', 'a/foo')); // true
* console.log(matcher.test('a', 'a/bar')); // true
* console.log(matcher.test('a', 'a/baz')); // false
* console.log(matcher.test('a', 'b/foo')); // false
* console.log(matcher.test('a', 'b/bar')); // false
* console.log(matcher.test('a', 'b/baz')); // false
* ```
* @author ksm@imrbiz.co.kr

@@ -25,10 +38,21 @@ */

*
* @param globExpression Glob 표현 문자열
* @param globExp Glob 표현 문자열
*/
constructor(globExpression: string);
constructor(globExp: string);
/**
* 정의된 경로와 실제 경로가 일치하는지 확인
* 발생 자원 경로 기준, 실제 경로가 일치하는 지 확인
* @description
* - this/a
* = this/b
* - this/*
* - ...
* @param thisId 발생 장치 식별 값
* @param path 실제 경로
*/
test(thisId: string, path: string): boolean;
/**
* 검사 경로와 실제 경로가 일치하는지 확인
* @param path 실제 경로
*/
test(path: string): boolean;
}

2

package.json
{
"name": "@im-js/iot",
"version": "1.3.1",
"version": "1.3.2",
"description": "Present by IMR",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

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